Android App Development: RESTful Web Services

Android App Development: RESTful Web Services

English | MP4 | AVC 1280×720 | AAC 48KHz 2ch | 2h 49m | 601 MB

Android integrates with a variety of cloud-based and custom web services in a variety of ways, including RESTful services created in PHP or Java, to get, update, and send data over the web. This course shows how you can take advantage of web services, integrations, and libraries to optimize how your app handles network connectivity, errors, data management, and more.

IInstructor David Gassner starts with an overview discussion about available networking strategies, and then dives into how to declare networking permissions, make network requests, handle responses, parse data returned from a web service, and pass user credentials to services that support HTTP basic authentication. He also provides an overview of popular higher-level networking libraries, including OkHttp and Picasso, and offers recommendations for improving performance in network-connected apps. David also covers using static feeds, using dynamic PHP pages hosted on a public server web service, and integrating apps with network data storage.

Topics include:

  • Integrating mobile apps
  • Communicating with Android
  • Preventing app freezes with background threads
  • Preparing an app for network communication
  • Declaring permissions
  • Checking network connectivity
  • Retrieving data over the web
  • Using traditional APIs
  • Using third-party libraries
Table of Contents

1 Welcome
2 What you should know before starting this course
3 How to use the exercise files
4 What’s new in this update
5 Choose an HTTP client
6 Review the starting app
7 Review the sample web service
8 Concurrent programming in Android
9 Manage requests with AsyncTask
10 Manage requests with AsyncTaskLoader
11 Manage requests with IntentService
12 Report progress from IntentService
13 Set permissions and check the connection
14 Request data with HttpURLConnection
15 Model response data with POJO classes
16 Parse JSON responses with Gson
17 Parse XML responses with XmlPullParser
18 Add credentials for basic authentication
19 Display data in a RecyclerView
20 Download images from a web server
21 Load images in response to list requests
22 Cache images in persistent storage
23 Send parameters in a GET request
24 Send parameters in a POST request
25 Send GET requests with OkHttp
26 Send POST requests with OkHttp
27 Request and display images with Picasso
28 Configure a web service with Retrofit
29 Send Retrofit GET requests with services
30 Make asynchronous requests with Retrofit
31 Send request parameters with Retrofit
32 Next steps