I don't think using Shared Preferences for a loooooot of data is recommended. Try saving a file with your relevant information somewhere.
On Jun 21, 12:52 pm, Kofa <[email protected]> wrote: > I've done an game and it works right, the task it's compossed by a > main activity (main menu) where you can load, start a new game, > options, etc... > when you are playing let's say you're in the activity B, you save the > game and quit, so I save every data with sharedPreferences (a looooot > of data) and finish() the activity, then it goes back to the activity > A (the main menu)... then if you try to open a new activity (open > another activity to select mode, team, etc) it gives you a FC, the > strange thing is..... even if you push on a button that should pop up > a common alert dialog gives you a FC too!!!. > If I don't use sharedPreferences, I mean, if I don't save anything of > this data then everything works fine, I can go from one activity to > another without problem all times i want. > In LOGCAT gives an error OutOfMemoryError: bitmap size exceeds VM > budget.... but even when this happens with the alertDialog.... so the > problem it's not about memory I think. > someone can show me the path??? =P > > thanks! -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

