Lab 12: Weather Viewer App ( Due 08 Apr 2013 )

This app allows the user to obtain the city's current weather conditions or its five-day weather forecast. The app uses WeatherBug web services. The Android's JsonReader is used to read the weather data returned by the WeatherBug web services. The weather data is in JSON (JavaScript Object Notation) format.

Using the AddNewCity option in the action bar new cities can be added. The user can switch from current conditions to five-day forecast using the action bar's tabbed navigation. A list of cities is displayed as a ListFragment that contains a ListView.

The app has a companion app widget that can be installed on your home screen and your preferred city's current weather conditions can be viewed.

With this app you will be learning the following technologies on the Android platform:

Realize that the instructions in the book is for an older version of eclipse and android api. One of the challenges that you will have to face is to map the older features mentioned in the instructions to the newer features of both eclipse and the android platform.

After you finish, please demonstrate to Tong Zhao what you have achieved. You will then write a report that will have the following format

  Lab 12: Weather Viewer App


  Students' Names:

  Techniques Learned in the Lab:

  Problems Encountered:

  Solutions to those Problems:

  Enhancements to the Lab:

The enhancements should not be suggestions on the instructions in the lab but how to use the techniques learned in extending the functionalities of the app.

The report will be a Microsoft Word document called Lab_12.doc. You will submit the document through the turnin system by 11 pm Monday, 08 Apr 2013. There needs to be just one copy of the report for each pair of students.

You will also post on Piazza the last three items in your report - Problems, Solutions, and Enchancements by the above deadline.

Penalties: There will be a 10% late penalty per day if the report is not turned in by the deadline. After three days we will not accept the lab report. We will give you 1 class day grace period for showing the execution of your program to Tong Zhao. After the grace period there will be a late penalty of 10% for the next class period that you show the execution of your lab to Tong Zhao. After that we will not accept your lab.