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

Reply via email to