This question is locked. New answers and comments are not allowed.
in my index.html I have:
<a data-role= "button" href="#" data-inline="true" data-mini="true" onclick="myShowWebPage('http://www.yoursmartphoneapp.biz');">test</a>
and in my main.js I have :
function myShowWebPage(url){
alert (url);
window.plugins.childBrowser.showWebPage(url, { showLocationBar: true },
{ showAddress : true },
{ showNavigationBar : true });
}
On IOS device, works, perfectly. On Android, the alert is shown but not the web page.
The icenium sample childbrowser app does work fine, but seems awful complicated (dynamically adding click events etc) and I can't see where my code differs in the essence of calling the childbrowser showWebPage function.
<a data-role= "button" href="#" data-inline="true" data-mini="true" onclick="myShowWebPage('http://www.yoursmartphoneapp.biz');">test</a>
and in my main.js I have :
function myShowWebPage(url){
alert (url);
window.plugins.childBrowser.showWebPage(url, { showLocationBar: true },
{ showAddress : true },
{ showNavigationBar : true });
}
On IOS device, works, perfectly. On Android, the alert is shown but not the web page.
The icenium sample childbrowser app does work fine, but seems awful complicated (dynamically adding click events etc) and I can't see where my code differs in the essence of calling the childbrowser showWebPage function.