{"id":5998,"date":"2014-04-11T22:50:37","date_gmt":"2014-04-11T22:50:37","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2014\/04\/11\/problem-about-childbrowser-collection-of-common-programming-errors\/"},"modified":"2014-04-11T22:50:37","modified_gmt":"2014-04-11T22:50:37","slug":"problem-about-childbrowser-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2014\/04\/11\/problem-about-childbrowser-collection-of-common-programming-errors\/","title":{"rendered":"problem about childbrowser-Collection of common programming errors"},"content":{"rendered":"<ul>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/1aa48f7606f5b08595b0a0356a61e8b6?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nJohn Saunders<br \/>\njavascript cordova childbrowser<br \/>\nI 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(&#8216;deviceready&#8217;, this.deviceready, false);},deviceready: function() {app.report(&#8216;deviceready&#8217;);app.report(&#8216;Installing child browser&#8217;);app.ready = true;\/\/ChildBorwser initcb = ChildBrowser.install();},report: function(id) { console.log(&#8220;report:&#8221; + id);} };var layout = {showUrl: function(url) {if(app.<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/1cf16fce2e5a25205d75c7ac4d63dee3?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\ndda<br \/>\niphone phonegap cordova childbrowser<br \/>\nChildbrowser plugin in Phonegap 1.7 can open only for the first time. I&#8217;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&#8217;s not opening again when I tried to open it.My code is this:$(&#8220;a[target=_blank]&#8221;).bind(&#8216;click&#8217;, function(e) {e.preventDefault();var thisUrl = $(this).attr(&#8216;href&#8217;);cb.showWebPage(thisUrl);alert(&#8220;click&#8221;); }); When I click a link, the Childbrowser pops up and shows the page. I cli<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/07b7f8ce5420a2d1bd994220c018f60e?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nkrtek<br \/>\nios cordova childbrowser<br \/>\nMy application should change page displayed in ChildBrowser plugin based on incoming notification. Everything works fine, but I can&#8217;t figure how to programmatically change location in ChildBrowser &#8211; 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 &#8216;NSInvalidArgumentException&#8217;, reason: &#8216;Application tried to present modally an active controller &lt;MainViewController: 0<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/i.stack.imgur.com\/c84Ti.png?s=32&amp;g=1\" \/><br \/>\nViswa<br \/>\nandroid phonegap push-notification cordova childbrowser<br \/>\nI 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 &#8220;Geolocation not working&#8221;, 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<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/1cf16fce2e5a25205d75c7ac4d63dee3?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\ndda<br \/>\nphonegap cas childbrowser<br \/>\nI&#8217;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: &#8220;www.mysite.com&#8221; 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 &#8220;www.mysite.com&#8221;. After login, I can show the user&#8217;s name that just logged in with the CAS PHP library and a function that&#8217;s built-in there.Question: when I open www.mysite.com in a C<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/f465be46ec70f44aceaf33708930b11f?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nYang<br \/>\nphonegap cordova-2.0.0 childbrowser<br \/>\nI&#8217;m done extensive search online and followed tutorials but I still got Cannot read property &#8216;childBrowser&#8217; 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=&#8221;ChildBrows<\/li>\n<\/ul>\n<p>Web site is in building<\/p>\n","protected":false},"excerpt":{"rendered":"<p>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(&#8216;deviceready&#8217;, this.deviceready, false);},deviceready: function() {app.report(&#8216;deviceready&#8217;);app.report(&#8216;Installing child browser&#8217;);app.ready = true;\/\/ChildBorwser initcb = ChildBrowser.install();},report: function(id) { console.log(&#8220;report:&#8221; + id);} };var layout = {showUrl: function(url) {if(app. dda iphone phonegap cordova [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-5998","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/5998","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=5998"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/5998\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=5998"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=5998"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=5998"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}