Beast Android Development: Parsing Json Data
3.7 (70 ratings)
Course Ratings are calculated from individual students’ ratings and a variety of other signals, like age of rating and reliability, to ensure that they reflect course quality fairly and accurately.
3,440 students enrolled

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.
3.7 (70 ratings)
Course Ratings are calculated from individual students’ ratings and a variety of other signals, like age of rating and reliability, to ensure that they reflect course quality fairly and accurately.
3,440 students enrolled
Last updated 12/2016
English [Auto]
Current price: $14.99 Original price: $24.99 Discount: 40% off
3 minutes left at this price!
30-Day Money-Back Guarantee
This course includes
  • 3 hours on-demand video
  • Full lifetime access
  • Access on mobile and TV
  • Certificate of Completion
Training 5 or more people?

Get your team access to 4,000+ top Udemy courses anytime, anywhere.

Try Udemy for Business
What you'll learn
  • 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
Course content
Expand all 16 lectures 03:01:59
+ Preparing Our Environment and Project Structure
6 lectures 54:46

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.

Preview 03:03

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

Downloading Android Studios

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!

Nox Emulator

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.

Getting Our Dependencies/Implementing A Flavor

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.  

Preview 07:02

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. 

Using An Event Bus Pt.2
+ Building Our UI
4 lectures 01:00:12

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.

Preview 11:09

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.1

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.2

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

Main Activity Pt. 3
+ Parsing The Data
3 lectures 33:43

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.

Modeling Our Data

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! 

Using Retro Fit/Thank You!

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

A Gift!
+ Working With Complex Json Data
3 lectures 33:18

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. 

Our new data/Modeling nested lists and objects

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.

Getting all our data/Retrofit errors
Our Final Project!
  • Be familar with Android Development and Java Programming

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. 

Who this course is for:
  • This Android course is meant for more experienced developers who want to learn about Json
  • If you are completely new to Android, this course is not for you.