PhoneGap detection test.