有没有在Android的捆绑一些限制?Android

2023-09-12 07:59:20 作者:满天都是派大星べ

我想知道的Andr​​oid包的数据大小是否有上限。我试图通过捆绑发布数据,大小> 80K,并抛出Android的致命exception.The数据序列化。

I want to know whether android bundle's data size has upper limit. I try to post data by bundle which size >80k,and throw android fatal exception.The data is Serializable.

推荐答案

我觉得限制为500KB。 您可以保存传递的对象在一个文件中发送文件的路径在包代替。 您可以检查SO

I think the limit is 500kb. You can save the passed object in a file and send the path of the file in the bundle instead. You can check similar question asked by me at SO

 
精彩推荐
图片推荐