Java Android App using REST API – Network Data in Android Course

j

by Kivi

}

12.08.2021



Learn how to build an Android app with Java that handles JSON data from a REST API service. The app uses the Volley library to create a weather app using API data.

This course includes advice on building a RequestQueue, designing a Singleton, and using callbacks for async network communications. You will also learn to use the Volley library methods JsonArrayRequest and JsonArrayObject to parse a JSON file.

✏️ Course developed by Shad Sluiter. Check out his YouTube channel: https://www.youtube.com/user/shadsluiter

⭐️ Course Contents ⭐️
⌨️ (0:00:00) REST API explained: JSON vs XML
⌨️ (0:14:04) Introduction to the Android Weather App
⌨️ (0:17:32) Design the Layout
⌨️ (0:29:16) Button onClick Listeners
⌨️ (0:35:52) Request JSON Data with Volley
⌨️ (1:01:44) Singleton Request Queue in Volley
⌨️ (1:09:20) Callbacks for Async Requests
⌨️ (1:31:06) Fetch One JSONObject from an Array
⌨️ (1:45:56) JSONArrayRequest with Volley
⌨️ (1:59:14) Fetch JASONArray with Volley
⌨️ (2:08:16) Get Forecast by City Name

⭐️ Special thanks to our Champion supporters! ⭐️
? Loc Do
? Joseph C
? DeezMaster

Learn to code for free and get a developer job: https://www.freecodecamp.org

Read hundreds of articles on programming: https://freecodecamp.org/news

And subscribe for new videos on technology every day: https://youtube.com/subscription_center?add_user=freecodecamp

source

Kiviac.com is reader-supported. When you buy through links on our site, we may earn an affiliate commission.

Featured Articles

FOLLOW US

Comments

0 Comments

Related Posts

Take a Hike | Smugglers’ Notch Resort Vermont

Take a Hike | Smugglers’ Notch Resort Vermont

This weekend is shaping up to offer weather hikers love: comfortable temperatures, no serious heat to battle, and dry conditions that make getting out on the trail ideal. Before we start throwing around words like easy, moderate, and hard, though, let’s get one...