At 09:30 PM 7/5/2005, you wrote:
Help!

Is there a way we can find out the "real time" from zire 21/21 hardware?

OR

How do you prevent a palm zire 21 /31 user from changing the clock?

There's no real way to do this. You get a notification when the time is changed (the sysAppLaunchCmdTimeChange launch code), but the notification doesn't tell you the delta between the old time and new time. You could just respond to this by locking out your program until it gets the right "reset code", but you need a way to not lock the program for things like the automatic daylight savings time change. Also, on devices like the Treo 650, the time can be set by the network, which means this notification is sent without user control.

-- Ben Combee, Senior Software Engineer, palmOne, Inc.
   "Combee on Palm OS" weblog: http://palmos.combee.net/
   Developer Forum Archives:   http://news.palmos.com/read/all_forums/


--
For information on using the PalmSource Developer Forums, or to unsubscribe, 
please see http://www.palmos.com/dev/support/forums/

Reply via email to