SDK applications cannot hold that permission, AFAIK, and I don't know
why you have an activity that requires that permission.

On Fri, Apr 29, 2011 at 9:04 AM, Jason tw <[email protected]> wrote:
> I used
>
>  <uses-permission android:name="android.permission.STATUS_BAR" />
>  <activity android:name=".xxxx"
>        android:permission="android.permission.STATUS_BAR">
>
> When I compile,the error occurred..
>
> [2011-04-29 20:37:30 - xxxx] ActivityManager:
> java.lang.SecurityException: Permission Denial: starting Intent
> { act=android.intent.action.MAIN
> cat=[android.intent.category.LAUNCHER] flg=0x10000000
> cmp=com.xxxx/.xxxx } from null (pid=-1, uid=-1) requires
> android.permission.STATUS_BAR
>
> Why!?
>
> --
> 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
>



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

Android Training...At Your Office: http://commonsware.com/training

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