PhoneGap Api Test