Created
May 13, 2014 08:31
-
-
Save vizhen/9771906873508624cbba to your computer and use it in GitHub Desktop.
APK广播监听设备挂载事件注意需要加上scheme
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<receiver | |
android:name="com.talentstech.mediaboardusbupdate.DiskMountReceiver"> | |
<intent-filter > | |
<action android:name="android.intent.action.MEDIA_MOUNTED"/> | |
<action android:name="android.intent.action.MEDIA_BAD_REMOVAL"/> | |
<action android:name="android.intent.action.MEDIA_EJECT"/> | |
<action android:name="android.intent.action.MEDIA_REMOVED"/> | |
<data android:scheme="file"/> | |
</intent-filter> | |
</receiver> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment