New PhoneGap platform helper