Phone gap sample applicaiton