Jose Gómez <[email protected]> writes: > I am new to Crosswalk, though I have done some reading so far. > > I have an (existing) android app containing some html5/js/WebGL code, > currently using a WebView. That is grand for newer devices, but not so much > for older ones. > > I prefer my app to remain small, so I'd like to use Crosswalk shared mode, > and rely on the Android WebView if the runtime is not installed (in > particular in Android 4.x devices, where WebView cannot be updated). > > I.e. if the Android version is <5, if the Crosswalk runtime is available, > use it. Otherwise, suggest installing it. If the user refuses, continue > using WebView. > > Is something like this possible? Are there any examples of this?
I'm not sure about the specifics (including the "if the user refuses, use the stock WebView"), but I think the rest should be covered if you do a runtime check of the Android version and instantiate a XWalkView in shared mode. _______________________________________________ Crosswalk-help mailing list [email protected] https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-help
