Tests device connections with phonegap // only for testing!!!