The difference between crosswalk and WebView
Why do you use Corsswalk? Since the Cordova application is running on Android, it is called mobile phone webview, and in different Andro, different versions of the system, WebView performance gap is very large. In addition, instant is 4. X's Android WebView, performance is not very good, and web App The biggest problem is slow, that is caused by this. By replacing the Cordova WebView kernel with the crosswalk kernel, the performance of the application can be greatly improved in rendering.
WebView components, such as iOS UIWebView, Android WebView, and so on, as the system comes with the Web engine, in the HTML5 ability compared to Safari for IOS, Chrome for Android is one cut. In addition, on the Android platform, due to the serious system fragmentation, different Android version of the WebView HTML5 ability also has a large difference, resulting in the corresponding HTML5 application consistency is difficult to guarantee. And crosswalk, as mentioned earlier, the independent engine as a third party has better HTML5 function and performance support, better platform consistency, and a system integration experience similar to native applications.
Crosswalk uses the chromium kernel and continues to evolve rapidly (six-week update), enabling crosswalk-based Web applications to fully enjoy chromium's functional and performance advantages, as well as better platform consistency. At the same time, crosswalk supports the latest HTML5 APIs, including Webgl,webaudio,webrtc,gamepad,websocket and more.
How to configure crosswalk:
1 Download Cordova Android (ARM) from Crosswalk official website, the latest 10. X also temporarily does not support Cordova3.6, only supports 3.5 or below.
2 Open on Win7: C:\Users\Administrator\.cordova\lib\npm_cache\cordova-android, this directory, if you installed a different version of Cordova, each version will have a folder.
3 Locate the 3.5.0 folder and replace the files in the package with the files inside the crosswalk
4 Then set up the project according to the usual Cordova.
5 Experience Speed Improvement (*^__^*) ...
CORDOVA/WEBAPP/HTML5 app replaces kernel with Corsswalk, optimizes Android WebView