Restarting Android application after process is killed

Viewed 11175

When my application is idle, Android kills the process. If user reopens the application after some time, only the top Activity is created - this is a problem for me because the activity depends on initialization of other objects (which are now destroyed).

What I want to do in that case is to re-launch the application. How can I do that?

3 Answers
Related