Hi Yashash,

https://crosswalk-project.org/apis/embeddingapidocs_v5/index.html

public class XWalkResourceClient

public boolean shouldOverrideUrlLoading(XWalkView view,
                               java.lang.String url)

Give the host application a chance to take over the control when a new url is 
about to be loaded in the current XWalkView. If XWalkClient is not provided, by 
default XWalkView will ask Activity Manager to choose the proper handler for 
the url. If XWalkClient is provided, return true means the host application 
handles the url, while return false means the current XWalkView handles the url.

I think this is what you want?

BR
Belem

From: Crosswalk-help 
[mailto:[email protected]] On Behalf Of 
Yashash Agarwal
Sent: Monday, August 31, 2015 7:08 PM
To: [email protected]
Cc: Balram Pandey <[email protected]>
Subject: [Crosswalk-help] Open links in External browser

Hello,
We are using the XWalkView in n Android application.
The pages we open in the XWalkView have hyperlinks. We want all further pages 
to open in the external browser available on the user's device (Chrome, Opera 
etc). Only the URL passed in loadUrl() should open in the XWalkWebview.

What command should we use for the same?
Thanks,
Yashash



--
Yashash Agarwal
Co-founder
Gamezop
Remember meeting shy IIT juniors at 2 States book launch, saying sir we run a 
small e-bookstore. I said what's the name. They said Flipkart. ~ Chetan Bhagat
_______________________________________________
Crosswalk-help mailing list
[email protected]
https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-help

Reply via email to