- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi all, I'm using intel xdk to launch my remote site in app using window.open(URL) . Now in my remote site I want to show some PDF reports in child window for this I'm calling window.open(myreportURL) but pop-up is blocked and user is unable to disable pop-up blocker from app. For this i want to use cordova child browser. How to access cordova in remote site. Please let me know Thanks in Advance :)
- Tags:
- HTML5
- Intel® XDK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I believe you are looking for or is already using the InAppBrowser plugin.
We have a sample app that ships with the XDK that opens PDF files etc. Look for it under -> Start a new project -> Samples and Demos -> HTML5+Cordova -> InAppBrowser sample (fourth on top row)
Here is documentation to the plugin: https://github.com/apache/cordova-plugin-inappbrowser
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I recommend that you add any domain names that your applications will be communicating with to the whitelist field on the Projects panel > Build Settings > Android-Crosswalk, Android, or iOS . For more information on Intel XDK whitelist, visit https://software.intel.com/en-us/xdk/docs/using-cordova-whitelist-rules-with-intel-xdk.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I believe you are looking for or is already using the InAppBrowser plugin.
We have a sample app that ships with the XDK that opens PDF files etc. Look for it under -> Start a new project -> Samples and Demos -> HTML5+Cordova -> InAppBrowser sample (fourth on top row)
Here is documentation to the plugin: https://github.com/apache/cordova-plugin-inappbrowser
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you All,
My question is i'm opening a remoteSite in which I want to call window.open(URL) to show report in child browser. Can I access cordova from my remote Site.?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
No, you will not be able to access Cordova from the remote site. Cordova is only accessible from your local project files.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
With Cordova inAppBrowser I'm able to load website from server and showing it in webview. but in my website there is a call of window.open which should open URL in system browser (_system) but it is opening in webview itself.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Anusha,
As per your suggestion, I looked into inAppBrowser Sample template in intel XDk . for ios in configuration i found <access origin> with property "launch-external=yes". How to set this property for my URL in build settings I'm able to set it in whitelisting but it is not as "Launch-external" so i'm unable to launch in browser.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@vinay
window.open('http://html5test.com', '_system', 'location=yes');
The above should work to launch the page on system browser. Did you test on device? List the website under Intent (External Whitelist). That is what creates the launch-external entry in the config files.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You can only access your app functions from within the webview that contains your app. When you open another view, using an iframe or inappbrowser, you are opening a new "view" and you wont have access to your app's functions and data.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Paul's right. Once you open from an inappbrowser window, it is treated as a new view and you no longer have access to your app. You can only close that webview and return.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Everyone,
I'm using latest version of intel xdk which includes cordova 5.1.1 I included splashscreen plugin and added images in build settings for iOS landscape but still I'm getting cordova image as splash screen. pls help on this. Thanks in advance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@vinay
Please post a new topic with your issues. It gets cumbersome trying to follow multiple issues on the same thread.
Thanks!

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page