> What is the maximum recommended size of preferences for an application?
For unsaved prefs, I don't think there's any problem with large records. You
should be able to go right up to just under 64K. There are occasions when
the unsaved preference database gets backed up, but I don't think they're
common.
However, for saved prefs, you should stick to small records because the
entire database gets backed up on most, if not every, HotSync. If you have a
lot of data that needs to be backed up, put it in a database and set the
backup bit. Then it'll get backed up whenever it gets changed, but it won't
slow down HotSync when it hasn't changed.
So how big a saved pref is acceptable? It's not a hard limit, but I'd try to
stay under 1K. I'd definitely use a separate database if I needed more than
4K. It's really a smaller-is-better situation.
The preference databases are really intended for little things that are too
small to bother with separate databases for.
--
Danny @ Palm (speaking based on my own experience - not official policy)
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/