Can I change the time and date of the mobile device using a DatePickerDialog and a TimePickerDialog? [closed]

1

I have implemented a DatePickerDialog and a TimePickerDialog to select the date and time that you want but I would like to know if that date I place can be changed in the mobile device.

    
asked by Jorge Luis Pilo Torres 26.10.2016 в 23:17
source

1 answer

1

As far as I understand it is not possible to alter the date of the normal android device (only root) However, it is possible to ask the user to change it manually using Intent

startActivity(new Intent(android.provider.Settings.ACTION_DATE_SETTINGS));

In the case of root devices, you can take the post from @jek as a reference.

    
answered by 26.10.2016 в 23:36