Discussion:
Syncing GUI question
G VM
2009-01-19 00:37:00 UTC
Permalink
Hi all,I wonder, when you click on the ActiveSync Icon, what method gets called to start the synchronisation. And in what package the files synchronization is done/handled.I want to try to build a patch for my mobile device which uses /Internal Storage/My Documents instead of /My Documents to store it's files in.For me this would be a good opportunity to code a little in python. I just can't seem to figure out what method gets called from the GUI.Thanks in advance!
Guido Diepen
2009-01-19 06:10:28 UTC
Permalink
Post by G VM
Hi all,I wonder, when you click on the ActiveSync Icon, what method gets
called to start the synchronisation. And in what package the files
synchronization is done/handled.I want to try to build a patch for my
mobile device which uses /Internal Storage/My Documents instead of /My
Documents to store it's files in.For me this would be a good opportunity to
code a little in python. I just can't seem to figure out what method gets
called from the GUI.Thanks in advance!
Hi,

In which GUI are you clicking on the activesync icon? That is not completely
clear. Furthermore, the file sync of My Documents is done by sync-engine, but
I guess it is not in the way that you suspect. AFAIK sync-engine does not
tell the device what folder it wants to sync, but it is part of the
activesync stuff that the device syncs the my documents folder. If anything,
this might have to be changed on the device, but I am not sure if it is
possible at all.

Also, the communication between GUI programs and the sync-engine program goes
over DBus, so nothing is directly done in the GUI, but sync-engine is
instructed to start of certain actions.

Kind regards,

Guido Diepen
--
Guido Diepen <***@jcwodan.nl>
Aviation is proof that given the will, we have the capacity to achieve the
impossible.
--Eddie Rickenbacker
G VM
2009-01-19 08:36:37 UTC
Permalink
Thanks for your quick response!I was speaking about the ActiveSync icon on the main window. I suppose this syncs the device.Why I ask this is to have a good entry point in the code and then trace what methods are called. I already looked quickly in sync-engine, synce-kpm and libopensync-plugin-python. It seems indeed that sync-engine does not explicitly says what should be synced.I just looked into the settings of my smart phone and there is no place I can configure what directoy should be synchronised. I find this pretty strange as HTC is known for its business smart phones while ActiveSync does not work correctly.Maybe this is a shortcoming from opensync(maybe a non-implemented feature).I will also mail my question to there mailing list.Greetings!>Hi,>>In which GUI are you clicking on the activesync icon? That is not completely >clear. Furthermore, the file sync of My Documents is done by sync-engine, but >I guess it is not in the way that you suspect. AFAIK sync-engine does not >tell the device what folder it wants to sync, but it is part of the >activesync stuff that the device syncs the my documents folder. If anything, >this might have to be changed on the device, but I am not sure if it is >possible at all. >>Also, the communication between GUI programs and the sync-engine program goes >over DBus, so nothing is directly done in the GUI, but sync-engine is >instructed to start of certain actions.>>Kind regards,>>Guido Diepen>>-- >Guido Diepen <***@jc...>>Aviation is proof that given the will, we have the capacity to achieve the >impossible.>--Eddie Rickenbacker
Guido Diepen
2009-01-19 09:37:31 UTC
Permalink
Hi,
Post by G VM
Thanks for your quick response!I was speaking about the ActiveSync icon
on
the main window. I suppose this syncs the device.Why I ask this is tohave
The problem is that it to me it is still unclear what the exact window is
that you are talking about. We have a gnome program, trayicon, and we have
a KDE program (synce-kpm).
G VM
2009-01-20 12:25:22 UTC
Permalink
The problem is that it to me it is still unclear what the exact window is>that you are talking about. We have a gnome program, trayicon, and we h
Guido Diepen
2009-01-20 13:23:02 UTC
Permalink
Hi,

I think you did miss it, after a bit of searching I found the following:
http://wiki.xda-developers.com/index.php?pagename=WM5_Tweaks_Other

and especially the part:
HKLM\Software\Microsoft\Windows CE Services\FileSyncPath = "\Storage
Card\My Documents" (REG_SZ string, no quotes)

If you start looking for the FileSyncPath registry key, you might find
more information.

One important detail btw, if you start syncing all pictures that you made
(because they are somewhere under the filesyncpath) be aware that the
transfer rate via RAPI is very slow.

Hope the reg-key helps you further.

Kind regards,

Guido Diepen
Post by Guido Diepen
The problem is that it to me it is still unclear what the exact window
is>that you are talking about. We have a gnome program, trayicon, and we
have>a KDE program (synce-kpm).
Loading...