UltraLite Static C++ User's Guide
Developing UltraLite Applications for the Palm Computing Platform
This discussion describes how developers can restore positions within tables so that applications appear to suspend instead of terminate when a user switches to another application. This is accomplished by providing a value for the persistent name parameter in the Open method of the ULTable object.
Palm OS applications are single threaded. To maintain the illusion that an application is running in the background after you close it, the application must save its internal state when the user switches to another application. When the application is launched again, it must restore its internal state. Saving and restoring state in a database application can be challenging, as the application must re-open previously open result sets and re-position within those result sets.
This section describes how to handle launching and closing of an UltraLite Palm application. Two Palm-specific UltraLite functions save and restore internal state information. These functions also handle synchronization if you are using the HotSync synchronization streams, but not if you are using TCP/IP or HTTP streams.
Launching an UltraLite Palm application
Closing an UltraLite Palm application