Perform a task on uninstall in android [duplicate]

Sadly android at the moment does not give you a possibility to perform code at the moment your app is uninstalled.

All the settings that are set via the SharedPreferences are deleted together with everything in the Application Data an Cache folder.

The only thing that will persist is the data that is written to the SD-Card and any changes to phone settings that are made. I don’t know what happens to data that is synchronized to the contacts through your app.

Leave a Comment