My problem is that onStart
, onResume
, onRestoreInstanceState
etc are not called by the system after using the home key and restart. The situation is as follows,
- Activity is a splash screen during the first 3 seconds ,
- Which then starts another activity with the Main screen (with View and buttons),
- One of these buttons starts an activity with a gridview (game levels),
- From where I start an activity with the actual game level.
All this works fine, then in the 4th activity I press Home, do some stuff, then long-press Home again, select my app's icon to restart.
The system takes me back directly to the 3rd activity (not the 4th). But what is even worse is this 3rd activity gets no callback whatsoever from the system that it restarted!
How can this be?