verify if is Phonegap app
function for setting services