This repository has been archived by the owner on Apr 3, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add DemoExpress samples, include 61 samples for crosswalk supportted …
…WebAPI
- Loading branch information
0 parents
commit c739015
Showing
240 changed files
with
22,496 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
This software is licensed under following license. | ||
|
||
**************************************************************************** | ||
Copyright (c) 2014 Intel Corporation. | ||
|
||
Redistribution and use in source and binary forms, with or without modification, | ||
are permitted provided that the following conditions are met: | ||
|
||
* Redistributions of works must retain the original copyright notice, this list | ||
of conditions and the following disclaimer. | ||
* Redistributions in binary form must reproduce the original copyright notice, | ||
this list of conditions and the following disclaimer in the documentation | ||
and/or other materials provided with the distribution. | ||
* Neither the name of Intel Corporation nor the names of its contributors | ||
may be used to endorse or promote products derived from this work without | ||
specific prior written permission. | ||
|
||
THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" | ||
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | ||
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | ||
ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, | ||
INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, | ||
BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY | ||
OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING | ||
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, | ||
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
**************************************************************************** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
## Introduction | ||
|
||
DemoExpress demostrate how to use Web API in Crosswalk application and development based on JQuery framework, including: | ||
* `Runtime & Packaging`: app uri | ||
* `Multimedia & Graphics`: | ||
* CSS3 APIs; | ||
* Graphics related APIs: cavas, svg; | ||
* Muti-Media related APIs: html audio/video, media query, web RTC. | ||
* `Networking & Storage`: | ||
* Networking related APIs: web messaging, web speech, | ||
* Storage related APIs: web storage, index DB, web SQL, session history, | ||
* File related APIs: file API, File directory & system, file writer | ||
* `Performance & Optimization`: Navigation timing, PageVisibility, Resource Timing, Animation Timing, Typed Arrary, Workers,ViewPort... | ||
* `Device & Hardware`: screen orientation, device orientation, browser status, gamepad, WebGL, LocationGPS, media capture, touch, vibration, web notificaiton... | ||
* `Socail` : contacts | ||
* `Experimental` : Device Capability, Presentation, SIMD, | ||
* `Security` : CSP, Sandbox, | ||
* `UI` : clipboard, drag&drop, | ||
* `Others` : DLNA media server, DLNA media renderer, NFC, | ||
|
||
More information about API support in Crosswalk, see https://crosswalk-project.org/#documentation/apis/web_apis | ||
|
||
## Prerequisite | ||
* Python >=2.7 | ||
* Following the instructions to set up the Crosswalk build enviornment for tizen or android at https://crosswalk-project.org/#documentation/getting_started | ||
* Set up the DLNA server (e.g. dleyna server) before running DLNA samples(`media server`, `media renderer`), details at https://github.com/01org/cloud-dleyna/wiki. | ||
|
||
## Building | ||
* Run pack.py to pack DemoExpress package, e.g.: | ||
|
||
./pack.py -t apk -m embedded -a x86 --tools= $PATH_TO_CROSSWALK | ||
|
||
* Check full options of `pack.py` by `--help` option. | ||
* You are ready to install and run DemoExpress(in zip package) on a target device. | ||
|
||
## Organization | ||
* Organize and filter the samples with tests.xml. | ||
* 2 samples are available: | ||
* `tests.tizen.xml` filter the APIs and features supported on Tizen platform. | ||
* `tests.android.xml` fliter the APIs and features supported on Android platform. | ||
* Update tests.xml to make user customized samples filter. | ||
|
||
## LICENSE | ||
|
||
Except as noted in `COPYING` and/or `NOTICE` files, or as headed with license | ||
info, test suite source code uses a BSD-3-Clause license that can be found in the | ||
`LICENSE` file. | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://tizen.org/test/DemoExpress" version="2.2.1" viewmodes=""> | ||
<access origin="*"/> | ||
<tizen:application id="sampletest.DemoExpress" package="sampletest" required_version="2.2"/> | ||
<icon src="icon.png" height="117" width="117"/> | ||
<name>DemoExpress</name> | ||
<tizen:privilege name="http://tizen.org/privilege/location"/> | ||
<tizen:privilege name="http://tizen.org/privilege/mediacapture"/> | ||
<tizen:privilege name="http://tizen.org/privilege/filesystem.read"/> | ||
<tizen:privilege name="http://tizen.org/privilege/filesystem.write"/> | ||
<tizen:setting context-menu="disable" background-support="disable" encryption="disable" install-location="auto"/> | ||
</widget> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
Copyright (c) 2013 Intel Corporation. | ||
Except as noted, this software is licensed under BSD-3-Clause License. | ||
Please, see the LICENSE.BSD-3 file for the BSD-3-Clause License. | ||
|
||
Following resources are licensed under its own license. | ||
|
||
ajax-loader.gif, | ||
icons-18-black.png, | ||
icons-18-white.png, | ||
icons-36-black.png, | ||
icons-36-white.png: | ||
The above files are licensed under the jQuery Mobile | ||
From https://github.com/jquery/jquery-mobile/tree/1.2-stable/css/themes/default/images | ||
Please see https://jquery.org/license/ [MIT license] |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.