In my application , there is an activity in which data is saved in java databean. Data is being saved depending on user selection. Now I pause and then stop my application by minimizing it. Now in background I open 18-20 applications . In the process when I open other application, Android Clears out the instance of databean object . And then i open the application , it opens through same activity as mentioned and application crahes.
Asked
Active
Viewed 42 times
0
-
try using sharedpreferences to store persistent data – spongyboss Aug 29 '15 at 15:08
-
Its ton of Data and its also not serializale – simardeep oberoi Aug 29 '15 at 15:12
-
try sqlite database to handle lots of data. – Mohammad Tauqir Aug 29 '15 at 17:24
-
That's all very interesting. Perhaps you wanted to actually [ask a question](http://stackoverflow.com/help/how-to-ask) and maybe post some code or logcat for people to help you? – adelphus Aug 29 '15 at 17:33