My applicaiton is attempting to programatically set the  "Auto Lock
Handheld" to "After a preset delay" of 5 minutes. Here is the code fragment:

PrefSetPreference(prefAutoLockType, afterPresetDelay);
PrefSetPreference(prefAutoLockTime, 300);
PrefSetPreference(prefAutoLockTimeFlag, 0);

After executing this code, if you go to the Security application it appears
to be set properly. However if you power off and power on the device, you
are immediately prompted for a password.
If you reset the device, the settings work properly. It seems like I am
missing a step that tells the system that the autolock settings have been
changed. Does anyone know what this step is? If you use the Security
application and perform the same steps, a reset is not required.
Thank you in advance,
Bob




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

Reply via email to