O'Reilly logo

Palm OS Programming, 2nd Edition by Neil Rhodes, Julie McKeehan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required