[android-developers] Re: Question on differing permission definitions

2009-01-23 Thread Dianne Hackborn
Yes, the first app gets the permission. Basically don't do this. That is why permission names, like so many of these things, specify to use fully-scoped names, so you can ensure that no other app conflicts with you. On Fri, Jan 23, 2009 at 6:21 AM, Peli wrote: > > What happens if 2 application

[android-developers] Re: Question on differing permission definitions

2009-01-23 Thread Peli
But if I create a public permission in my namespace, and a third party application wants to use this permission, they would have to use my namespace for the permission. Now the user first installs the third party application. Then they'd better include the definition of my permission with their a

[android-developers] Re: Question on differing permission definitions

2009-01-23 Thread Dianne Hackborn
Yeah your app must first be installed for them to ever be granted that permission. Otherwise, at the time other app is installed, the system doesn't know anything about that permission, so it can't tell the user about it in any way so it just can not grant it. If your app is installed after that,