Tuesday, November 9, 2010

[android-developers] MEDIA_BUTTON BroadcastReceiver in stand-by mode

Hello everyone,

I have a problem with this BroadcastReceiver. It works only if the
phone is not in stand-by mode. And I cannot understand the reason.

<receiver
android:name="it.mandave.headset.receiver.MediaButtonIntentReceiver"
android:enabled="true">
<intent-filter>
<action
android:name="android.intent.action.MEDIA_BUTTON"
/>
</intent-filter>
</receiver>

How can I let it work also in stand-by mode (so when the display is
turned off)?

Thanks a lot in advance

--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate