我是新来的机器人。我使用的是广播接收器,当一个应用程序被安装或删除监听。当一个应用程序被安装或删除我的广播接收器的的onReceive(背景下,意图)将被称为..现在我需要得到有关安装或删除应用程序(主要是包名)的信息。
I am new to android. I am using a Broadcast receiver which listens when a app is installed or removed.. When a app is installed or removed my Broadcast Receivers's onReceive(context,intent) will be called.. Now i need to get the info about the application installed or removed (Mainly the package name)..
plz帮助
所有你想要的信息是在意图花絮。
All the information you want is in the Intent extras.
看How找到已在使用Intent.ACTION_PACKAGE_REMOVED
下一篇:如何播放视频陆续同步?视频