Permalink
Browse files

[Cordova - Tizen]

this is the very first submit related to the incubator-cordova-tizen repository
that is file required to target the tizen platform

for now it includes generated: codrdova.js, andcordova.tizen-debug.js, cordova.tizen.js, and cordova-2.0.0.js files

config.xml file must be included in the project as it holde features granting for tizen (most of them are involved in cordova javaSctipt library)
  • Loading branch information...
paul plaquette authored and imhotep committed Jul 27, 2012
1 parent 8d6fb0f commit 13c0744ca37bb393131d1fc95e545644f7ed4d07
View
@@ -0,0 +1,39 @@
+GREP = /usr/bin/grep
+CUT = /usr/bin/cut
+SHELL = /bin/sh
+CHMOD = chmod
+CP = cp
+MV = mv
+NOOP = $(SHELL) -c true
+RM_F = rm -f
+RM_RF = rm -rf
+TEST_F = test -f
+TOUCH = touch
+UMASK_NULL = umask 0
+DEV_NULL = > /dev/null 2>&1
+MKPATH = mkdir -p
+CAT = cat
+MAKE = make
+OPEN = open
+ECHO = echo
+ECHO_N = echo -n
+JAVA = java
+PGVERSION = 2.0.0
+
+all :: js copy_js
+
+clean :: clean_libs
+
+clean_libs:
+ $(RM_RF) lib
+
+copy_js: js
+ $(CP) lib/cordova.js framework/cordova-$(PGVERSION).js
+
+js: lib/cordova.js
+
+lib/cordova.js: js/cordova.tizen.js js/native.js
+ $(MKPATH) lib
+ $(RM_F) $@
+ $(CAT) js/native.js >> $@
+ $(CAT) js/cordova.tizen.js >> $@
View
@@ -0,0 +1,51 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" version="1.0" viewmodes="fullscreen" id="http://YourDomain.com/cordova">
+ <icon src="icon.png"/>
+ <content src="index.html"/>
+ <feature name="http://tizen.org/api/alarm" required="true"/>
+ <feature name="http://tizen.org/api/alarm.read" required="true"/>
+ <feature name="http://tizen.org/api/alarm.write" required="true"/>
+ <feature name="http://tizen.org/api/application" required="true"/>
+ <feature name="http://tizen.org/api/application.kill" required="true"/>
+ <feature name="http://tizen.org/api/application.launch" required="true"/>
+ <feature name="http://tizen.org/api/application.read" required="true"/>
+ <feature name="http://tizen.org/api/bluetooth" required="true"/>
+ <feature name="http://tizen.org/api/bluetooth.gap" required="true"/>
+ <feature name="http://tizen.org/api/bluetooth.spp" required="true"/>
+ <feature name="http://tizen.org/api/calendar" required="true"/>
+ <feature name="http://tizen.org/api/calendar.read" required="true"/>
+ <feature name="http://tizen.org/api/calendar.write" required="true"/>
+ <feature name="http://tizen.org/api/call" required="true"/>
+ <feature name="http://tizen.org/api/call.history" required="true"/>
+ <feature name="http://tizen.org/api/call.history.read" required="true"/>
+ <feature name="http://tizen.org/api/call.history.write" required="true"/>
+ <feature name="http://tizen.org/api/call.simple" required="true"/>
+ <feature name="http://tizen.org/api/contact" required="true"/>
+ <feature name="http://tizen.org/api/contact.read" required="true"/>
+ <feature name="http://tizen.org/api/contact.write" required="true"/>
+ <feature name="http://tizen.org/api/filesystem" required="true"/>
+ <feature name="http://tizen.org/api/filesystem.read" required="true"/>
+ <feature name="http://tizen.org/api/filesystem.write" required="true"/>
+ <feature name="http://tizen.org/api/geocoder" required="true"/>
+ <feature name="http://tizen.org/api/mediacontent" required="true"/>
+ <feature name="http://tizen.org/api/mediacontent.read" required="true"/>
+ <feature name="http://tizen.org/api/messaging" required="true"/>
+ <feature name="http://tizen.org/api/messaging.read" required="true"/>
+ <feature name="http://tizen.org/api/messaging.send" required="true"/>
+ <feature name="http://tizen.org/api/messaging.write" required="true"/>
+ <feature name="http://tizen.org/api/nfc" required="true"/>
+ <feature name="http://tizen.org/api/nfc.p2p" required="true"/>
+ <feature name="http://tizen.org/api/nfc.se" required="true"/>
+ <feature name="http://tizen.org/api/nfc.tag" required="true"/>
+ <feature name="http://tizen.org/api/systeminfo" required="true"/>
+ <feature name="http://tizen.org/api/time" required="true"/>
+ <feature name="http://tizen.org/api/time.read" required="true"/>
+ <feature name="http://tizen.org/api/time.write" required="true"/>
+ <feature name="http://tizen.org/api/tizen" required="true"/>
+ <feature name="http://tizen.org/api/sensors" required="true"/>
+ <name>Cordova</name>
+ <author/>
+ <license/>
+ <description>Cordova for Tizen sample application</description>
+</widget>
Oops, something went wrong.

0 comments on commit 13c0744

Please sign in to comment.