Hi all,
I have developed a music player and the application defines a bradcast
receiver that handles MediaButton intents:
...
<application...>
<receiver android:name="MediaButtonIntentReceiver">
<intent-filter
android:priority="32000">
<action
android:name="android.intent.action.MEDIA_BUTTON"/>
</intent-filter>
</receiver>
</application>
which works well.
My question is if it was possible to change the priority of this
receiver from within the settings activity of my application. That way
people could choose if they wanted my player as default handler of the
headset buttons or not.
Cheers,
Filipe
http://abrantix.org/rockon.php
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---