Start your free trial now, and begin learning software, business and creative skills—anytime, anywhere—with video instruction from recognized industry experts.

Connecting Android Apps to RESTful Web Services

with David Gassner

Video: Welcome

Welcome to WordPress. In this course, you will learn the basics of laying out WordPress themes, how to customize theme elements, and the development process. You'll also learn best practices for how to set up the development environment. This video tutorial series will give you the training you need to build WordPress themes from start to finish.
Expand all | Collapse all
  1. 9m 34s
    1. Welcome
    2. What you should know before starting this course
      3m 55s
    3. Using the exercise files
      4m 43s
  2. 12m 4s
    1. Choosing an HTTP client
      8m 30s
    2. Reviewing the starting Android project
      3m 34s
  3. 25m 56s
    1. Working with background threads in Android
      4m 50s
    2. Defining background tasks with AsyncTask
      6m 23s
    3. Reporting progress from a background thread
      7m 11s
    4. Executing multiple tasks in parallel
      7m 32s
  4. 54m 38s
    1. Setting permissions and checking the network connection
      7m 26s
    2. Requesting content with AndroidHttpClient
      9m 19s
    3. Requesting content with HttpURLConnection
      6m 10s
    4. Modeling web service data entities as plain old Java objects (POJOs)
      4m 13s
    5. Parsing XML web service responses
      7m 37s
    6. Parsing JSON web service responses
      9m 54s
    7. Sending user credentials for HTTP basic authentication
      9m 59s
  5. 34m 33s
    1. Displaying web service data in a ListActivity
      5m 56s
    2. Downloading images from a web server
      9m 21s
    3. Loading images in response to list requests
      10m 59s
    4. Caching images in memory
      8m 17s
  6. 25m 48s
    1. Packaging parameters for use with AsyncTask
      10m 39s
    2. Sending parameters in a GET request
      6m 43s
    3. Sending parameters in a POST request
      3m 50s
    4. Sending POST parameters in JSON format
      4m 36s
  7. 35m 34s
    1. Replacing HttpURLConnection with OkHttp
      6m 55s
    2. Making HTTP requests with Volley
      8m 42s
    3. Downloading images with Volley
      9m 59s
    4. Making HTTP requests with Square's Retrofit
      9m 58s
  8. 5m 28s
    1. Limiting network connectivity to Wi-Fi only
      3m 58s
    2. More about network requests and background threads
      1m 30s
  9. 1m 21s
    1. Next steps
      1m 21s

please wait ...
Connecting Android Apps to RESTful Web Services
Video duration: 0s 3h 24m Intermediate


Android apps need data, and many use RESTful services (at their heart, simple HTTP networking calls) to get and send data over the web. This course teaches developers how to integrate Android apps with cloud-based storage networks, and use RESTful web requests to access data from them. The course concentrates on the different ways of making requests with the built-in classes in the Android SDK, but also provides an overview of popular open-source networking libraries, including OkHttp, Retrofit, and Google's new Volley library, all of which you can easily incorporate into your own projects. David Gassner will describe how to retrieve content with simple GET and POST requests, parse the responses, and pass user credentials to services that support HTTP basic authentication. He'll also show you how to send parameters with your requests and format POST requests with JSON.

Topics include:
  • Working with background threads
  • Defining background tasks
  • Requesting content with HTTP requests
  • Parsing web service responses
  • Downloading data, including images
  • Sending HTTP parameters to the server
  • Using higher-level client libraries like Volley and OkHttp
  • Managing an app's networking abilities


My name is David Gassner and this is Connecting Android Apps to RESTful Web Services. In this course, I'll start by showing you how to retrieve content from web services. First using simple get requests to work with services that return data in xml and json formats. I'll describe different ways of making these requests using built in classes in the Android SDK and open source libraries that you can freely incorporate into your projects.

I'll then describe how to make more complex requests, including authenticating requests with secured services, sending parameters in get and post requests, and formatting post requests in json. I hope this course helps you get started working with Android's networking capabilities.

There are currently no FAQs about Connecting Android Apps to RESTful Web Services.






Don't show this message again
Share a link to this course

What are exercise files?

Exercise files are the same files the author uses in the course. Save time by downloading the author's files instead of setting up your own files, and learn by following along with the instructor.

Can I take this course without the exercise files?

Yes! If you decide you would like the exercise files later, you can upgrade to a premium account any time.

Become a member Download sample files See plans and pricing

Please wait... please wait ...
Upgrade to get access to exercise files.

Exercise files video

How to use exercise files.

Learn by watching, listening, and doing, Exercise files are the same files the author uses in the course, so you can download them and follow along Premium memberships include access to all exercise files in the library.

Exercise files

Exercise files video

How to use exercise files.

For additional information on downloading and using exercise files, watch our instructional video or read the instructions in the FAQ .

This course includes free exercise files, so you can practice while you watch the course. To access all the exercise files in our library, become a Premium Member.

* Estimated file size

Are you sure you want to mark all the videos in this course as unwatched?

This will not affect your course history, your reports, or your certificates of completion for this course.

Mark all as unwatched Cancel


You have completed Connecting Android Apps to RESTful Web Services.

Return to your organization's learning portal to continue training, or close this page.


Upgrade to View Courses Offline


With our new Desktop App, Annual Premium Members can download courses for Internet-free viewing.

Upgrade Now

After upgrading, download Desktop App Here.

Become a Member and Create Custom Playlists

Join today and get unlimited access to the entire library of online learning video courses—and create as many playlists as you like.

Get started

Already a member?

Log in

Exercise files

Learn by watching, listening, and doing! Exercise files are the same files the author uses in the course, so you can download them and follow along. Exercise files are available with all Premium memberships. Learn more

Get started

Already a Premium member?

Exercise files video

How to use exercise files.

Ask a question

Thanks for contacting us.
You’ll hear from our Customer Service team within 24 hours.

Please enter the text shown below:

Exercise files

Access exercise files from a button right under the course name.

Mark videos as unwatched

Remove icons showing you already watched videos if you want to start over.

Control your viewing experience

Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.

Interactive transcripts

Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.

You started this assessment previously and didn’t complete it.

You can pick up where you left off, or start over.

Resume Start over

Learn more, save more. Upgrade today!

Get our Annual Premium Membership at our best savings yet.

Upgrade to our Annual Premium Membership today and get even more value from your subscription:

“In a way, I feel like you are rooting for me. Like you are really invested in my experience, and want me to get as much out of these courses as possible this is the best place to start on your journey to learning new material.”— Nadine H.

Thanks for signing up.

We’ll send you a confirmation email shortly.

Sign up and receive emails about and our online training library:

Here’s our privacy policy with more details about how we handle your information.

Keep up with news, tips, and latest courses with emails from

Sign up and receive emails about and our online training library:

Here’s our privacy policy with more details about how we handle your information.

submit Lightbox submit clicked
Terms and conditions of use

We've updated our terms and conditions (now called terms of service).Go
Review and accept our updated terms of service.