Skip to content

A demo application to showcase Crosswalk's features and APIs

License

Notifications You must be signed in to change notification settings

bspencer/demo-express

 
 

Repository files navigation

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.

About

A demo application to showcase Crosswalk's features and APIs

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • CSS 65.0%
  • Python 26.4%
  • JavaScript 8.6%