Create a mobile application using Android™ Studio that shows the weather forecast for a selected geographic area of your choice. For this application, use any Weather service API.
Use the URL object to make a call to the forecast API. The call will return XML data that you can then parse and display. You will need to give your app INTERNET permission.
Complete the following steps:
- Create a screen with one spinner containing at least two cities.
- On selection of the city in the spinner, make a service call to the weather API that returns the results in XML format.
- Parse the XML results and display the current temperature and current conditions in a text view.