Page 1 of 1

Set Clock

Posted: 17 Feb 2016 07:33
by LarsK
Hello,

it is possible to set the clock with automagic?
In my case the android tablet has no connection to the internet, so the clock goes sometime wrong. My idea is to trigger automagic from a server with timeinformation and automagic set the time on tablet. Everythink i found are examples with alarmtime and not the default clock.

Greets

Lars

Re: Set Clock

Posted: 17 Feb 2016 20:25
by Martin
Hi,

I think this requires a rooted device. You could execute a command like date 021721132016.00 using action Execute Root Command. Please check the exact syntax of the command by executing date --help since the command seems to have changed between different versions of Android.

Regards,
Martin

Re: Set Clock

Posted: 17 Feb 2016 22:05
by LarsK
Hi Martin,

thanks for your reply, I would test it. A "normal" user can set the clock, so I thought it gives in automagic a function that i don't see :-)
A rooted device is also not the problem in my case.

Lars