Hi, I  didn’t get your idea clear.
Are you trying to start Android activity with JavaScript? If so, maybe you can 
check this: 
https://crosswalk-project.org/documentation/android/android_extensions.html.

Regards,
Xing

From: Crosswalk-help 
[mailto:[email protected]] On Behalf Of Adrian 
Reef
Sent: Sunday, August 2, 2015 12:55 PM
To: [email protected]
Subject: [Crosswalk-help] How can I invoke the browser from crosswalk's webview?

I would like to use something like this to invoke the android popup with the 
browser selector :


private final String url = "https://www.website.com";;



Uri uri = Uri.parse(url);

Intent intent = new Intent();

intent.setData(uri);

intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);

context.startActivity(intent);

but that's part of the google API and I really don't know how to make such a 
piece of code with plain javascript.

Is it possible to have access to such calls directly from crosswalk ?
Something comparable to "in-line asm in c++".

I'm probably trying to "use the tv remote with my nose", meaning that there 
should be an easier way to accomplish what I need, but I had to throw the 
pebble to see the ripples in the water... :P
_______________________________________________
Crosswalk-help mailing list
[email protected]
https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-help

Reply via email to