Hi I working on a project on Android 2.2 SDK. I am trying to change system time with this following code
SystemClock.setCurrentTimeMillis(l); <-- l is a long value I have added following permissions in my manifest.xml file <uses-permission android:name="android.permission.SET_TIME"></uses- permission> <uses-permission android:name="android.permission.READ_SYNC_SETTINGS"></uses- permission> <uses-permission android:name="android.permission.READ_SYNC_STATS"></ uses-permission> <uses-permission android:name="android.permission.WRITE_SYNC_SETTINGS"></uses- permission> <uses-permission android:name="android.permission.SET_TIME_ZONE"></ uses-permission> but it is not working. When i check my logcat i found the following message W/PackageManager( 68): Not granting permission android.permission.SET_TIME to package com.dlp (protectionLevel=3 flags=0x8444) Anybody has any suggestion? /minhaz -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

