3.65 out of 5
68 reviews on Udemy

Beast Android Development: Parsing Json Data

Learn to parse Json data into your android application by using third party libraries such as retrofit ,okhttp,and gson.
Carlos Valentin
3,433 students enrolled
English [Auto-generated]
Effectively communicate to a web API from an Android application
Understand how to use an event bus to decouple Android applications
Use third party libraries to implement a powerful app structure
Use flavors to organize server code within an Android application

Parsing Json data from a web API into an Android Application, is a critical skill to have as an Android Developer. In this course, you will learn how to do just that by using advanced third party libraries. You as the student will build one app with the instructor that will demonstrate effective communication with a web client API. 

This course is a relatively short one making it is perfect for quickly improving your development capabilities. In addition to learning about parsing Json data, you also learn an effective way of organizing your Android apps by using an event bus. Further, you get the instructors knowledge on any and all Android related questions regarding this course or not. 

Preparing Our Environment and Project Structure


Here we will see what app we are going to build and why it is important to learn how to parse Json data. In addition, the source code is also attached.

Downloading Android Studios

Just in case any Java guys are joining us. Here is a quick tutorial on how to get Android Studios.

Nox Emulator

It is important to have a real device to test your apps. However, just in case you don't have one, I will show you how to download and use my favorite free Android emulator, Nox!

Getting Our Dependencies/Implementing A Flavor

To start our project, we will first get all the dependencies out of the way. In addition, I will show you how to implement flavors and discuss the benefits of doing so.

Using An Event Bus Pt.1

Using an event bus to decouple an Android app has many benefits such as higher app performance and better organization. We will see how to effectively implement an event bus into our project in this lecture.  

Using An Event Bus Pt.2

With the event bus masterfully inside our project, it is time we learn how to use it. By the end of the lecture, you will understand how to use an event bus and why it is recommended to do so. 

Building Our UI

The Web API

In this lecture, we will take a look at the database we are going to be working with. In addition, we will obtain all the necessary credentials to use the database.

Main Activity Pt.1

Here we will start building our one and only activity by making the layout. This lecture will also iron out the details on how to use linear and relative layouts.

Main Activity Pt.2

With the layout completed, we will implement our Java code to get everything up and running. This is the first time we compile code in our project!

Main Activity Pt. 3

The main activity is almost complete! All we need to do is allow a way to scroll through the elements of our array list.

Parsing The Data

Modeling Our Data

With the UI complete, all that is left to do is parse the data. We start in this lecture by first modeling the Json Structure and then making a retro fit interface.

Using Retro Fit/Thank You!

We finish off the course by successfully parsing our data into the app by using retrofit, okhttp, and gson by google. Thank you very much for taking my course and I hope to see you in future courses! 

A Gift!

In this lecture I thank you guys and give you some coupons for my other courses!

Working With Complex Json Data

Our new data/Modeling nested lists and objects

In this lecture, we take a look at our new complex Json data structure. The data contains nested lists as well as nested objects. In addition, I will show you how to model these nested fields correctly. 

Getting all our data/Retrofit errors

In this lecture, we will use retrofit to grab all of our data by making an interface. In addition, we will see how to handle retrofit errors.

Our Final Project!
You can view and review the lecture materials indefinitely, like an on-demand channel.
Definitely! If you have an internet connection, courses on Udemy are available on any device at any time. If you don't have an internet connection, some instructors also let their students download course lectures. That's up to the instructor though, so make sure you get on their good side!
3.7 out of 5
68 Ratings

Detailed Rating

Stars 5
Stars 4
Stars 3
Stars 2
Stars 1
30-Day Money-Back Guarantee


3 hours on-demand video
Full lifetime access
Access on mobile and TV
Certificate of Completion