onDestroy doesn't get called when the process is killed.

As for why the app is acting strange - how about debugging it?

Use Debug.waitForDebugger somewhere in your code to find out what your code does after the restart as a new process.

-- Kostya

14.07.2011 18:25, Raghav Sood пишет:
Save all your data in onDestroy() and read it in onCreate. That way your data will be saved when the app is destroyed and you can recover it in onCreate().

--
Kostya Vasilyev

--
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

Reply via email to