Book Image

Building Android RESTful Client Apps [Video]

By : Renaro Santos
Book Image

Building Android RESTful Client Apps [Video]

By: Renaro Santos

Overview of this book

<p>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.</p> <p>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.</p> <p>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.</p> <p>The code bundle for this video course is available at <a style="color: #fa8d11;" href="https://github.com/PacktPublishing/Buidling-Android-RESTful-Client-Apps" target="blank">https://github.com/PacktPublishing/Buidling-Android-RESTful-Client-Apps</a></p> <h1>Style and Approach</h1> <p>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.</p>
Table of Contents (5 chapters)
Chapter 4
Error Handling and Debugging
Content Locked
Section 1
Commons Errors During HTTP Requests
In this video, we will see what the main errors do when making HTTP requests are and how to solve them. - Identify what are the main errors - Remember the main reasons for these errors - Mind the timeout and try real life requests using online tools