Coder Social home page Coder Social logo

bspencer / demo-express Goto Github PK

View Code? Open in Web Editor NEW

This project forked from crosswalk-project/demo-express

0.0 2.0 0.0 6.57 MB

A demo application to showcase Crosswalk's features and APIs

License: Other

CSS 64.97% Python 26.44% JavaScript 8.60%

demo-express's Introduction

Introduction

DemoExpress is a central place to collect web feature samples that demonstrate use of W3C standard APIs, Tizen Extension APIs, embedded APIs, and web runtime features. The following samples are published in DemoExpress. Key: [t] = Tizen only; [a] = Android only.

  • Runtime & Packaging: App URI
  • Multimedia & Graphics: Animation Transform, Audio Play, Canvas, CSS Animation, CSS Style, CSS Style Attribute, Flexible Box, Media Queries, SVG Transformation, Transitions, [t]Video Play, [a]Video Play, WebRTC
  • Networking & Storage: FileReader, IndexedDB, Session History, Web Database, Web Messaging, Web Speech, Web Storage
  • Performance & Optimization: Animation Timing, [a]High Resolution Time, [t]High Resolution Time, Navigation Timing, [a]Page Visibility, Performance Timeline, Resource Timing, Selectors, Typed Array, User Timing, [t]Viewport, Workers
  • Device & Hardware: Accelerometer, [a]Battery Status, Browser State, [a]Camera, Camera via UserMedia, Full Screen, Forms, [a]GamePad, HTML Template, Input, [a]Location GPS, Notifications, Screen Orientation, ShadowDom, Touch, [a]Vibration, WebAudio, WebGL
  • Social: Contacts Manager
  • Experimental: Device Capabilities, [a]Presentation, SIMD
  • Security: Sandbox
  • UI: Clipboard, [t]Drag and Drop
  • Tizen Extension APIs: [t]ApplicationManager, [t]AudioSystem, [t]Bookmark, [t]Content, [t]Download, [t]Tizen Filesystem, [t]MessagePort, [t]NBS, [t]SystemInfo, [t]SystemSetting IncomingCall, [t]SystemSetting Screen
  • Third Party Framework: [a]PDFjs
  • Scheme: [a]SchemeContent, [a]SchemesCheck
  • Manifest: [a]ManifestDemo1, [a]ManifestDemo2, [a]ManifestDemo3, [a]ManifestDemo4, [a]ManifestDemo5
  • Cordova: [a]CordovaInfo, [a]CordovaAccelerometer, [a]CordovaContacts, [a]CordovaLazyLoadJS, [a]CordovaNetwork
  • Other APIs: [t]Media Renderer, [t]Media Server, [t]NFC

Building

  • Pack the DemoExpress based on Crosswalk Android binary:

    • Download Crosswalk binary from Crosswalk release.

    • Unzip Crosswalk binary:

      $ mkdir -p /[userdir]/tools/crosswalk/

      $ unzip crosswalk-<version\>.zip -d /[userdir]/tools/

      $ cd /[userdir]/tools/

      $ mv crosswalk-<version\>\* crosswalk/

      For packing DemoExpress Crosswalk Cordova package, also need to unzip Crosswalk Cordova binary:

      $ mkdir -p /[userdir]/tools/cordova/

      $ unzip crosswalk-cordova-<version\>-<arch\>.zip -d /[userdir]/tools/

      $ cd /[userdir]/tools/

      $ mv crosswalk-cordova-<version\>\* cordova/

    • Goto DemoExpress folder to pack Android version:

      $ ./pack.py -t apk -m shared|embedded -a x86|arm --tools='/[userdir]/tools/'

      Pack DemoExpress Android Cordova version:

      $ ./pack.py -t cordova --tools='/[userdir]/tools/'

  • The pack.py script calls the pack command from Android (for Crosswalk-Cordova apps and regular Crosswalk apps)

  • Run Crosswalk App on Andriod

  • [Develop Crosswalk Cordova App] (https://crosswalk-project.org/documentation/cordova/develop_an_application.html)

Execution

Customization

  • File 'tests.xml' is provided to customize the samples in DemoExpress. Feel free to disable/enable the samples before packing the package.

  • Two sample lists tests.tizen.xml and tests.android.xml are released for Tizen and Android. The Cordova samples are disabled in tests.android.xml by default.

License

Except as noted in COPYING and/or NOTICE files, or in files with a license in the file header, test suite source code uses a BSD-3-Clause license described in the LICENSE file.

demo-express's People

Contributors

bspencer avatar jennycao avatar jianfengxu avatar tinazhao avatar xinliux avatar yunxliu avatar zhuyongyong avatar

Watchers

 avatar  avatar

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.