test for phonegapp