O'Reilly logo

SyncML®: Synchronizing and Managing Your Mobile Data by Phillipe Kahn, Peter Thompson, Apratim Purakayastha, Riku Mettälä, Uwe Hansmann

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

Generating a SyncML Document

To generate a SyncML document, an application first needs to initialize a new instance of the workspace using the smlInitInstance command. During initialization, a workspace buffer is assigned. The toolkit uses this workspace buffer to store the generated documents until they are sent or to store incoming documents until they are completely parsed. The application developer could choose to use one workspace for all documents, a different workspace for each document, or one workspace for generating documents and one for parsing documents. The type of encoding that the toolkit should use (XML or WBXML) can be set at the time the instance is initialized with smlInitInstance or at a later point in time with smlSetEncoding ...

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