I implemented saving / loading application state in onSave / RestoreInstanceState and onCreate in one of my Android apps. Is there a way to get the emulator to delete my application from memory in order to call onRestoreInstanceState?
At present, it looks like my application just stays in memory (for a while longer than I'm ready to wait). When I press the home button when my activity is active, I get the following method calls:
- onSaveInstanceState
- Onstop
When I reactivate my application, all I get is
Is there any emulator way to make my application mothbaldle to call onRestoreInstanceState and / or onCreate again?
source share