Get application uninstall event in android

北城以北 提交于 2019-12-17 09:56:02

问题


Hi i have one application which play with content provider(contacts etc) now when i uninstall my application i want to arranger the original data of content provider.

Is there any way, if my application is going uninstall at that time i get event and do my work.

Thanks


回答1:


Your application will not be informed when it is being uninstalled. However, Android will get rid of all data in your application local data store (e.g., getFilesDir()).



来源:https://stackoverflow.com/questions/2874412/get-application-uninstall-event-in-android

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!