Android Question How do I monitor when an app is being uninstalled

watesoft

Active Member
Licensed User
Longtime User
How do I monitor when an app is being uninstalled? I want a feedback, like uninstalling Windows application.
 

watesoft

Active Member
Licensed User
Longtime User
You will need to have a foreground service and add an intent filter that listens to the following action: android.intent.action.PACKAGE_REMOVED
Ok,thank you.I checked some information, it’s better to use FileObserver, so as to avoid occupying too much resources
 
Upvote 0
Top