Import now works fine on the desktop version. However on the version
on the phone the same xml file fails to import and gives an error. It
looks like it is expecting <EncryptedSafeElement>?
Can you shed any light on this please?
Separate question - I intend to regularly update on the desktop and
copy the encrypted XML to the phone (cheaper and easier than using
sync). The problem is that this method combines the existing data with
that in the XML file so everything is duplicated.
Is there a way to clear out the database on the phone before
importing? I've searched on the phone (a SE W880i) and I can't find
where the database is stored. Can anyone help please?
First of all, thanks for using Safe and SafeDesktop! I am glad to get feedback
from Safe and SafeDesktop users!
As you already figured out by yourself: The reason why your xml file does not
work with Safe and SafeDesktop is that the current version of Safe is only
able to handle encrypted xml files while SafeDesktop is only able to import
clear text (unencrypted) xml files. Let me explain why I added a clear text
import to SafeDesktop. The import feature of SafeDesktop is considered as a
method to import data of previous Safe versions. These versions were only
capable to export data in an unencrypted way.
Regarding your second question: Of course, it is possible to add a "Delete
all" menu item to the menu of Safe. However, the synchronization mechanism
will still store a copy of the so-called "deleted" entries even if the
entries are not shown in the listing. The next time you start synchronizing
all data that is marked as deleted on the phone will be removed from your
desktop (and the phone). Do you want to implement this feature and send me a
patch? Otherwise, it will take a few days until I have enough time to do it
on my own. So, I would really appreciate if you implement such a feature!
Best regards,
Thomas
I am happy with the import/export and this is fairly painless now.
I am not up to the job of coding a patch - I am an ex-developer with
enough knowledge to be able to read Java and follow what is going on
but I can't code in it. I'm happy to wait for you to have time to add
a patch.
>From what you are saying, if I never use "sync" then will the deleted
entries comtinue to build up or is there some garbage collection which
will eventually delete them?
I will never use sync (data on O2 is way too expensive!) so would it
be possible to build the garbage collect into the "Delete All"
function?
Incidentally, I have a workaround - I managed to locate the database
file for Safe, buried a few subfolders down on the phone in
\Memory Stick\system\ams\java\db\j9bxxxxxxxxxxxxxxxxxxxxxxxc2.d
If I delete this file and restart Safe I end up with an empty
database, then I can use Import.
Thanks,
Mark
Best regards,
Thomas
--
Praktische Informatik IV, University of Mannheim
A5,6, 68159 Mannheim, Germany
Tel: +49 621 181 2615, Fax: +49 621 181 2601
Enjoy using MobileKnox and DesktopKnox
Best regards,
Thomas
On Thursday 16 August 2007 10:15:43 am mbriody...@gmail.com wrote: