You can't register for MEDIA_* intents in the AndroidManifest.xml. You can only register for them in code, and you will only get the onReceive call if you are still running. (There shouldn't be a need to get sd card state if you are not running)
On Oct 3, 6:23 am, crajesh <crajesh2...@gmail.com> wrote: > Hi, > > I have create a receiver which receive on mount/unmount state change I > have register it in XML by "android.intent.action.MEDIA_MOUNTED" and > "android.intent.action.MEDIA_EJECT" > > But sometime it don't receive any broadcast message > > How to fix this issue?? > > Thanks > Rajesh -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en