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