Coder Social home page Coder Social logo

demo's Introduction

Chrome Demos

This repository serves as a placeholder of chrome demos for Chrome rebase testing.

Demos on Browsers

The simple way to use the demos is to access to the GitHub pages at http://honry.github.io/demo/

Demos on Android

Based on the Crosswalk Project, one can build an installable web application for Android platforms following these steps:

  1. Download Crosswalk Project for Android package (.zip) from https://download.01.org/crosswalk/releases/crosswalk/android/:

    wget url/to/android/canary/18.46.471.0/crosswalk-18.46.471.0.zip
  2. Clone Crosswalk-app-tools:

    git clone https://github.com/crosswalk-project/crosswalk-app-tools.git
  3. Set Environment variables:

    vim .bashrc
    export CROSSWALK_APP_TOOLS_CACHE_DIR=path/to/crosswalk/directory
    export PATH=path/to/crosswalk-app-tool/src:$PATH
  4. Go to crosswalk-app-tools directory:

    cd path/to/crosswalk-app-tools
  5. Install crosswalk-app-tools:

    sudo npm install
  6. Clone demo:

    git clone https://github.com/honry/demo.git
  7. Go to the parent directory of demo

    cd path/to/parent/directory/of/demo
  8. Create APK package as follows:

    crosswalk-pkg --crosswalk=path/to/crosswalk/android/crosswalk-18.46.471.0.zip demo/

    This will produce two apk files, one for x86 architecture and one for ARM. The apk files will end up in the parent directory of the application. Each file is given the name by append "xwalk_package_id", "xwalk_app_version" in the manifest, and an architecture identifier ("x86" or "arm"). For this demo, the output files are org.chrome.demo-0.1-debug.armabi-v7a.apk and org.chrome.demo-0.1-debug.x86.apk.

Demos on Windows

Build an installable web application for Windows platforms following these steps:

  1. Download Crosswalk Project for Windows package (.zip) from https://download.01.org/crosswalk/releases/crosswalk/windows/

  2. Install crosswalk-app-tools:

    npm install -g crosswalk-app-tools
  3. Clone demo:

    git clone https://github.com/honry/demo.git
  4. Go to the parent directory of demo

  5. Create MSI file as follows:

    crosswalk-pkg --crosswalk=path\to\crosswalk\windows\crosswalk-18.46.468.0.zip --platforms=windows demo\

    This will produce a msi file, it will end up in the parent directory of the application.

  6. Install the application on windows:

    Double click the msi file to install.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.