This question is locked. New answers and comments are not allowed.
Hello,
I'm currently developping an app for iOS and Android.
I have a problem when I want to open an external link :
for iOS, I use :
<a id="LinkPJ" href="url" rel="external" target="_blank" >
and it opens my link in Safari.
But in Android, this doesn't work :(
So I try to open my link in Childbrowser but it doesn't work neither !!
I have this issue :
Uncaught TypeError: Cannot call method 'addConstructor' of undefined (Plugins/Child%20Browser/childbrowser.js:102)
Below the part of my code :
Javascript :
$("#LinkPJ").click(function () {
window.plugins.childBrowser.showWebPage('http://www.google.com', { showLocationBar: true });
});
In the <head> :
<script type="text/javascript" src="cordova.js"></script>
<script src="Plugins/Child Browser/childbrowser.js"></script>
I don't find the origine of the problem... Do you have any idea or solution to open an external link out of the app (Childbrowser or native android browser) in android ?
Best regards.
Audrey.
I'm currently developping an app for iOS and Android.
I have a problem when I want to open an external link :
for iOS, I use :
<a id="LinkPJ" href="url" rel="external" target="_blank" >
and it opens my link in Safari.
But in Android, this doesn't work :(
So I try to open my link in Childbrowser but it doesn't work neither !!
I have this issue :
Uncaught TypeError: Cannot call method 'addConstructor' of undefined (Plugins/Child%20Browser/childbrowser.js:102)
Below the part of my code :
Javascript :
$("#LinkPJ").click(function () {
window.plugins.childBrowser.showWebPage('http://www.google.com', { showLocationBar: true });
});
In the <head> :
<script type="text/javascript" src="cordova.js"></script>
<script src="Plugins/Child Browser/childbrowser.js"></script>
I don't find the origine of the problem... Do you have any idea or solution to open an external link out of the app (Childbrowser or native android browser) in android ?
Best regards.
Audrey.