test for phonegap demo