174,333 views 194 on YTPak
540 7

Published on 26 Oct 2012 | over 4 years ago

In this tutorial we demonstrate how to integrate web services into your app. For demonstration purposes, we show how to integrate with a Last.FM web service to deliver a "Top Tracks" app. We show how to issue HTTP requests to a web service and how to parse the JSON strings we get in the response. We also look at how to properly code this up in Android's AsyncTasks so the fetch happens in the background. Finally, we look at how to render the fetched data in a custom ListViewAdapter. You can download the source code from my blog: www.themobilemontage.com/2012/11/29/successfully-integrating-web-services-into-your-android-apps/

Loading related videos...