Connecting Android Apps to RESTful Web Services
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.
- 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
(upbeat music) - [Voiceover] 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 STK 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.
Building Adaptive Android Apps with Fragments103,400 Views
Android SDK: Local Data Storage187,966 Views
Building Mobile Apps with Google Maps Android API v2115,725 Views
Distributing Android Apps (2014)49,038 Views
Simple Android Development Tools125,255 Views
Illustrator CC 2013 One-on-One: Fundamentals1,676,368 Views
iOS 8 App Development with Swift 1 Essential Training1,023,003 Views
PHP with MySQL Essential Training4,259,922 Views