|
From: <in...@ik...> - 2008-01-03 04:59:56
|
Ildar Mulyukov <il...@us...> writes: > Hi, Ilpo! > > I think the general idea here is to detect the situation when the phone > is in nearby and ready to sync, and start syncing at PC. How to detect > it? It depends on how the phone is connected. > > You noticed, that the phone is connected through Wifi/3G. Fairly, I > don't know anything about it. But at worst case you can test by pinging. I really want to invoke the sync from the phone. This means that my PC must have a server software like web server listening. I now have my own solution implemented with python. It includes - A diff plugin gives opensync the phone side changes and gives back the diff to sent to the phone. - A web server resource (Twisted Nevow) to invoke the sync when a web server is rendered. Essentially the phone gives its data with POST and then the resource gives the diff as result. Only one HTTP request is needed for a sync. - A S60 python script to do the http client stuff in the phone. It is simple and works. Didn't take much time to implement. -- Ilpo Nyyssönen # biny # /* :-) */ |