New Feature: Playlist Center! Pick a topic and let our playlists guide the way.

Start learning with our library of video tutorials taught by experts. Get started

Connecting Android Apps to RESTful Web Services
Illustration by Don Barnett

Connecting Android Apps to RESTful Web Services

with David Gassner

Video: Welcome

My name is David Gassner and this I'll then describe how to make more I hope this course helps you
Expand all | Collapse all
  1. 9m 34s
    1. Welcome
      56s
    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

Watch this entire course now—plus get access to every course in the library. Each course includes high-quality videos taught by expert instructors.

Become a member
please wait ...
Connecting Android Apps to RESTful Web Services
3h 24m Intermediate Jun 26, 2014

Viewers: in countries Watching now:

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
Subjects:
Developer Mobile Apps Servers
Software:
Android
Author:
David Gassner

Welcome

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.

 
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.
Upgrade now


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.

join now Upgrade now

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

Congratulations

You have completed Connecting Android Apps to RESTful Web Services.

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


OK
Become a member to add this course to a playlist

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

Get started

Already a member?

Become a member to like this course.

Join today and get unlimited access to the entire library of video courses.

Get started

Already a member?

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:

The classic layout automatically defaults to the latest Flash Player.

To choose a different player, hold the cursor over your name at the top right of any lynda.com page and choose Site preferencesfrom the dropdown menu.

Continue to classic layout Stay on new layout
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.

Are you sure you want to delete this note?

No

Thanks for signing up.

We’ll send you a confirmation email shortly.


Sign up and receive emails about lynda.com 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 lynda.com.

Sign up and receive emails about lynda.com 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.