At 09:56 PM 9/26/2000, Pablo Valle wrote:
>How long my preferences could be? just a few bytes or they can go up to 1K?
Preferences are actually records in a database. A 1K preference should be okay,
although it's always a good idea to conserve memory. I always try to come up with a
space efficient way to store the state of the app which needs to persist between runs,
so that the app feels the same as when you left it, without taking any more space than
necessary. This can be interesting for games. For more traditional apps, all that's
usually required is keeping track of which form is being shown, where various forms
are scrolled to, what the current selection is on these forms, etc.
--
Peter Epstein
Palm Inc. Developer
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/