PhoneGap API Demo