An assignment using phonegap