Permalink
Browse files

intents: add a sample listener for sdcard insert events

  • Loading branch information...
1 parent b23faf5 commit 45d742f0bb7f36c5c485f4d18137dc5700479736 Cory Fields committed Feb 22, 2013
Showing with 6 additions and 0 deletions.
  1. +6 −0 tools/android/packaging/xbmc/AndroidManifest.xml
@@ -45,6 +45,12 @@
android:name="android.app.lib_name"
android:value="xbmc" />
</activity>
+ <receiver android:name="XBMCBroadcastReceiver" >
+ <intent-filter>
+ <action android:name="android.intent.action.MEDIA_MOUNTED" />
+ <data android:scheme="file"/>
+ </intent-filter>
+ </receiver>
</application>
</manifest><!-- END_INCLUDE(manifest) -->

0 comments on commit 45d742f

Please sign in to comment.