Phonegap Sample Tutorial