Re: [mono-android] Set Device date and Time

2012-06-15 Thread Tomasz Cielecki
Or invoke adb shell date -s MMDD.HHmmss that could work as well. Either way I think you would need root. A better way would be to launch the settings activity with the date settings: StartActivity(new Intent(Android.Provider.Settings.ActionDateSettings)); On Fri, Jun 15, 2012 at 12:47 AM, Jo

Re: [mono-android] Set Device date and Time

2012-06-14 Thread Jonathan Pryor
On Jun 14, 2012, at 11:45 AM, Nosh wrote: > Any ideas on how to set the device date and time via code You probably don't. You could probably P/Invoke settimeofday(2), but that requires that you be root, so unless you happen to be running as the root user it won't do any good. http://lin

[mono-android] Set Device date and Time

2012-06-14 Thread Nosh
Hi Any ideas on how to set the device date and time via code Thanks -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/Set-Device-date-and-Time-tp5710345.html Sent from the Mono for Android mailing list archive at Nabble.com. _