记录这个问题。已经解决。
This log means that your app is having trouble handling a communication intent. Sometimes problems like this can occur when you send intent with very big extras.
Passing High resolution photos or big file via extras is not recommended, the best practice is to save the file on the external storage (if you haven't done it yet), get a Uri reference
to it and send this ref as String in your intent's extra
yourIntent.putExtra("MyUriKey",
yourUri.toString)
If you are dealing with an image and quality is not of your concern, you can use a workaround and simply reduce the file's dimension by compressing it.
本文解决了应用在处理通信意图时遇到的问题,特别是当通过意图传递大文件时可能导致的失败。推荐做法是将大文件保存到外部存储并发送其 Uri 引用。
556

被折叠的 条评论
为什么被折叠?



