Hello Luca, Which version of Java are you using? I would suggest using 1.6 as this might resolve some of your issue.
Also, are you using a specific IDE for writing code? I would suggest using Eclipse as it will help you resolve your dependency issues; for instance, Name is in com.google.gdata.data.extensions which is in (gdata-client-1.0.jar). Best, Alain On Fri, Jun 10, 2011 at 1:39 AM, Luca Santaniello < [email protected]> wrote: > Hi all, > > I readed contact feed tutorial on Google docs ( > http://code.google.com/intl/it-IT/apis/contacts/docs/3.0/developers_guide_java.html) > but when I write "printAllContacts" method I have compile errors. Is > tutorial updated? > > For example... > 1) ContactFeed resultFeed = myService.getFeed(feedUrl, ContactFeed.class); > Compile Error: Type mismatch: cannot convert from IFeed to > com.google.gdata.data.contacts.ContactFeed > > 2) Name name = entry.getName(); > Name which class package is it? > > > Thanks in advance > > -- > 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
