Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I call the date time settings screen from my android application?

I'm developing an application for mobiles and tables using Android 2.3.

In my application, I want the user able to modify device's date, time values. I know that it is not possible via android applications.

I planned to access the date/time settings screen from my application. From that screen user can change the settings.

Please give your ideas how to access or go to the date time settings screen from android application.

All are welcome to give your ideas.

like image 711
SIVAKUMAR.J Avatar asked Sep 11 '12 11:09

SIVAKUMAR.J


1 Answers

Try using this code. It opens the date and time setting screen .

startActivityForResult(new Intent(android.provider.Settings.ACTION_DATE_SETTINGS), 0);
like image 120
Chirag Avatar answered Oct 06 '22 01:10

Chirag