vCard is an internet standard, text-based representation of contact-like information. It is not defined by Palm, we just use it. A few minutes on the net (yahoo, actually) searching reveals this url: http://www.faqs.org/rfcs/rfc2426.html.
But, YOU DON'T NEED TO KNOW THE ACTUAL FORMAT. The PDI library is PRECISELY designed to insulate you from having to know this. You setup and feed stuff into the PDI library correctly and IT spits out a bit stream in the vCard format. Not to say you can't or shouldn't spin your own generation of vCard data (which would be perfectly appropriate in the case of known-format, extremely simplified contact data), but just to say that you don't have to. -bob -----Original Message----- From: John Crouch [mailto:[EMAIL PROTECTED]] Sent: Monday, October 01, 2001 1:00 PM To: Palm Developer Forum Subject: Re: Address Book Info Thanks again. Can you tell me where to fin the vCard format? I've looked in the Palm documentation and two Palm books I have and none have that format listed. "Robert McKenzie" <[EMAIL PROTECTED]> wrote in message news:63780@palm-dev-forum... > > John- > > Beaming to another Palm is done via the Exchange Manager -- much like > sending it to the address book application. You need to encode it to the > vCard standard prior to beaming. For maximum flexibility, I would give it > the vCard MIME type and NOT send it directly to address book. This would > give you interoperability with users who have address book replacements on > their devices. > > This process, by the way, has been made considerably easier on OS 4.0 by the > Personal Data Interchange libraries. These contain, essentially, the guts > of the transmit and receive code from the built-in applications in former OS > versions. I would look at the source code for the 4.0 address book (in the > 4.0 sdk) to see how address book uses the PDI libraries to send vCard data > through the exchange manager (though to really understand this code, you > also need to understand how address book represents its data internally). > Note also that this address book code handles both transmit and receive (you > probably only want Xmit) and shares some non-trivial code between those two > (somewhat disparate) functionalities. > > -bob -- 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/
