Defining permission

by _lou_ » Fri, 26 Feb 2010 18:45:06 GMT


Sponsored Links
 Hello,

- not possible to associate a permission with several certificates
- not possible to create a permission unless you have some code
bundled with it in an APK file
- not possible to define a set new permissions associated with a
certificate each unless you create one APK file for each permission/
certificate

Am I wrong about any of these statements ?

E.



Defining permission

by Dianne Hackborn » Fri, 26 Feb 2010 19:09:48 GMT


 



Correct.



You need an .apk, but it doesn't need code.



Yes permissions as owned by .apks (and their associated cert), so they must
go along with one.

-- 
Dianne Hackborn
Android framework engineer
hack...@android.com

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.


Sponsored Links


Other Threads

1. Setting alarm time

Hi,

I need to set an alarm clock for, say, 9AM

so I am getting a calendar instance

Calendar cal = new GregorianCalendar(TimeZone.getTimeZone("UTC"));
cal.set(2010, 11, 29, 9, 0, 0);

and then I call AlarmManager.set like:

mAlarmManager.set(AlarmManager.RTC_WAKEUP, cal.getTime().getTime(),
pi);

where pi is a pending intent for a broadcast message.
I do not receive a callback at the specified time.

How do I correct this?

Cheers,
Earlence

-- 

2. Which source files go into system_process

Hi,
       Which source files go into the system_process runtime process
that gets displayed in the DDMS devices window? Is it just frameworks/
base or are there some additional components that go into it?

I want to create an eclipse project to debug the system_process
runtime process, to set break points and step through the source code.

Elvis Dowson

-- 

3. Using street view in my application

4. Initial position of scrollbar in ListView

5. Issues debugging multi-threaded Android app?

6. Implement a rich text editor

7. how to make the flash application on android non exitable