Where to Store Data

There is an important demarcation to remember when deciding where to store data on the desktop. Data specific to a particular user should be stored in a private location, whereas data shared among many users should be stored in a group location. For example, in our Sales application each salesperson has her own list of customers but should get the product list from a general location. The first set of data is specific to a particular user; the second type is general. They should be stored in separate locations.

Specific data

Store this data in your conduit folder in the user’s folder in the HotSync folder.

General data

Store this data in your application’s Desktop folder.

Also keep in mind that data doesn’t necessarily need to be stored locally. While it may be stored on a particular desktop, it is just as likely to be stored on a server or a web site.

Get Palm OS Programming, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.