This is a migrated thread and some comments may be shown as answers.

[Solved] ChildBrowser not working with Kendo UI Mobile project

1 Answer 41 Views
General Discussion
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Don
Top achievements
Rank 1
Don asked on 10 Nov 2012, 07:44 PM
I am able to get the ChildBrowser working in a "Cross-platform Device Application (Blank)" project.  However, I can't get it to work in a "Cross-platform Device Application (Kendo UI Mobile)" project.  

This call fails:

window.plugins.childBrowser.showWebPage("http://www.google.com");

The reason is that "window.plugins" is undefined.

The code for adding the ChildBrowser is nearly identical in both projects so I'm confident that it is being implemented correctly in the Kendo UI Mobile project.

Please help.  Integrated Kendo UI is one of the biggest appeals of Icenium, so I really need it to work there.

1 Answer, 1 is accepted

Sort by
0
Don
Top achievements
Rank 1
answered on 10 Nov 2012, 08:48 PM
UPDATE/SOLVED:  ChildBrowser does not currently work in the simulator (http://icenium.com/community/forums/icenium-general-discussion/childbrowser-plug-in-how-to-use-it-).  Thus, if you want to test it, you must do so on a device.  I had tested my project/app on my device before adding ChildBrowser, so the app had already been installed.  Adding a new script (i.e. childbrowser.js) to a project does not automatically add it/update it in the app on the device you are testing on.  I needed to uninstall the app from my device and then run it again to get it to work.

TL;DR - When adding new scripts, uninstall the app from your phone and then "Run on device" again to ensure that they are included.
Tags
General Discussion
Asked by
Don
Top achievements
Rank 1
Answers by
Don
Top achievements
Rank 1
Share this question
or