As of JB 4.1 Google has introduced some sort of permission check on this 
broadcastreceiver. Does anyone know what permission is needed, either in  

sendOrderedBroadcast or in the manifest?


Here is the error

java.lang.SecurityException: Permission Denial: not allowed to send broadcast 
android.intent.action.HEADSET_PLUG

-- 
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

Reply via email to