test for phoneGap