User apps cannot set the time. Only the system processes can. This is for security, but also because it won't have much effect--the time is reset from the radio via network time.
2008/8/22 samlu <[EMAIL PROTECTED]> > > I am using v0.9 beta SDK, got the following warning when I call > SystemClock.setCurrentTimeMillis() > > WARN/SystemClock(516): Unable to open alarm driver: Permission denied > > Does anyone know which permission should be specified? > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] Announcing the new Android 0.9 SDK beta! http://android-developers.blogspot.com/2008/08/announcing-beta-release-of-android-sdk.html For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---