Monday 15 July 2013

Getting back list of entities with android google app engine

https://developers.google.com/eclipse/docs/endpoints-addentities

I followed the entire tutorial above and can now successfully add new entities to my end point! Now I just want to be able to get it, maybe into an array list so I can display them! Heres what ive tried. No I dont have any auth or users so I dont need to do that, ill learn that next. anyhow, heres something I threw together but of course it dosnt work because im not sure how to do the http get code.

ArrayList<String> quotesId = new ArrayList<String>(); CollectionResponseQuotes items = new CollectionResponseQuotes();  List<Quotes> list = items.getItems();  for (Quotes quote : list) {  quotesId.add(quote.getId());  } 

ughh, this driving me crazy trying to get my items. Thanks guys!

Source: http://stackoverflow.com/questions/17643578/getting-back-list-of-entities-with-android-google-app-engine

daytona race the cutting edge fox 8 news angelina jolie leg daytona artie lange nascar daytona 2012

No comments:

Post a Comment