weather application writing

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:

  1. Create a screen with one spinner containing at least two cities.
  2. On selection of the city in the spinner, make a service call to the weather API that returns the results in XML format.
  3. Parse the XML results and display the current temperature and current conditions in a text view.
Scroll to Top