Frank Taylor wrote:
I am writing a simple viewer for a Palm Pilot database to run on my desktop
machine. I have written a simple parser for PDB files, but it is not
complete (does not deal with categories). Has anyone written a free and
complete PDB library. Read-only would be fine as my viewer does not need to
update the file.
If not, I'll probably complete my current code and publish it.
Yes. take a look at the classes in the jSyncManager API:
http://www.jsyncmanager.org
Present are classes to parse generic PRC/PDB files, parse the database
entries as they're transferred from the Palm, and parse them into the
specific record types for the standard applications (Address, Datebook,
Expense, Mail, ToDo, NotePad, Memo). It also provides for importing and
exporting the standard record types in CSV and XML formats, and provides
data abstraction types for all other standard PalmOS datatypes (PalmOS
date format, user information, system information, card information,
etc.). All in pure Java.
(It also contains a full HotSync compatible protocol stack in pure
Java, along with it's own jConduit specification for writing pure Java
conduits that run in pure Java systems).
HTH!
Brad BARCLAY
--
=-=-=-=-=-=-=-=-=
From the OS/2 WARP v4.5 Desktop of Brad BARCLAY.
The jSyncManager Project:
http://www.jsyncmanager.org