Skip to content Skip to sidebar Skip to footer

When I Send Hashmap With Size More Than 20 In Android 4.1, I Get Crash

When I send HashMap with size more than 20 in android 4.1, I get crash with this log: 10-02 13:13:05.068: ERROR/AndroidRuntime(938): FATAL EXCEPTION: main java.lang.Securit

Solution 1:

You should save Bitmaps into files and pass their references to another activity. Extra's bundle size has limitations : https://groups.google.com/forum/?fromgroups=#!topic/android-developers/kwmTGz8GAoQ

Answer on this question also should help

Solution 2:

You're probably exceeding the amount of data you can send in an Intent

Post a Comment for "When I Send Hashmap With Size More Than 20 In Android 4.1, I Get Crash"