I\'m just playing around with some code. I create an Activity and simply do something like this:
long lo = currentTimeMillis();
System.out.println(lo);
lo *
There is a SET_TIME_ZONE permission but there's no SET_TIME permission. Applications cannot programmatically change the system clock.
Update
SET_TIME is available since 2.2, but can only be granted to the system process or apps signed with the system signature.
insetad of System.out.println() use Log.v() or similar.
I think I found your error, please try it out: Remove
</uses-permission>
on both lines, that should work
using AlarmManager with SET_TIME permission to set system time seems to work :)