a sample of PhoneGap project