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

Related Posts

instead of public transportation…a tesla tunnel

☆ REACH OUT ☆ PATREON⇢ https://www.patreon.com/aimemaggie INSTAGRAM ⇢ https://www.instagram.com/aimemaggie/ TWITTER⇢ https://twitter.com/aime_maggie TIKTOK⇢ aimemaggiee BUSINESS EMAIL ⇢ aime.bita.business@gmail.com WEBSITE ⇢ https://www.ourcollectivesparks.com/...

read more

Far Cry 6: Do Not Do It Yourself #1 | The Turret

Richard is a clumsy guy. That won't stop him from teaching you the Resolver philosophy. Watch his crazy tutorials, subscribe to the channel... But don't try this at home! In this episode, you will meet Richard and watch him build the Barracuda car turret from Far Cry...

read more
Follow Us

Comments

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

Related Posts

instead of public transportation…a tesla tunnel

instead of public transportation…a tesla tunnel

☆ REACH OUT ☆ PATREON⇢ https://www.patreon.com/aimemaggie INSTAGRAM ⇢ https://www.instagram.com/aimemaggie/ TWITTER⇢ https://twitter.com/aime_maggie TIKTOK⇢ aimemaggiee BUSINESS EMAIL ⇢ aime.bita.business@gmail.com WEBSITE ⇢ https://www.ourcollectivesparks.com/...

Far Cry 6: Do Not Do It Yourself #1 | The Turret

Far Cry 6: Do Not Do It Yourself #1 | The Turret

Richard is a clumsy guy. That won't stop him from teaching you the Resolver philosophy. Watch his crazy tutorials, subscribe to the channel... But don't try this at home! In this episode, you will meet Richard and watch him build the Barracuda car turret from Far Cry...