Name: cordova-sectv-orsay
Owner: Samsung
Description: cordova-sectv-orsay` is an TV application library that allows for Cordova-based projects to be built for the Legacy Samsung Smart TV (A.K.A Orsay) Platform.
Created: 2015-10-26 01:09:46.0
Updated: 2017-11-01 21:46:25.0
Pushed: 2017-08-03 07:57:25.0
Homepage: null
Size: 102
Language: JavaScript
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
cordova-sectv-orsay
is an application library that allows for Cordova-based projects to be built for the Legacy Samsung Smart TV (A.K.A Orsay) Platform.
Cordova based applications are, at the core, applications written with web technology: HTML, CSS and JavaScript.
There are 3 cordova plugins which are supported on TOAST
If you want more details, please refer Supported Cordova Plugin
./
|-cordova-js-src/ .... cordova-js sectv-orsay platform implementation
| |-plugin/ ......... cordova plugin implementations
| |-exec.js ......... cordova/exec module
| `-platform.js ..... cordova/platform module having platform definition and bootstrap
|-www/ ............... Project template for Orsay platform
|-package.json ....... NPM package configuration
'-README.md .......... this file
This section describes the build process which creates cordova.js
file for the sectv-orsay
cordova platform.
Please see Cordova-js for more detail of compile
task.
Clone the Cordova-js project as sibling of this project.
t clone https://github.com/Samsung/cordova-sectv-orsay.git
t clone https://github.com/apache/cordova-js.git
Repositories will be created like below directory structure.
ordova-js
ordova-sectv-orsay
Add “sectv-orsay” as a target of “compile” task on Gruntfile.js
in the cordova-js project.
t.initConfig({
pkg: grunt.file.readJSON('package.json'),
"compile": {
...,
"sectv-orsay": {}
},
"compile-browserify": {
...
Add “sectv-orsay” property to “cordova-platforms” object in the cordova-js project's package.json
with path to this project's repository as its value.
dova-platforms": {
...,
"cordova-sectv-orsay": "../cordova-sectv-orsay"
In the cordova-js
directory's root, run below command to create cordova-js/pkg/cordova.sectv-orsay.js
file.
unt compile:sectv-orsay
We recommend to copy the created file to the www
directory which is including Orsay Application project templates for further use. In the cordova-js
directory:
./pkg/cordova.sectv-orsay.js ../cordova-sectv-orsay/www/cordova.js
For creating application package for Orsay TV:
Copy your Cordova project's www
directory which includes your application implementation to a new directory for the orsay project.
Assuming we've developed a Cordova project named as “MyProject” and it is located as a sibling of cordova-sectv-orsay
.
ordova-js
ordova-sectv-orsay
yProject
- platforms
- plugins
- www
|- index.html
`- ...
- config.xml
h
MyProject
-rf ./www ./orsayprj
Create the Orsay config.xml
file in the orsay project.
Copy the built cordova-js/pkg/cordova.sectv-orsay.js
to your new orsay project root with name cordova.js
.
../cordova-js/pkg/cordova.sectv-orsay.js ./orsayprj/cordova.js
Zip the orsay project directory to package.
p -r MyProject_sectv-orsay.zip ./orsayprj
We recommand to use the grunt-cordova-sectv Grunt task to automate these process.
Not yet