demo for PhoneGap