Join Now
Quality Rating:
  • Currently 0.0 / 5
(0.0 / 5 - 0 votes cast)
Expertise Level:
  • Currently 0.0 / 5
(0.0 / 5 - 0 votes cast)

This page was last modified 18:42, 14 March 2008.

How to synchronize in 3rd Edition

From Forum Nokia Wiki

SyncML Client API is SyncML server’s client side API. This provides services to synchronize data by specifying the profile to be used for synchronizing.

Example code

Header files

#include <syncmlclient.h>
#include <syncmlclientds.h>
#include <syncmldef.h>

Libraries Used

syncmlclientapi.lib

Capabilities

WriteDeviceData ReadDeviceData ReadUserData WriteUserData LocalServices NetworkServices
// Open syncML session
RSyncMLSession syncMLSession;
syncMLSession.OpenL();
// Need instance of data sync class
RSyncMLDataSyncJob job;
// For creating a data sync job, need to specify id of the profile used for synchronization
// If profile selected is PCSuite, it searches for the bluetooth device to sync with
job.CreateL( syncMLSession,aActiveProfile);
// close the job 
job.Close();
// close the syncML session
syncMLSession.Close();
// Synchronization with specific sync type
job.CreateL( syncMLSession,aActiveProfile,ESmlOneWayFromClient);
// To stop synchronization job
job.StopL();

Example Project

The following is an example application on data synchronization which fetches the number of DS profiles avilable in the device, provides options to select one of the available profile and then start synchronization using the selected profile.

Data synchronization example application

Note: This application is tested in N95 with PCSuite DS profile


Internal links

SyncML Client API

How to create SyncML Data Synchronization profile

Related Discussions
Thread Thread Starter Forum Replies Last Post
callstatus for S60 3rd edition dayashankar Python 2 2007-03-06 08:24
3rd edition fetchdialogs problem Ikhtys General Symbian C++ 5 2007-11-05 12:37
problem with using MADLIB newbie2201 Symbian Media (Graphics & Sounds) 5 2007-02-27 15:02
how can i compile and run in 3rd edition arumilli General Symbian C++ 2 2008-07-14 09:07
Discussion about the SDK choosing for different serial phone! nokia_pac Symbian Tools & SDKs 6 2007-09-26 10:49
 
Powered by MediaWiki
     
     RDF Facets:
     
     
     qfnZtypeQUqfnTypeZCommunityContentQ
     qfnZtypeQUqfnTypeZWebpageQ
     qfnZtypeQUqfnTypeZWikiContentQ
     qmarsZlanguageQUxhttpE3aE2fE2fswE2enokiaE2ecomE2flanguageE2d1E2fenX