permissions related to /dev/alarm and setting the system

by Dianne Hackborn » Sat, 11 Apr 2009 05:05:56 GMT

Sponsored Links
 Please read the documentation in the SDK on the security model.

You can look at the alarm device to see its permissions:

$ adb shell ls -l /dev/alarm
crw-rw-r-- system   radio     10,  45 2009-04-10 09:03 alarm

So anyone can read it, and only the system uid can write it.

On Fri, Apr 10, 2009 at 12:53 PM, Richard Schilling <

Dianne Hackborn
Android framework engineer

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.


Other Threads

1. What could cause a managed cursor not to update?

> I have an application that when started if you have none it shows a

Could you give us a stack trace and the code around where the cursor is
created and fails?

Mark Murphy (a Commons Guy)
The Busy Coder's Guide to Android Development -- coming in June 2008!


2. Project post-mortems

Hi everyone,

With the development competition now at an end, I decided to write a
post-mortem for our project, Duo.  You can read it here:

3. PowerManager goToSleep method time interval

4. Menus question

5. Static variables or variables, saved in Bundle?

6. About accessing text file in android

7. Yahoo Map's and the Map-span???