SilverHoodCorp / gdata-java-client

Automatically exported from code.google.com/p/gdata-java-client
Apache License 2.0
0 stars 0 forks source link

create contact with StructuredPostalAddress did not work #153

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
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#Creatin
g

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???

Original issue reported on code.google.com by quang.nguyencong@gmail.com on 17 Jun 2009 at 10:15

GoogleCodeExporter commented 9 years ago
quang, please post the question in contacts API group
(http://groups.google.com/group/google-contacts-api).  Its likely get answered 
there
than here.

Original comment by vbarat...@gmail.com on 24 Jul 2009 at 3:17