Hi All,
i used java api to create a contact in google, example at:

http://code.google.com/apis/contacts/docs/3.0/developers_guide_java.html#Creating

but when i tried to create contact with address, it did not work

 FormattedAddress fa = new FormattedAddress();
                                  fa.setValue("This is a full address");
                                  StructuredPostalAddress spA = new 
StructuredPostalAddress
();
                                  spA.setFormattedAddress(fa);
                                  
spA.setRel("http://schemas.google.com/g/2005#home";);

                                  contact.addStructuredPostalAddress(spA);

i tried to use PostalAddress but it did not work also

somebody can help me pls???
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Contacts API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/google-contacts-api?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to