Putting up dialogs when the user has entered invalid data is tricky on the
Palm. Remember that the user doesn't have to exit your application in order
to turn the device off. So, the user may just leave your app running, with
invalid data entered in a field (possibly entered via the keyboard dialog).
Then, the next time the user goes to use the device, he hits a hard button
to launch another app. The user doesn't even remember what they were last
doing with the device. Hitting them with a dialog is going to be confusing
at this point. You might think you could present the dialog when the user
closes the keyboard dialog, but again, the user could leave the keyboard
dialog open when they shut off the device. The next day, when they go to use
the device, again it should automatically shut down the dialog and then the
application in order to honor the hard button being pressed. I'd look for a
creative way to allow invalid data to be stored, and reported later when the
user takes an explicit action.
--
Peter Epstein

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

Reply via email to