%META:TOPICPARENT{name="ODSIndex"}%
---+Using SyncML to sync Android contacts with Virtuoso
---++ Prerequisites
1 A Virtuoso Server instance, 06.02.3130 or later, as of Jun 6 2011 or later;
1 SyncML ([[http://virtuoso.openlinksw.com/dataspace/dav/wiki/Main/VOSDownload#Other%20Virtuoso-related%20Packages][syncml_dav.vad]]
) and Conductor ([[http://virtuoso.openlinksw.com/dataspace/dav/wiki/Main/VOSDownload#Other%20Virtuoso-related%20Packages][conductor_dav.vad]]
) VAD packages have been installed
---++ Example
This is a simple example of synchronizing contacts from Samsung Galaxy S II Android mobile to Virtuoso. The steps have been verified on our [[http://ods-qa.openlinksw.com/conductor/][QA server]].
1. Log in to the Conductor at http://<cname>:<port>/conductor
1. Go to Web Application Server --> Content Management --> Repository
1. Click New folder
1. In the form --
* enter a name; for example, mysync
* hatch all Permissions check-boxes
* set SyncML version to 1.1
* set SyncML type to vcard 11
%BR%%BR%%BR%%BR%
1. On your Android device, go to Applications --> Settings --> Accounts and sync.
1. In the Manage accounts section, click Add Account
1. In the page which opens, select Server from the Sync account section.
1. The "Sync profile" page will open. Fill out the form:
* Profile name: mycontacts
* Sync Category: hatch the Contacts check-box and enter DBname: mysync . Note: this should be the same as the SyncML folder created above through the Virtuoso Conductor.
* Sync Type: select Full sync
* Sync Server:
* Enter for "Address": http://cname/DAV/home/, for ex. if using the QA server:
http://ods-qa.openlinksw.com/DAV/home/
* Enter for Login ID: dav
* Enter for password: the dav user password
1 Finally click Save
1 The newly created profile should now be listed under Applications --> Settings --> Accounts and sync --> Manage accounts. Click on it.
1 Click Sync now.
1 If the sync is successful, no errors should be shown.
1 Go to Virtuoso Conductor --> Web Application Server --> Content Management --> Repository.
1 Enter path /DAV/home/mysync
and click enter.
1 If the sync was successful, you should find your new contacts shown:
%BR%%BR%%BR%%BR%
---++ Related
* [[http://docs.openlinksw.com/virtuoso/syncml.html][Virtuoso SyncML documentation]]
* [[http://ods.openlinksw.com/wiki/ODS/OdsAddressbookSyncML][Using SyncML with ODS-AddressBook]];
* [[http://ods.openlinksw.com/wiki/ODS/OdsCalendarSyncML][Using SyncML with ODS-Calendar]].