- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
- 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
- Marcas:
- HTML5
- Intel® XDK
1 Solução
- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
- 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 copiado
2 Respostas
- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
- 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
- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado

Responder
Opções do tópico
- Subscrever fonte RSS
- Marcar tópico como novo
- Marcar tópico como lido
- Flutuar este Tópico para o utilizador atual
- Marcador
- Subscrever
- Página amigável para impressora
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!