Hi, On Thu, Apr 24, 2014 at 11:30 AM, GIBERT Xavier <[email protected]> wrote: > Hello, I successfully integrated the xwalk_core_library project with my > Android app, replacing the original webview by the XWalkView. > > It works perfectly until I call one of the old JavascriptInterface methods > that I used with the webview. >
Thanks for trying Crosswalk. > From what I know, the JavascriptInterface cannot be used with the XWalkView. > I was wondering what is then the best option to implement a Java-Javascript > interface for XWalkView. An internal Extension? I have only found a tutorial > to create an external extension, not internal; what is very complicated > because at almost each command of the crosswalk building tutorials I get > errors; and I think I will not be able to access the application variables, > that is what I want to share. https://crosswalk-project.org/#wiki/Writing-a-Crosswalk-Java-Extension-on-Android Is it what you have been following? > > Can you help me with some indications about how to implement this sharing of > variables (methods returning the variables) between Android application and > XWalkView javascript code. What I want to share is mainly the Android > Preferences. > > Thanks a lot, regards. > > Xavi > > ---------------------------------------------------------------- > This message was sent using IMP, the Internet Messaging Program. > > > _______________________________________________ > Crosswalk-dev mailing list > [email protected] > https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-dev -- Alexis Menard _______________________________________________ Crosswalk-dev mailing list [email protected] https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-dev
