Basic phonegap test implementation to try and catch url requests and handle them in the phonegap activity