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