Nobody can help On 14 Abr, 11:16, Reptil <[email protected]> wrote: > Hi, > I have already made a Web Application using the Google Spreadsheets > API with the following code giving my the liste of spreasheets i have > in my google account: > > SpreadsheetService service = new SpreadsheetService("exampleCo- > exampleApp-1"); > service.setUserCredentials("[email protected]", "mypassword"); > > URL metafeedUrl = new URL("https://spreadsheets.google.com/feeds/ > spreadsheets/private/full"); > SpreadsheetFeed feed = service.getFeed(metafeedUrl, > SpreadsheetFeed.class); > List<SpreadsheetEntry> spreadsheets = feed.getEntries(); > for (int i = 0; i < spreadsheets.size(); i++) { > SpreadsheetEntry entry = spreadsheets.get(i); > System.out.println("\t" + entry.getTitle().getPlainText()); > > } > > But that doesnt work in an Android Application because the gdata > library doesnt work with it. > So i have already know that i must work with the google-api-java- > client library..but i doesnt know how to make the conection with my > google docs account,like i have made above,but for Android ( working > with the google-api-java-client library) > > In the example here:http://code.google.com/p/gdata-java-client/wiki/ > MigratingToGoogleApiJavaClient > > We have: > HttpRequest request = transport.buildGetRequest(); > request.url = url; > VideoFeed videoFeed = request.execute().parseAs(VideoFeed.class); > But in my own code i have: > HttpRequest request = transport.buildGetRequest(); > request.url = metafeedUrl; > SpreadsheetFeed feed = > request.execute().parseAs(SpreadsheetFeed.class); > But SpreadsheetFeed is not a type of feed in this library.Wich kind of > feed i should have their? > > Thank You
-- You received this message because you are subscribed to the Google Groups "Android Developers" 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/android-developers?hl=en

