How to start an Activity ,Service or broadcast receiver before an application uninstalled by the user who has earlier installed the app on his/her device?
If possible please help me? and thanks in advance
How to start an Activity ,Service or broadcast receiver before an application uninstalled by the user who has earlier installed the app on his/her device?
If possible please help me? and thanks in advance
You can't detect for your app whether it has installed or uninstalled but for other apps you can get this detail using this BroadcastReceiver
.
<receiver android:name=".UninstallApkReceiver">
<intent-filter>
<action android:name="android.intent.action.PACKAGE_REMOVED"/>
</intent-filter>
</receiver>
YES using Accessibility Service you can detect Uninstall event and then read rhe screen to find app name. Voodo app uses this concept.