How to find the package name which has been uninstalled when using Intent.ACTION_PACKAGE_REMOVED

后端 未结 1 801
滥情空心
滥情空心 2020-12-09 12:24

I have an application which is keeping a log of internally developed applications installed on the device. Upon installation a broadcast receiver for Intent.PACKAGE_ADDED is

相关标签:
1条回答
  • 2020-12-09 12:45

    The package names are in the Intent you got from BroadcasReceiver, use the "getData()" function, there is the ComponentMame of the installed/uninstalled package.

    0 讨论(0)
提交回复
热议问题