Oreilly - Building Android RESTful Client Apps
by Renaro Santos | Publisher: Packt Publishing | Release Date: March 2018 | ISBN: 9781788995863
Learn to access and consume RESTful APIs following the market's best practicesAbout This VideoThis course is your stepping stone to become a best-in-class Android developerSee clean code and testable architecture that teaches you the best practicesCrisp and clear, the videos in this course dive right into defining your RESTful client applicationIn DetailMany 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 https://github.com/PacktPublishing/Buidling-Android-RESTful-Client-Apps
- Chapter 1 : Setting Up the Environment
- The Course Overview 00:03:56
- Download Project from Git 00:02:47
- Exploring the UI and Setting Up Dependencies 00:03:56
- Configuring Android Studio and IDE Tips 00:07:30
- Quick Overview in the Sample App Code 00:11:28
- Chapter 2 : Building a REST Client
- What Is REST? 00:08:35
- Creating a REST Client in Android by Hand – Part One 00:09:11
- Creating a REST Client in Android by Hand – Part Two 00:08:06
- Creating a REST Client in Android Using Retrofit – Part One 00:09:07
- Creating a REST Client in Android Using Retrofit – Part Two 00:08:29
- Chapter 3 : Handling JSON
- What Is JSON? 00:04:51
- Reading and Creating JSON in Java 00:11:17
- Using a Library to Read/Create JSON 00:05:07
- Handling JSON within Retrofit 00:08:12
- Chapter 4 : Error Handling and Debugging
- Commons Errors During HTTP Requests 00:04:16
- How to Handle Request Errors in Android? 00:06:33
- How to Debug Request Calls Using Interceptors? 00:04:16
- Using Interceptors to Modify a Request 00:04:23
- Chapter 5 : Clean Architecture and Unit Tests
- What Is Clean Code and Why It Is So Important? 00:10:27
- MVP Architecture – Model View Presenter 00:11:04
- Implement the Voting Feature 00:07:14
- Writing Unit Tests 00:12:06
TO MAC USERS: If RAR password doesn't work, use this archive program:
RAR Expander 0.8.5 Beta 4 and extract password protected files without error.
TO WIN USERS: If RAR password doesn't work, use this archive program:
Latest Winrar and extract password protected files without error.