Firstly, I know that one should not really kill/restart an application on Android. In my use case, I want to factory-reset my application in a specific case where a server s
Jake Wharton recently published his ProcessPhoenix library, which does this in a reliable way. You basically only have to call:
ProcessPhoenix.triggerRebirth(context);
The library will automatically finish the calling activity, kill the application process and restart the default application activity afterwards.