On Thu, Aug 2, 2012 at 9:00 AM, Incorporate Apps
<[email protected]> wrote:
> 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

Can you show more of the stack trace?

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

Android Training in DC: http://marakana.com/training/android/

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