problem about childbrowser-Collection of common programming errors
John Saunders
javascript cordova childbrowser
I have been using ChildBrowser happily on my code with no issues through the following function:var app = {ready: false,initialize: function() {this.bind();},bind: function() {document.addEventListener(‘deviceready’, this.deviceready, false);},deviceready: function() {app.report(‘deviceready’);app.report(‘Installing child browser’);app.ready = true;//ChildBorwser initcb = ChildBrowser.install();},report: function(id) { console.log(“report:” + id);} };var layout = {showUrl: function(url) {if(app.
dda
iphone phonegap cordova childbrowser
Childbrowser plugin in Phonegap 1.7 can open only for the first time. I’m using Phonegap 1.7 and Childbrowser. Only for the first time child browser is working. After I closed the Childbrowser (pressed the done button) it’s not opening again when I tried to open it.My code is this:$(“a[target=_blank]”).bind(‘click’, function(e) {e.preventDefault();var thisUrl = $(this).attr(‘href’);cb.showWebPage(thisUrl);alert(“click”); }); When I click a link, the Childbrowser pops up and shows the page. I cli
krtek
ios cordova childbrowser
My application should change page displayed in ChildBrowser plugin based on incoming notification. Everything works fine, but I can’t figure how to programmatically change location in ChildBrowser – e.g. something like window.plugins.childBrowser.setURL(newURL).Trying to call openWebPage() for the second time ends with exception:*** Terminating app due to uncaught exception ‘NSInvalidArgumentException’, reason: ‘Application tried to present modally an active controller <MainViewController: 0
Viswa
android phonegap push-notification cordova childbrowser
I developed android mobile application using Android 2.2 and Phonegap 2.1.0 and i tested the application using Android 2.3.4 mobile, Application worked good. In my application i am using child browser and push notification.Later my colleague tested the application using Android 4.1.2 Mobile, he said “Geolocation not working”, then he told me that after upgrading Phonegap to 2.2.0, problem solved.so, i upgraded Phonegap from 2.1.0 to 2.2.0, but now i am getting error from child browser and push n
dda
phonegap cas childbrowser
I’m making a Phonegap app for Android. The app should use CAS authentication. At the moment I have a page which is at this address: “www.mysite.com” and that page automatically redirects to the CAS server authentication page. When I login to that page, the CAS redirects me to the page that I came from, in this case “www.mysite.com”. After login, I can show the user’s name that just logged in with the CAS PHP library and a function that’s built-in there.Question: when I open www.mysite.com in a C
Yang
phonegap cordova-2.0.0 childbrowser
I’m done extensive search online and followed tutorials but I still got Cannot read property ‘childBrowser’ of undefined.Here are my steps: download childbrowser.js and included after cordova-2.0.0.js in index.html download ChildBroswer.java and put it in com.phonegap.plugins.childBrowser. I checked the build path and src/ is included. modify the config.xml file by adding the following line (previous examples said plugins.xml which I assume is the old version of config.xmlplugin name=”ChildBrows
Web site is in building