Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Consuming Web Services with Android

Consuming Web Services with Android

As mobile apps continue to get more sophisticated, they need data, whether it’s the from the business backend or the current scoreboard for a game server hosted in the cloud. Find out how to connect to and consume web services with your Android application. We’ll get connected to the cloud, working with REST web services and learning how to parse the results.

David Truxall

March 23, 2013
Tweet

More Decks by David Truxall

Other Decks in Programming

Transcript

  1. Mobile • Develop • Design • Lead • Train •

    Troubleshoot David Truxall, Ph.D. @davetrux http://blog.davidtruxall.com
  2. JavaScript Object Notation [ { "lastName": "Valdez", "firstName": "Christian", "gender":

    "m" }, { "lastName": "Alston", "firstName": "Christie", "gender": "f" } ]
  3. XML <address> <street>123 Main St.</street> <city>Anytown</city> <state>MI</state> <postal>48123</postal> </address> 128

    Characters JSON { "street": "123 Main St.", "city" : "Anytown", "state" : "MI", "postal" : "48123" } 100 Characters
  4. Where? Google Amazon Twitter Facebook eBay Baas Providers programmableweb.com Windows

    Azure Government LinkedIn Flickr Yahoo Yelp Your company Build Some!
  5. Activity States Active when request completes Paused then resumed and

    request completes Paused when request completes then resumed