Is the phone stock or does it have a third party ROM (you or someone else put on it)? Which version of Android does it have?
Are all of the broadcasts stopping or are you just getting some but not others? If your manifest entry looks like the one I posted, could you post a clip of your receiver code? Steven Studio LFP http://www.studio-lfp.com On Tuesday, October 4, 2011 9:29:32 AM UTC-5, crajesh wrote: > > Hi Steven, > > Thanks for your reply, > > I included the data scheme tag in AndroidManifest.xml > > sometime it don't receive any broadcast message, after rebooting the i > can receive broadcast message > > thanks > Rajesh > > On Oct 4, 10:54 am, Studio LFP <[email protected]> wrote: > > > 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) > > > > I'm pretty sure this is incorrect. You can receive media broadcasts via > > intents in the AndroidManifest.xml. > > > > Rajesh, > > > > Are you making sure to include the data scheme tag? > > > > <receiver android:name=".MediaReceiver"> > > <intent-filter> > > <action android:name="android.intent.action.MEDIA_EJECT"/> > > <action android:name="android.intent.action.MEDIA_MOUNTED" /> > > *<data android:scheme="file" />* > > </intent-filter> > > </receiver> > > > > Steven > > Studio LFPhttp://www.studio-lfp.com -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

