Hello, What version of the client library are you using? I just tried retrieving a contact and updating it with a new content and it worked perfectly on my test account. If you are on a Google Apps domain, has your domain migrated to GA+? If this is the case, please make sure to enable the new Contacts Manager:
http://googleenterprise.blogspot.com/2011/02/get-in-touch-faster-with-new-gmail.html For your information, this is the code I used (which looks similar to what you did): [CODE] public static void getContact(ContactsService myService) throwsMalformedURLException, IOException, ServiceException { ContactEntry contact = myService .getEntry( new URL( "<CONTACT_ENTRY_EDIT_LINK>"), ContactEntry.class); // Old note. System.out.println(((TextContent) contact.getContent()).getContent().getPlainText()); // Setting new note and making sure it has been set in the entry. contact.setContent(new PlainTextConstruct("Some new Content from the API")); System.out.println(((TextContent) contact.getContent()).getContent().getPlainText()); // Update the contact. ContactEntry updated = contact.update(); // Print the notes from the updated contacts: "Some new Content from the API". System.out.println(((TextContent) updated.getContent()).getContent().getPlainText()); } [/CODE] Best, Alain On Wed, Jun 8, 2011 at 11:02 PM, ykko <[email protected]> wrote: > Hi, > > I've used this code '*contact.setContent(new PlainTextConstruct(String > notes))*' to input a notes information of a contact. > > Then, I can see the notes of a contact I just inserted using Contact API > like 'ContactEntry.getPlainTextContent()'. > > But, I can't see the notes on a Contact on Gmail Contacts in Gmail screen. > > Other Information like First Name, Last Name, Email(work, home, other), > Address, etc. are well shown except for the 'Notes'. > > What's wrong? > > Do I need to use other method in ContactEntry class instead of the method ' > *ContactEntry.setContent'*? > > Please, answer this problem. > > Thanks ahead for your help. > > > -- > You received this message because you are subscribed to the Google > Groups "Google Contacts, Shared Contacts and User Profiles APIs" 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://code.google.com/apis/contacts/community/forum.html > -- Alain Vongsouvanh -- You received this message because you are subscribed to the Google Groups "Google Contacts, Shared Contacts and User Profiles APIs" 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://code.google.com/apis/contacts/community/forum.html
