Contents Index Adding HotSync synchronization to Palm applications Deploying Palm applications

UltraLite Embedded SQL User's Guide
  Developing UltraLite Applications for the Palm Computing Platform

Adding TCP/IP, HTTP, or HTTPS synchronization to Palm applications


This section describes how to add TCP/IP, HTTP, or HTTPS synchronization to your Palm application.

For a general description of how to add synchronization to UltraLite applications, see Adding synchronization to your application.

Transport layer security on the Palm Computing Platform 

You can use transport-layer security with Palm applications built with Metrowerks CodeWarrior.

For information on transport-layer security, see Transport-Layer Security.

Palm devices can synchronize using TCP/IP, HTTP, or HTTPS communication by setting the stream member of the ul_synch_info structure to the appropriate stream, and calling ULSynchronize to carry out the synchronization.

When using TCP/IP, HTTP, or HTTPS synchronization, ULPalmLaunch and ULPalmExit() save and restore the state of the application on exiting and activating the application, but do not participate in synchronization. These functions take the ul_synch_info structure as an argument, but in this case do not use it. You should set the stream member to NULL (the default) when calling ULPalmExit() or ULPalmLaunch .

When using TCP/IP, HTTP, or HTTPS synchronization from a Palm device, you must specify an explicit host name or IP number in the stream_parms member of the ul_synch_info structure. Specifying NULL defaults to localhost, which represents the device, not the host.

For information on the ul_synch_info structure, see Stream parameters reference.


Contents Index Adding HotSync synchronization to Palm applications Deploying Palm applications