Page 1 of 4
childBrowser not running
Posted: Sat Jan 05, 2013 3:22 pm
by Cortel Cosmin
Hi,
I tried to open a webview inside the app page using this cod but was not running:
var childBrowser = ChildBrowser.install();
window.plugins.childBrowser.showWebPage('http://m.facebook.com');
I have tried this on a android based mobile samsung galaxy s3.
Do you have any ideea why this is not running ...
Any other option for opening facebook site - because iframe for facebook is not running?
bst rgds
c.c.
childBrowser not running
Posted: Sat Jan 05, 2013 4:01 pm
by maxkatz
Did you install the app on the device or testing in the browser?
childBrowser not running
Posted: Sat Jan 05, 2013 7:06 pm
by Cortel Cosmin
I have used tiggzi tester on my android mobile.
childBrowser not running
Posted: Sat Jan 05, 2013 9:20 pm
by maxkatz
Does it work if you install he app directly on the phone?
childBrowser not running
Posted: Sat Jan 05, 2013 9:40 pm
by Cortel Cosmin
Not. I tried and is showing a blank page.
childBrowser not running
Posted: Sat Jan 05, 2013 9:47 pm
by maxkatz
Try this:
code
window.plugins.childBrowser.showWebPage('http://m.facebook.com');
/code
You don't need the first line in the latest plug-in version.
childBrowser not running
Posted: Sat Jan 05, 2013 9:59 pm
by Cortel Cosmin
I tried now with code:
window.plugins.childBrowser.showWebPage('http://m.facebook.com');
and is not running. Is showing a blank page.
childBrowser not running
Posted: Sat Jan 05, 2013 10:06 pm
by maxkatz
childBrowser not running
Posted: Sat Jan 05, 2013 10:19 pm
by Cortel Cosmin
I tried with:
http://google.com
istead of m.facebook.com and i get the same result- blank page.
childBrowser not running
Posted: Sat Jan 05, 2013 10:39 pm
by maxkatz
Can you post a screen shot of what you get?