Making the user change the time in Android
Posted
by Casebash
on Stack Overflow
See other posts from Stack Overflow
or by Casebash
Published on 2010-05-10T00:40:06Z
Indexed on
2010/05/10
0:48 UTC
Read the original article
Hit count: 290
Android doesn't appear to provide a way for a user application to change the system time. What I would like to do instead is to get the user to change the time. It is easy to open up the Date & Time settings:
startActivity(new Intent(android.provider.Settings.ACTION_DATE_SETTINGS));
What I would like to know is:
- Is it possible to link directly to the set time option?
- Is it possible to check that the user set the time correctly? I am aware of the
TIME_CHANGED
broadcast message, but I can't find any documentaion on it
© Stack Overflow or respective owner