Questions tagged [childbrowser]

A Phonegap plugin to load external pages

ChildBrowser is one of Phonegap's most used plugins. It enables apps to load external web pages in a separate webview, without leaving the app. Available for Android, Blackberry, WindowsPhone, iOS/iPhone.

120 questions
1
vote
0 answers

Android Phonegap ChildBrowser - hiding ChildBrowser

I was wondering if there was any way to hide the ChildBrowser instead of closing it. I would like the webview in the ChildBrowser to persist instead of having to re-start it every time. Any suggestions on how to do this? I tried using dialog.hide()…
1
vote
1 answer

ChildBrowser Android plugin for PhoneGap - browser doesn't close until page is fully loaded

I'm using the latest version of ChildBrowser with PhoneGap 1.8.1 (Android). If I launch a browser window and then touch the "x" to close the window BEFORE the page is fully loaded (in this case espn.com) the window does not close and instead becomes…
Rob Lauer
  • 3,075
  • 1
  • 32
  • 44
1
vote
2 answers

How to enable Javascript to control Phonegap Childbrowser?

I use the Phonegap Childbrowser for oAuth 2.0 authentication. After the authentication, I want to use Javascript in the web page to hide the Childbrowser without pressing the "done" button. How to do that? For example, after authentication, we…
CashLee李秉骏
  • 1,038
  • 1
  • 10
  • 23
1
vote
3 answers

Phonegap + ChildBrowser + PHP CAS library on external site

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…
speyburn
  • 63
  • 1
  • 5
1
vote
2 answers

Don't work plugins ChildBrowser with Phonegap 1.9.0

Don't work plugins ChildBrowser (https://github.com/phonegap/phonegap-plugins/tree/master/Android/ChildBrowser) with Phonegap 1.9.0 (using android version). There are some errors in ChildBrowser.java. javascript write that window.plugins is…
Vitalii Sky
  • 133
  • 1
  • 2
  • 9
1
vote
1 answer

Is it possible to replace the childbrowser url with a database variable?

Is it possible to replace the url in the childbrowser with a database variable? The database variable is a url in the database. For example, in the code below res[i].showlink is a database variable that is a url. The child browser works perfectly if…
stat8
  • 689
  • 1
  • 6
  • 10
1
vote
1 answer

PhoneGap/Cordova: childBrowser plugin giving strange URL (iOS)

I am having a great deal of difficulty getting the childBrowser plugin to work Currently when I click my link it does nothing on my iOS simulator and when I click it using a browser I get a Web Page Not Found error with the web address looking…
MeltingDog
  • 14,310
  • 43
  • 165
  • 295
1
vote
1 answer

Phonegap Android: how to close base app on ChildBrowser exit callback

I have created a Phonegap Android app which shows a welcome page then opens a ChildBrowser window. I want my app to close when the user clicks the "exit" button of the ChildBrowser. I am binding the onClose event to a function, but it gives a call…
www.amitpatil.me
  • 3,001
  • 5
  • 43
  • 61
1
vote
1 answer

Open local pdf with Cordova in iOS

I've tried to open local PDFs stored in the Resources/Documents folder in my XCode project. The code I put in .js file is: Cordova.exec("ChildBrowserCommand.showWebPage", "file://"+pdf ); Where pdf is the name of the file, which changes for every…
Riccardo Cestari
  • 113
  • 1
  • 12
1
vote
1 answer

Phonegap / Cordova ChildBrowser won't run Twitter web intents (SSL?)

I'm trying to integrate Twitter sharing functionality into my Android PhoneGap application, and rather than re-implement the controls to shorten URLs and track tweet length, I thought I'd use their premade web intents at…
StickByAtlas
  • 357
  • 2
  • 14
1
vote
1 answer

Phonegap Childbrowser onLocationChanged (iOS)

I need the URL of the current childBrowser window.. I've tried with function doThis(){ var location; var cb = window.plugins.ChildBrowser; cb.onLocationChange = function(loc){ location = loc; } alert(location); } in my body
1
vote
1 answer

Adding CookieManager to android Childbrowser

I am trying to get local cookies (file://) to work on android 3.1+ within ChildBrowser. I found a blog response talking about this specific issue and how to remedy it with Cookie Manager. I can't figure out where in the plugin to put the code. Has…
user797892
  • 186
  • 1
  • 8
1
vote
6 answers

Using PhoneGap Plugin: Child Browser

I'm trying to use a Phonegap plugin and am having trouble. This is my first time using a plugin with Phonegap. The plugin I'm using is ChildBrowser for Android. I have linked the Javascript files in the headers.