Software Archive
Read-only legacy content
17061 Discussions

Open Links in external App

Carsten_H_
Beginner
601 Views

Hello,

I try to open links in one app in the system app, weblinks for example in the browser, email-links in the standard mail-app.
This works fine with the standard cordova-build with the followong code:

<a href="#" onclick="window.open('http://some.link/', '_system');">Some Link</a>

Now I build my app with Crosswalk for Android and I have a problem to open these links on Devices with Android Kitkat and Lollipop. On older Android-Versions like 4.3 and belower it seems to work.

I try to use the following code:

<a href="#" onclick="intel.xdk.device.launchExternal('http://some.link/');">Some Link</a>

But it doesn't work. The Device-Plugin (Feautered&Custom Cordova Plugin) is checked.

How can I solve the problem an the link open in the standard-app like chrome e.g..

Greets

Carsten

0 Kudos
3 Replies
Nick_F_2
New Contributor III
601 Views

There is a problem with the XDK plugins, search this forum for other users having similar issues. The team say they are fixing, but it is causing major problems for me at the moment.

0 Kudos
Carsten_H_
Beginner
601 Views

With the new XDK-version 1912 I still have this problem.

EDIT:

I changed the Crosswalk Version back to Crosswalk 7 and now it works correctly.

0 Kudos
PaulF_IntelCorp
Employee
601 Views

@Carsten, did you try Crosswalk 12? That version seems to be pretty stable.

0 Kudos
Reply