Using childbrowser plugin with android phonegap

Recently i got task to make a mobile app which will run on iphone and android. Basically i am not a mobile app developer so the only choice i had was PhoneGap and jquery mobile.
I had app ready so my task was to wrap that in a phonegap wrapper to run it in ios and android os, after googleing i found that there is something named ChildBrowser

I found many different version of code for childbrowser plugin with android phonegap but many of them were not working properly. So i am posting the code here that worked for me properly. Hope this will help someone.
Using childbroeser plugin with android phonegap


About Amit

Myself Amit Patil from Maharashtra (India). I have been working as a Web Application Developer from last 7+ years, and its my passion to learn new things and implement them as a practice. Basically i am a PHP developer but now a days exploring more in CSS and javascript.

Comments

  1. Hi Amit. Nice tutorial. I was preparing an android app using the phonegap child browser and found one issue. While accessing the app, it’s showing a white screen for about 30 seconds then then redirecting to the actual website. Just wanted to know, is there any way to overcome this.

    Thanks in advance

    • You are trying in imulator or in mobile ? In emulator it takes little extra time, on mobile devices its little faster i guess.

  2. Mahmoud Kamel says:

    Hi, could you please provide a sample project that using childbrowser plugin
    thanks

Speak Your Mind

*


*

Notify me of followup comments via e-mail. You can also subscribe without commenting.