android - 我们可以通过 intent 在 android 中传输多少数据?

标签 android android-intent

在android中我们可以通过intent传输多少数据。
在这里我发送 sting 作为一个值。但是我可以通过 intent 发送多少数据。 它是否根据 Android 操作系统版本而变化?

Intent myintent=new Intent(Info.this, GraphDiag.class).putExtra("101", "string");
startActivity(myintent);

最佳答案

您可以通过 Intent 传输的数据量约为 1MB

这是一个对你有用的链接

Issue: Passing large data to second Activity

关于android - 我们可以通过 intent 在 android 中传输多少数据?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32494879/

相关文章:

android - 在 android 中使用选项卡 fragment 处理 Json 数据

android - 如何从我当前的应用程序在 android 中打开 PrinterShare 应用程序

android - 警告从 TabActivity 中的 ActivityGroup 打开新 Activity

Android 在 ListView 中从 URL 加载图像

android - 我如何知道点击通知后是否打开了 Activity ?

Android - startActivityForResult 获取用户位置?

Android:如何在滚动结束时隐藏按钮

android - IllegalStateException when .replace fragment on restart

php - Android 将 Base64 字符串发布到 PHP

android - 更改图像按下状态下的不透明度