Trials for PhoneGap