Practical tasks to perform and ensure that the basis of the chapter has been understood.
Assignment 1 (mandatory)
Create a PhoneGap application
Take the html file(s) of any previous assignment and package them as a PhoneGap application.
Use Eclipse and the instructions for building a PhoneGap application.
Make sure it starts in the Android Emulator.
Assignment 2 (optional)
Send network request to other site
The site you fetch data from should be a well known site (and not one of the other sample JSON files/scripts in the course). For instance, data from Facebook or a Twitter search.
Assignment 3 (optional)
Use some otherwise unavailable hardware feature
Create a PhoneGap application and use any of its documented APIs to gain access to one of the following hardware features: the camera, the compass or the accelerometer.
For the assignment, you don't really need to do anything with the data. You just have to show that you understand one of the APIs mentioned and display some simple bits of data that the API and hardware may send to your application.