Phonegap Connection API Sample APP