F
Frank Wedekind
Hi,
I have an Pocket PC java application. This app saves data in the hsqldb
database on PPC.
For the program I searched an easy way to synchronize with pc.
I did following:
1. save the hsql db database in my documents on pocket pc
2. in active sync I use the file synchronization to automatically copy
the database to pc
3. start a synchronization java application on pc (overwrites database
in synchronization folder)
4. active sync copy the changed database to pocket pc
The problem is step 2. ActiveSync copy the database to pc but then the
activesync circle is yellow and he tolds me that one element isn't
synchronized. But this isn't true, he has already copied the database
correctly. If I now start synchronization, the yelow circle turns into
green and deletes the database on pc. On pocket pc database still exists.
If I disconnect the pocket pc after the yellow circle appeared (I don't
pressed the sync button) and connect again, he didn't delete the database.
PLEASE NOTICE
Then I have build a simple text file and copied it to sync folder pc and
in my documents. Sync status is OK.
If I change the text file on ppc with an microsoft app the file is
transmitted correct. If I change the file somewhere on PC and copy it
directly to PPC or if i change the file with a java app on ppc I have
the same trouble as described above.
I think I have to set an 'marker' for the file on ppc but I don't know
which and if this ever possible with Java?
Every help is very appreciated! Thank you very much.
Regards, Frank
I have an Pocket PC java application. This app saves data in the hsqldb
database on PPC.
For the program I searched an easy way to synchronize with pc.
I did following:
1. save the hsql db database in my documents on pocket pc
2. in active sync I use the file synchronization to automatically copy
the database to pc
3. start a synchronization java application on pc (overwrites database
in synchronization folder)
4. active sync copy the changed database to pocket pc
The problem is step 2. ActiveSync copy the database to pc but then the
activesync circle is yellow and he tolds me that one element isn't
synchronized. But this isn't true, he has already copied the database
correctly. If I now start synchronization, the yelow circle turns into
green and deletes the database on pc. On pocket pc database still exists.
If I disconnect the pocket pc after the yellow circle appeared (I don't
pressed the sync button) and connect again, he didn't delete the database.
PLEASE NOTICE
Then I have build a simple text file and copied it to sync folder pc and
in my documents. Sync status is OK.
If I change the text file on ppc with an microsoft app the file is
transmitted correct. If I change the file somewhere on PC and copy it
directly to PPC or if i change the file with a java app on ppc I have
the same trouble as described above.
I think I have to set an 'marker' for the file on ppc but I don't know
which and if this ever possible with Java?
Every help is very appreciated! Thank you very much.
Regards, Frank