On 8/23/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
Thanks for reply, As I said I can beam contact without picture field. I taken hint from Address application. I find structure of Contacts application from pluggedin.palm.com. Is there any sample code available for beam Contacs records as given for Address application?
I first tried beaming a contact with a picture from a Treo 650 to a Treo 700p, and the picture came along. This was useful. I then did the same thing, but used the "Send" command and mailed the contact to my home email account. On opening the mail, I saved out the attachment to look at it. Here's the format (with a little bit snipped) BEGIN:VCARD VERSION:2.1 X-PALM:4.0 N:Person;Sample FN:Sample Person ADR;WORK:;;1 Street;Austin;TX;78731;USA TITLE:Test Data EMAIL;PREF;HOME;INTERNET:[EMAIL PROTECTED] TEL;HOME;VOICE:512-XXX-XXXX TEL;HOME;CELL:512-XXX-XXXX BDAY:19781213 X-PALM-BDAYALARM:P7D PHOTO;JPEG;ENCODING=BASE64:/9j/4AAQSkZJRgABAQEAAgACAAD/2wBDAAUDBAQEAwUEBAQ ... WaDit+h25fiXh6yl06n/2Q== UID:11227305 END:VCARD So, the photo is attached as a PHOTO record, with the type listed first, and then the encoding noted as BASE64. You'll find more info on this encoding scheme in the vCard 2.1 spec available at http://www.imc.org/pdi/pdiproddev.html. -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
