[android-developers] SecurityException: Permission Denial

2011-04-29 Thread Jason tw
I used uses-permission android:name=android.permission.STATUS_BAR / activity android:name=. android:permission=android.permission.STATUS_BAR When I compile,the error occurred.. [2011-04-29 20:37:30 - ] ActivityManager: java.lang.SecurityException: Permission Denial: starting

Re: [android-developers] SecurityException: Permission Denial

2011-04-29 Thread Dianne Hackborn
You are trying to use a permission that applications aren't allowed to. You are then saying that launching your activity requires that the caller hold this permission, which no app (including the launcher) is going to. On Fri, Apr 29, 2011 at 9:04 AM, Jason tw jason860...@gmail.com wrote: I

Re: [android-developers] SecurityException: Permission Denial

2011-04-29 Thread Mark Murphy
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 jason860...@gmail.com wrote: I used  uses-permission android:name=android.permission.STATUS_BAR /  activity