I’m trying to guess why, if I open my application, lock the device and some hours later resume the activity it crashes. I suppose thats why, after some time, Android destroy my app and then tries to resume and im not saving correctly the state of my activities.
How can I force Android to destroy my app as it does usually without having to wait hours?
Thanks in advance
You can use Development tools:
http://developer.android.com/guide/developing/debugging/debugging-devtools.html
Note the feature “Immediately destroy activities”. You should be able to use it in android emulators.