It is not advisable to open external pages within the Cordova application itself. If you need only open external pages, just call the device’s default browser by:
navigator.app.loadUrl("seuLink", { openExternal:true } );
In the latter case, if you really need to open an internal page in your Cordova/Phonegap App, try iframe. However, as said, this can cause a lot of problems in the way the App works (events of Backbutton
, for example, may no longer function as expected).
PS: In addition, since Cordova 4.0, the standard plugin has been implemented Whitelist. You may need to configure the pages you will open in advance.
I hope it helps. :)
You want to open the page outside of Phonegap?
– Inkeliz
I want to open another screen in Phonegap itself, as if it was in Webview android that you can configure so when going to another page, it opens in the application itself.
– Diego Kappaun