I would like to be able to turn the automatic date time settings on and off from tasker. I don't see a way to do this directly but I can use tasker to issue a shell command. I know I can just use the date command to change the date to some specific date but is there a way to turn the automatic setting off and on from a command line or tasker?
Have played with tasker before, but can tasker directly modify system properties? as in directly do this, I am quoting line 228 the pertinent part:
Settings.Global.putInt( getContentResolver(), Settings.Global.AUTO_TIME_ZONE, autoZoneEnabled ? 1 : 0);
In short the actual direct name to the package would be
com.android.settings/.DateTimeSettings, if that's of any help!
adb shell's Android Activity Manager,
am, one can start the activity to go directly into that screen as in
am start -n com.android.settings/.DateTimeSettings, experiment and see if that fits your needs as I have not actually played with it. :)