`
叶里的猫
  • 浏览: 21100 次
  • 性别: Icon_minigender_1
  • 来自: 深圳
社区版块
存档分类
最新评论

android.intent.action.EXTERNAL_APPLICATIONS_AVAILABLE

阅读更多
String android.content.Intent.ACTION_EXTERNAL_APPLICATIONS_AVAILABLE = "android.intent.action.EXTERNAL_APPLICATIONS_AVAILABLE"

Broadcast Action: Resources for a set of packages (which were previously unavailable) are currently available since the media on which they exist is available. The extra data EXTRA_CHANGED_PACKAGE_LIST contains a list of packages whose availability changed. The extra data EXTRA_CHANGED_UID_LIST contains a list of uids of packages whose availability changed. Note that the packages in this list do not receive this broadcast. The specified set of packages are now available on the system.

Includes the following extras:

    * EXTRA_CHANGED_PACKAGE_LIST is the set of packages whose resources(were previously unavailable) are currently available. EXTRA_CHANGED_UID_LIST is the set of uids of the packages whose resources(were previously unavailable) are currently available.

This is a protected intent that can only be sent by the system

------------------

这个action从2.2版开始支持

当SD卡从不可用到可用且SD卡中之前安装有应用,则系统发出这个广播,
注意从SD卡中新加入的应用不会接收到这个广播。
这个广播的intent中包括如下数据:
1.从SD卡中新加入的应用包名
2.从SD卡中新加入的应用ID

这种广播只能由系统发出。
分享到:
评论

相关推荐

    Android 广播大全 Intent Action 事件.

    13. Intent.ACTION_EXTERNAL_APPLICATIONS_AVAILABLE:当移动 APP 完成之后,系统会发出此广播,通知相关应用程序进行相应的处理。 知识点:移动 APP 是 Android 系统中的一种特殊应用程序,应用程序可以根据这个...

    android系统广播

    13. Intent.ACTION_EXTERNAL_APPLICATIONS_AVAILABLE:移动 APP 完成之后的广播 14. Intent.ACTION_EXTERNAL_APPLICATIONS_UNAVAILABLE:移动 APP 时的广播 15. Intent.ACTION_GTALK_SERVICE_CONNECTED:Gtalk 已...

    Android 常用系统广播

    13. Intent.ACTION_EXTERNAL_APPLICATIONS_AVAILABLE 和 Intent.ACTION_EXTERNAL_APPLICATIONS_UNAVAILABLE:当应用程序从内部存储移动到外部存储(App2SD)时,会广播这两个动作。 14. Intent.ACTION_GTALK_...

    android系统主要广播

    13. **Intent.ACTION_EXTERNAL_APPLICATIONS_AVAILABLE** / **Intent.ACTION_EXTERNAL_APPLICATIONS_UNAVAILABLE**:当应用被移动到SD卡(APP2SD)并变得可用或不可用时,系统会发送这两个广播。 14. **Intent....

    Android 广播大全 Intent Action 事件详解

    13. Intent.ACTION_EXTERNAL_APPLICATIONS_AVAILABLE 广播:当移动应用到扩展存储(如SD卡)完成之后,系统会发送此广播。 14. Intent.ACTION_EXTERNAL_APPLICATIONS_UNAVAILABLE 广播:当正在移动应用到扩展存储...

    android_常用广播

    - **外部应用可用广播** - `Intent.ACTION_EXTERNAL_APPLICATIONS_AVAILABLE`:当新应用安装到外部存储上时触发。 - **外部应用不可用广播** - `Intent.ACTION_EXTERNAL_APPLICATIONS_UNAVAILABLE`:当外部存储上的...

    Android 系统常用广播

    #### 十四、`Intent.ACTION_EXTERNAL_APPLICATIONS_AVAILABLE` - 移动应用完成 当应用被成功移动到外部存储(如SD卡)后,系统会发送此广播。开发者可以通过监听这一广播来确认应用是否已被成功移动。 #### 十五、...

    a project model for the FreeBSD Project.7z

    As of this writing, there are more than 12600 ports available. [2] , ranging from web servers to games, programming languages and most of the application types that are in use on modern computers. ...

    微软内部资料-SQL性能优化3

    Intent locks improve performance because SQL Server examines intent locks only at the table level to determine whether a transaction can safely acquire a lock on that table. This removes the ...

Global site tag (gtag.js) - Google Analytics