Re: ContactDb implementation



On Sat, 2007-01-27 at 12:33 +0100, Tom Billiet wrote:
> 
> My current vision is to implement it like this (and that's how I've
> started, but it can easily be changed): Implement it as a separate
> conduit and name it contact-conduits that lives next to
> address-conduit.  This for the following reasons: 

Ideally, the two should be in the same conduit... because the Contacts
application has only minimal differences from the Address Book
application... (OS6 promises to completely gut this from the ground up
with the "Schema" format databases, whee!) 

Ideally, you would check for the version of the user's Palm device,
attempt to open ContactsDb-PAdd and if that fails, open AddressDB.pdb,
and proceed accordingly. 

I'm not sure how the g-p conduits handle it, but they could also query
the version of the Contacts application itself, testing for failure or
success and proceed that way. 

Most of the fields are already reverse-engineered in the pilot-link
headers for the Contacts application, so you might start there if you
get a bit lost decoding them. 


-- 
David A. Desrosiers
desrod gnu-designs com
Skype username: setuid
http://gnu-designs.com




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]