开发者

get package uninstallation notification in android

folks,

开发者_如何转开发i have one security application in which i want the notification where package is

uninstalled by user perform some action on that event please give me some solution

Thanks


If you want to monitor application installations or uninstallations, you may want to register a BroadcastReceiver that listens for the actions Intent.ACTION_PACKAGE_REMOVED, Intent.ACTION_PACKAGE_ADDED and so on (see the full list in the Intent class documentation under "Standard Broadcast Actions"). You'll get supplied with the packagename of the app that was uninstalled in the intents data.

If you want to perform an action when your own app gets uninstalled: Thats not possible at the moment.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜