Android Question How to change Android device system clock

Alex Chan Chee Wah

Member
Licensed User
Longtime User
Hi Guys,

This may sound stupid, but I really can't find a way to change the system clock in this entire forum. I am using the DateUtils library download from this forum. I used the method "DateUtils.SetDateAndTime2" and it returns the long variable in Ticks. What should i do with the ticks?

I need the code to change the system clock in order to synchronise with my external device.

Please help.

Regards,
Alex
 

Alex Chan Chee Wah

Member
Licensed User
Longtime User
You mean there is no way we developer can do so? Then how does those clock apps able to do it?
There must be some way to use shell script to do it, right?
 
Upvote 0
Top