• This repository has been archived on 03/Apr/2020
  • Stars
    star
    208
  • Rank 189,015 (Top 4 %)
  • Language
    Java
  • License
    Apache License 2.0
  • Created about 11 years ago
  • Updated over 8 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

DEPRECATED - Crosswalk-based Cordova Android

THIS REPOSITORY IS DEPRECATED

This repository is based on Cordova-Android 3.6.3, which is not being maintained upstream anymore. It thus does not receive new features or security fixes.

Starting with Cordova-Android 4.0.0, Crosswalk is officially supported with the standard releases and this repository is not necessary anymore.

You are encouraged to follow our Cordova 4+ guide and use a supported Cordova-Android release.

Crosswalk-based Cordova Android

Crosswalk-based Cordova Android is derived from Cordova Android and uses Crosswalk as the HTML5 runtime. It is an Android application library that allows for Cordova-based projects to be built for the Android Platform. Cordova based applications are, at the core, applications written with web technology: HTML, CSS and JavaScript.

Apache Cordova is a project of The Apache Software Foundation (ASF).

Requires

Setup Crosswalk Dependency

  1. Please download the crosswalk-webview for Android package from Crosswalk download site.
  2. Unzip the crosswalk-webview package to a folder and create a link named xwalk_core_library under framework linking to that folder.

For example, on Linux:

$cd /path/to/crosswalk-cordova-android/framework
$ln -s /path/to/crosswalk-webview-unzipped-folder/ xwalk_core_library

Cordova Android Developer Tools

The Cordova developer tooling is split between general tooling and project level tooling.

General Commands

./bin/create [path package activity] ... creates the ./example app or a cordova android project
./bin/check_reqs ....................... checks that your environment is set up for cordova-android development
./bin/update [path] .................... updates an existing cordova-android project to the version of the framework

Project Commands

These commands live in a generated Cordova Android project. Any interactions with the emulator require you to have an AVD defined.

./cordova/clean ........................ cleans the project
./cordova/build ........................ calls `clean` then compiles the project
./cordova/log   ........................ streams device or emulator logs to STDOUT
./cordova/run   ........................ calls `build` then deploys to a connected Android device. If no Android device is detected, will launch an emulator and deploy to it.
./cordova/version ...................... returns the cordova-android version of the current project

Importing a Crosswalk-based Cordova Android Project into Eclipse

  1. Import Crosswalk-based Cordova Android and XWalkCoreLibrary library projects by File > Import... > Existing Android Code Into Workspace. Point to [path_to_cordova_xwalk_android]/framework and click Finish.
  2. Build xwalk_core_library and Cordova projects.
  3. Import generated project by File > Import... > Existing Android Code. Point to the generated app path.
  4. Right click on the project root: Run as > Run Configurations
  5. Click on the Target tab and select Manual (this way you can choose the emulator or device to build to)

Running Tests

Please see details under test/README.md.

Further Reading

More Repositories

1

crosswalk

A web runtime built on Chrome. This project is currently unmaintained.
C++
2,328
star
2

crosswalk-website

Crosswalk Website
HTML
241
star
3

chromium-crosswalk

163
star
4

crosswalk-samples

Crosswalk sample applications
JavaScript
136
star
5

crosswalk-ios

Crosswalk Project for iOS
Swift
117
star
6

v8-crosswalk

C++
38
star
7

crosswalk-app-tools

Command line tool to create and package Crosswalk applications
JavaScript
38
star
8

crosswalk-test-suite

HTML
36
star
9

demo-express

A demo application to showcase Crosswalk's features and APIs
Java
34
star
10

crosswalk-web-driver

C++
20
star
11

tizen-extensions-crosswalk

C++
20
star
12

crosswalk-tizen

Crosswalk for Tizen project
Python
18
star
13

blink-crosswalk

DEPRECATED: Blink has been merged into Chromium, this repository is no longer in use.
18
star
14

DEPRECATED-crosswalk-apk-generator

A generator for Crosswalk Android application packages. NOTE: This project is not being actively maintained. You will have better luck using the crosswalk-app-tools (https://github.com/crosswalk-project/crosswalk-app-tools).
JavaScript
16
star
15

ios-extensions-crosswalk

repo to host iOS crosswalk extensions
Objective-C
14
star
16

crosswalk-demos

Sample applications and demos for Crosswalk.
Python
12
star
17

crosswalk-android-extensions

Repo for external crosswalk extensions for Android port
Python
12
star
18

crosswalk-app-tools-ios

Crosswalk App Tools iOS Backend
JavaScript
12
star
19

chromium-efl

C++
10
star
20

realsense-extensions-crosswalk

The Crosswalk Project Extensions for RealSense
JavaScript
9
star
21

meta-crosswalk

Crosswalk layer for OpenEmbedded and Yocto
BitBake
6
star
22

crosswalk-app-tools-deb

JavaScript
5
star
23

crosswalk-developer-tools-eclipse-plugin

Tools for Eclipse
Java
4
star
24

grunt-crosswalk

A grunt plugin for packaging crosswalk apps on android.
JavaScript
4
star
25

crosswalk-extensions-sdk

SDK for external crosswalk extensions development
C++
3
star
26

web-testing-service

HTML
3
star
27

crosswalk-github-webhooks

Python
2
star
28

crosswalk-efl

C++
2
star
29

crosswalk-extensions-twoinone

Crosswalk extensions to support detachable keyboards and other 2:1 use cases.
C#
2
star
30

crosswalk-website-v2

This repository is no longer active. Please go to the original crosswalk website repo:
CSS
2
star
31

blink-crosswalk-efl

blink-crosswalk used by the EFL WebView
C++
2
star
32

iotivity-extensions-crosswalk

Iotivity API for Crosswalk on Tizen/Linux
C++
2
star
33

chromium-crosswalk-efl

chromium-crosswalk used by the EFL WebView
C++
1
star
34

brackets-crosswalk

Set of extensions for Crosswalk for running Brackets editor
C++
1
star
35

khronos-cl-api-1.2

Git copy of https://cvs.khronos.org/svn/repos/registry/trunk/public/cl/api/1.2
C++
1
star
36

pycrosswalk

C
1
star
37

libpxc

The open source headers and library loader of Intel RealSense(TM) SDK
C++
1
star
38

ffmpeg-crosswalk

Chromium FFMPEG fork, primarily to retain ICS support
C
1
star
39

crosswalk-test-results

Github repo for the public Crosswalk test results
1
star
40

pages

Test repo for github project pages
HTML
1
star