Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7892065
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T06:46:34+00:00 2026-06-03T06:46:34+00:00

After searching for a suitable way to open a browser within my app, i

  • 0

After searching for a suitable way to open a browser within my app, i came across ChildBrowser, which looked like it offered everything I was after. After following a few tutorials, i cannot seem to get the plugin to work. I have edited my PhoneGap.plist file for external hosts with a value of “*”, I have added in the plugins the ChildBrowserCommand, but when ever i run the application, nothing happens when i click the link. I have the following code in the head of my document;

<script type="text/javascript">
    var childBrowser;

    function onBodyLoad ()
    {
        document.addEventListener("deviceready", onDeviceReady, false);
    }

    //Phonegap ready to go
    function onDeviceReady()
    {
        alert("PhoneGap is ready");
        childBrowser = ChildBrowser.install();
    }

    function openChildBrowser(url)
    {
        try {
            window.plugins.childBrowser.ShowWebPage(url);
            //childBrowser.showWebPage(url);
        }
        cathc(err)
        {
            alert(err);
        }
    }

</script>

I have the ChildBrowser included straight after my phoneGap.js file but cannot seem to get it to run and i get no errors logged in the console. Does anyone know what is wrong or at least point me in the right direction?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T06:46:35+00:00Added an answer on June 3, 2026 at 6:46 am

    After spending hours/days chasing many confusing pages on the topic, I finally found a concise set of instructions in this blog page. Be sure to grab the latest code as shown in this github page. I was successful in getting the ChildBrowser plugin to work with PhoneGap 1.5.0 in Xcode 4.3 running in OSX 10.7.3 – and tested in iOS 4 and 5. Limitation I discovered is that it only works in portrait mode. I am now pursuing a resolution to include landscape mode.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I came across this question after searching for a ODBC or JDBC. To my
After searching for a way to drop a pin onto an imageview just like
After searching for how to POST large files using python, I came across this
After searching online and going through past stackoverflow posts for a suitable implementation for
After searching, I dont find the appropriate way to resolve following problem. After activating
This seems like it should be an easy fix, but after searching for hours
After searching and experimenting for 2 days I relent. What I'd like to do
After searching for a while I saw that they way to set a visible
After searching and reading a little bit I came up with the following SQL
After searching for similar questions I would like to ask the following question: I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.