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: / shadsluiter
❤️ Support for this channel comes from our friends at Scrimba – the coding platform that's reinvented interactive learning: https://scrimba.com/freecodecamp
⭐️ 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
On this page of the site you can watch the video online Java Android App using REST API - Network Data in Android Course with a duration of hours minute second in good quality, which was uploaded by the user freeCodeCamp.org 16 December 2020, share the link with friends and acquaintances, this video has already been watched 241,112 times on youtube and it was liked by 5.1 thousand viewers. Enjoy your viewing!