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 wrote: > I used > >   >          android:permission="android.permission.STATUS_BAR"> > > When I compile,the error occurred.. > >

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 wrote: > I used > > > a

[android-developers] SecurityException: Permission Denial

2011-04-29 Thread Jason tw
I used When I compile,the error occurred.. [2011-04-29 20:37:30 - ] ActivityManager: java.lang.SecurityException: Permission Denial: starting Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x1000 cmp=com./. } from null (pid=-1, uid=-1) requ