|author||Paul Plaquette <firstname.lastname@example.org>||Mon Aug 26 17:11:01 2013 +0200|
|committer||Paul Plaquette <email@example.com>||Mon Aug 26 17:11:01 2013 +0200|
[cordova-tizen] Tizen SDK 2.2 support samples, add TizenCordovaMobileSpec that is cordova unit testing appliaction, mobile-spec, adapted to Tizen SDK 2.2
Apache Cordova is an open source project at the Apache Software Foundation (ASF).
TIZEN is not yet integrated in Cordova 3.x branch. (This the next Goal.)
git arcane: looking remote repository branches : ... git branch -r getting and checkout a branch:.......... git checkout -t origin/2.9.x
once you are on the 2.9.x local branch, you can create a new branch from it to store your work git branch myFeature-2.9.x
/tizen /samples ..... Ready-to-run TIZEN Eclipse IDE sample projects /templates ... Cordova TIZEN SDK projects templates for TIZEN Eclipse IDE /www ......... Barebones project assets
www folder contains the Cordova specific assets that must be available in a TIZEN Web project to make it ‘Cordova enabled’. If you have an existing TIZEN Web application project, copy/merge these files into its root directory.
Add the following lines into the
<head> section of your
index.html project file:
config.xml is a sample that you are free to alter or merge with an existing TIZEN configuration file. It gives privilèges access to TIZEN API, possible access to the web (URL), as well as other elements they may be required by a project as described by TIZEN SDK Documentation. Sample proposed here contains all elements required by Cordova API.
not that the “system” is necessary to get the Cordova “Device Ready” event to fire telling application Cordova is ready to be used In TIZEN SDK previous to SDK 2.1, the privileges was named “systeminfo”. In TIZEN SDK 2.1, the config.xml editor was not proposing the system privileges, and it had to be added manually. This issue was fixed in TIZEN SDK 2.2
config.xml file generated by TIZEN SDK Eclipse IDE TIZEN Web Wizard is referring application's icon as icon.png. In framework and www folders you will find icon.png and cordova_117.png files.
In TIZEN SDK 2.2 application icons are 117 by 117 pixels wide as png files. If you use cordova_117.png or another named file you have to change it in your application's config.xml file.
- cordova icon, for TIZEN we are not quite sure about the size to use...now it is a 64*64 png - inedx html, a starter html file - tizen.css, for notifications UI - sounds/ beep.wav, a file that should be used by notifications to play a "beep"
lib/ cordova.js, generated by make file
tizen SDK Samples/
a TIZEN SDK eclipse project (to be imported using Eclipse import wizard)
the cordova Legacy App adapted to TIZEN SDK: notifications/index.html is loading the tizen.css file for notifications (waiting to generate this from the source code)