Crosswalk Project for Android
This section describes how to create web and hybrid applications using the Crosswalk Project for the Android operating system.
Note: For Cordova users, follow the tutorial in Crosswalk WebView in Cordova 4.0 to easily use the advanced Crosswalk webview with your Cordova 4.0 app.
This tutorial explains how to:
Set up your development system host: the machine where you will be developing the application. Windows and Linux are officially supported.
Set up your Android target: the device that will run the Crosswalk application, either physical or virtual.
Run your application using the a stable release of Crosswalk
You will need to be comfortable using a command line to follow these steps. If you prefer to use a graphical integrated development environment (IDE), the free Intel XDK provides an alternative way to package applications for Crosswalk Android. See the Intel XDK website for more details.
In the documentation, commands you should run in a shell are prefixed with a
> character. On Windows, you can use the standard Windows console; on Linux, you can use a bash shell.
By the end of the tutorial, you should understand the workflow for creating Crosswalk applications from your own HTML5 projects.
This tutorial does not cover:
- How to write HTML5 applications. We use a simple HTML5 application for this tutorial, so we can focus on the packaging and deployment aspects of Crosswalk.
- How to use Crosswalk-specific APIs. The code in the tutorial should run on any modern web browser, as well as on Crosswalk.
- How to compile Crosswalk itself. This is covered in the Contribute section.