Media_mounted Broadcast Not Being Received
I'm baffled. I'm trying to configure my app to respond to the SD card becoming available / going offline, but my broadcast receiver never gets called! I can see the event being bro
Solution 1:
You can't be serious. Apparently I needed to add an additional filter for the data type.
Leaving the answer up for "the next guy"...
<receiverandroid:name=".Test"android:enabled="true"><intent-filter><actionandroid:name="android.intent.action.MEDIA_MOUNTED" /><dataandroid:scheme="file"/></intent-filter></receiver>
Post a Comment for "Media_mounted Broadcast Not Being Received"