Hi there!
I ran into a problem.
The situation is as follows:
1. The application consists of several activities
2. The first activity holds some global variables, which are accessed from
within the other activities using Main.variableName
3. User selects an entry in the main activity, which pauses it and starts
a second activity to edit the selected entry
4. The second activity is still running, user doesn't do anything for a
while, the device turns off the screen and after a while the device goes
into sleep
5. After several minutes the user decides to reactivate his device, the second
activity resumes, tries to access the global variable which is inside the main
activity and the application crashes because obviously Android decided to kill
the main process meanwhile
Any ideas to overcome this issue?
Thanks!
cheers,
obscure