Thanks for letting me know Xing.  Will comment as requested.

 

Managed to get access via reflection in the end (answered my own SO post ->
http://stackoverflow.com/a/30921358/3679725) 

 

Migration is now complete with everything ported from android webview -
working great :)

 

 

From: Xu, Xing [mailto:[email protected]] 
Sent: 24 June 2015 01:54
To: Chris Hall; [email protected]
Subject: RE: [Crosswalk-help] ASK: How to setCacheMode

 

Thanks for trying crosswalk.

Currently XWalkSettings is not available. 

We are investigating about this. Could you please put comments about the
needed API  at https://crosswalk-project.org/jira/browse/XWALK-4395?

 

Regards,

Xing

 

From: Crosswalk-help
[mailto:[email protected]] On Behalf Of
Chris Hall
Sent: Thursday, June 18, 2015 7:28 PM
To: [email protected]
<mailto:[email protected]> 
Subject: [Crosswalk-help] ASK: How to setCacheMode

 

Hi,

 

I've just about completed a migration from android webview to crosswalk
embedded using the latest stable. The final thing I need to do is repliace
what webView.getSettings.setCacheMode() was doing.

I can only see this through the XWalkSettings class. Not quite sure how to
instantiate it correctly though. 

Have been trying

 

xWalkSettings = new XWalkSettings(mainWebView.getContext(), null , false);

 

Inside OnCreate in MainActivity. Don't think this is working though! 

 

What's the correct way to achieve this?

 

Thanks,

Chris

 

 

_______________________________________________
Crosswalk-help mailing list
[email protected]
https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-help

Reply via email to