×

Discussion Board

Results 1 to 9 of 9

Thread: syncml api?

  1. #1
    Registered User
    Join Date
    Oct 2007
    Posts
    8

    syncml api?

    Hello,

    is there a way to invoke synchronization of sync profile from Python program?

    I can't find syncml api for Python, so I thought I could invoke some executable that runs synchronization, but I can't find it either.


    Thanks,
    Mike

  2. #2
    Nokia Developer Champion
    Join Date
    Feb 2008
    Location
    Ahmedabad, Gujarat, India
    Posts
    3,852

    Re: syncml api?

    Quote Originally Posted by mstolar View Post
    Hello,

    is there a way to invoke synchronization of sync profile from Python program?

    I can't find syncml api for Python, so I thought I could invoke some executable that runs synchronization, but I can't find it either.
    hi mstolar

    welcome to the forum
    it will be very great if u make ur question bit clear.
    thanx

  3. #3
    Registered User
    Join Date
    Oct 2007
    Posts
    8

    Re: syncml api?

    welcome

    OK, I would like to write a tool that would sync my calendar every day at, say, 7am.

    I was thinking of using cron (like this: http://www.handango.com/o2/PlatformP...alog=20&title=)
    to invoke script at given times. All this script would have to do is to choose required access point and start syncml synchronization (synchronization profile is already created). So I wouldn't have to hit "synchronize" every morning...

    Is there a way to start synchronization from python script?

  4. #4
    Nokia Developer Champion
    Join Date
    Feb 2008
    Location
    Ahmedabad, Gujarat, India
    Posts
    3,852

    Re: syncml api?

    Quote Originally Posted by mstolar View Post
    welcome

    OK, I would like to write a tool that would sync my calendar every day at, say, 7am.

    I was thinking of using cron (like this: http://www.handango.com/o2/PlatformP...alog=20&title=)
    to invoke script at given times. All this script would have to do is to choose required access point and start syncml synchronization (synchronization profile is already created). So I wouldn't have to hit "synchronize" every morning...

    Is there a way to start synchronization from python script?
    hello mike again
    thanx for explaining in detail
    actually i m also trying this kind of stuff in changing the profile time to time. i got partial success.
    ur idea is great we can surely write a python script for that. we can actually using the time module use time and synchronize the a event in the calender. i m working out with the code u also work out a bit.
    hope this will work. plz give feedback

  5. #5
    Regular Contributor
    Join Date
    Dec 2007
    Location
    India
    Posts
    133

    Re: syncml api?

    Hi mstolar,

    Yes, this is possible. What the script can do is check for calender entries and comapre with the last uploaded entries. The new added calender events can be uploaded to the server.
    And as far as automatic synchronization is concern you can set ecrtain time intervals say 12 hours when the calender entry will automatically be updated on the server.
    Kandyfloss

    V 7.0642.0
    18-10-06
    RH-51
    Nokia 7610

  6. #6
    Registered User
    Join Date
    Oct 2007
    Posts
    8

    Re: syncml api?

    I do not want to write sync code myself. As far as I know it is a bit more complicated than just uploading newer entries to the server.

    What I want to do is to start synchronization of already created and tested profile. Just as I hit "Synchronize" on it...

    Thanks,
    Mike

  7. #7
    Nokia Developer Champion
    Join Date
    Feb 2008
    Location
    Ahmedabad, Gujarat, India
    Posts
    3,852

    Re: syncml api?

    Quote Originally Posted by mstolar View Post
    I do not want to write sync code myself. As far as I know it is a bit more complicated than just uploading newer entries to the server.

    What I want to do is to start synchronization of already created and tested profile. Just as I hit "Synchronize" on it...
    hey mike
    i dont think its difficult at all i m working on it and as soon as i come up the way i will surely let u know.

  8. #8
    Registered User
    Join Date
    Oct 2007
    Posts
    8

    Re: syncml api?

    Well, I want to perform normal, two-way sync. Just as regular syncml client on symbian. Believe me, it is not a trivial task

    Anyway, I found this page: http://developer.symbian.com/main/do...at.html#SyncML
    you can see here what executables are responsible for given tasks, that's a start!

    Cheers,
    Mike

  9. #9
    Registered User
    Join Date
    Mar 2008
    Posts
    1

    Re: syncml api?

    Well, I think syncing can be done by calling smlsyncagent.exe (with e32.start_exe).
    But... I can't find this executable!

    Does anybody know what is the path to syncml client (smlsyncagent.exe)?

    Cheers,
    Mike

Similar Threads

  1. PC Suite error: (Code: Init IMediaControl2) HELP?!
    By chunkyspudmonkey in forum General Development Questions
    Replies: 29
    Last Post: 2008-06-30, 11:47
  2. The SyncML API in Nokia's SDK (S60 FP3)?
    By hupo in forum OMA DM/DS/CP
    Replies: 0
    Last Post: 2006-08-02, 09:34
  3. SyncML API Not Complete !!!
    By arun_sl in forum OMA DM/DS/CP
    Replies: 0
    Last Post: 2005-04-20, 08:30
  4. SyncML API example or tutorial
    By rab_gandhi in forum Symbian
    Replies: 0
    Last Post: 2005-03-07, 04:54
  5. SyncML API example or tutorial
    By rab_gandhi in forum Symbian Networking & Messaging (Closed)
    Replies: 0
    Last Post: 2005-03-07, 04:52

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×