Listen to own application uninstall event on Android
As far as I know, apps can't get intents for their own uninstallation: ACTION_PACKAGE_FULLY_REMOVED ACTION_PACKAGE_REMOVED But how does Dolphin Browser manage to receive a "removed" event and start a browser as in the attached image ? ADB: 10-20 12:37:00.997: D/BackupManagerService(527): Received broadcast Intent { act=android.intent.action.PACKAGE_REMOVED dat=package:mobi.mgeek.TunnyBrowser flg=0x8000010 (has extras) } 10-20 12:37:00.997: V/BackupManagerService(527): removePackageParticipantsLocked: uid=10112 #1 10-20 12:37:01.007: D/dalvikvm(527): GC_EXPLICIT freed 2247K, 12% free 20128K