Is it possible to intercept app uninstall?
问题 Is it possible to intercept app uninstall and make some job? E.g. my app modifies some files of device, so it would be neat before uninstalling just rollback changes made by my app. Any hints, ideas? 回答1: Are you talking about the similar issue Listen Broadcast Before application uninstall Then as said you have to use the intent-filter for delete as given in the above link. <activity android:name=".UninstallIntentActivity" android:label="@string/app_name" > <intent-filter> <action android