- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- I want to open a web page, in the user's default web browser (not inside my app).
- built using intel xdk (3088) on windows 8
- It does not seem to generate and error, it just does nothing.
- I do have the device plugin added.
- It seems to work on the emulate tab
my code:
function openLink (url) { intel.xdk.device.launchExternal(url); } openLink('https://twitter.com/');
Also tried:
- window.open(url, '_blank');
- window.open(url, '_system', 'location=yes');
- window.open(url, '_blank', 'location=no');
- adding http://* to build settings>android>whitelist>intent(allow-intent)
- changing http://*/* to http://* in build settings>android>whitelist>intent(allow-intent)
- adding * to build settings>android>whitelist>intent(allow-intent)
- adding http://twitter.com/ to build settings>android>whitelist>intent(allow-intent)
- crosswalk version 14
- crosswalk version 15
- unchecking 'optimize with crosswalk'
- building an apk and installing rather than using the app preview
- Tags:
- HTML5
- Intel® XDK
1 Solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- window.open(url, '_system', 'location=yes');
is the correct option.
you also have to add the "InAppBrowser" plugin from IntelXDK -> Project settings -> plugin management -> core plugins
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- window.open(url, '_system', 'location=yes');
is the correct option.
you also have to add the "InAppBrowser" plugin from IntelXDK -> Project settings -> plugin management -> core plugins
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
Thank you very much, both of those work.
I guess I assumed that InAppBrowser was only for opening pages inside your app. Should have read the description!