You can certainly store contact information that your application collects in address book. There are (currently) two methods of doing this: accessing AddressDB directly, and using the exchange manager to send vCard data to the address book application (use the 'addr' creator id as the target of the exchange). The former method requires that you understand the data format of AddressDB (which has not changed from Palm OS 1.0 through 4.0). The latter requires that you translate your data into vCard format prior to sending it to address book (but has the virtue of being guaranteed to work for Palm OSs beyond 4.0, but won't work for Palm OS 1.0 or 2.0). Additionally I do not know of an easy way to identify and/or extract your data from address book using the exchange library.
Bear in mind that AddressDB's sort order may change, hence if you wish to refer to the record in the future you should determine and use its unique id, not its record number. -bob mckenzie -----Original Message----- From: John Crouch [mailto:[EMAIL PROTECTED]] Sent: Monday, October 01, 2001 7:03 AM To: Palm Developer Forum Subject: Address Book Info I am capturing address information in my own application and need to store it. I am thinking of storing it in the Palm Address Book pdb. Is this something that I should consider? I'm sure I can look at the source for the address book and be able to use it's pdb but what about different versions of the OS and other considerations? Does anyone have any thoughts on this approach to storing data collected in my app into the address book? One reason I thought I would store it there is because the data fits well - it's contact information. And I figured it would mainstream the data by doing this. The user can then sync with his desktop or beam to other units as they see fit. Any comments on this line of thinking? -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/ -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/
