Genre: eLearning | Language: English
Learn to access and consume RESTful APIs following the market’s best practices
Many successful apps such as Spotify, Google, and PayPal consume data from the internet and upload content. These apps mostly use RESTful APIs to communicate with a server through the HTTP protocol.
In this course, you’ll learn to create a Tinder-like client application in Android using Java libraries such as Retrofit and Gson to make sure your code is clean and testable. Moving on, you’ll learn to read and create JSON and use libraries to make your life easy. Then we’ll show you how to deal with the common errors that occur with REST APIs and how to use interceptors to intercept a request and log data and errors.
Finally, you’ll see the MVP architecture and implement its main features to create clean and testable code. By the end of this course, you’ll be able to build efficient Android applications that use RESTful services.
The code bundle for this video course is available at http://github.com/PacktPublishing/Buidling-Android-RESTful-Client-Apps
Style and Approach
This course takes a practical approach, where you’ll learn by creating an app. We’ll teach you everything you need to know about creating a REST API client in Android using Java.
What You Will Learn
Understand Android dependencies and libraries to create a REST client
Create an API-based app with modern libraries such as Retrofit.
Read JSON responses
Error handling and debugging
Build Clean and testable architecture for easy coding
Table of Contents
SETTING UP THE ENVIRONMENT
BUILDING A REST CLIENT
ERROR HANDLING AND DEBUGGING
CLEAN ARCHITECTURE AND UNIT TESTS