You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by an...@apache.org on 2012/07/19 01:16:56 UTC

[3/10] bada-wac commit: adding standard sample app to bada

adding standard sample app to bada


Project: http://git-wip-us.apache.org/repos/asf/incubator-cordova-bada-wac/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cordova-bada-wac/commit/1bf09f15
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-bada-wac/tree/1bf09f15
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-bada-wac/diff/1bf09f15

Branch: refs/heads/master
Commit: 1bf09f15cacfdd5afae4d87876ba4572cec50c0b
Parents: 6ddecfa
Author: Anis Kadri <an...@gmail.com>
Authored: Wed Jul 18 16:15:02 2012 -0700
Committer: Anis Kadri <an...@gmail.com>
Committed: Wed Jul 18 16:15:02 2012 -0700

----------------------------------------------------------------------
 Res/config.xml                                |   47 +
 Res/cordova-2.0.0.js                          | 5676 ++++++++++++++++++++
 Res/css/index.css                             |  100 +
 Res/img/cordova.png                           |  Bin 0 -> 19932 bytes
 Res/index.html                                |  187 +-
 Res/js/cordova.js                             | 5628 -------------------
 Res/js/index.js                               |   15 +
 Res/js/sample.js                              |  404 --
 Res/res/icon/cordova_128.png                  |  Bin 0 -> 11401 bytes
 Res/res/icon/cordova_16.png                   |  Bin 0 -> 1699 bytes
 Res/res/icon/cordova_24.png                   |  Bin 0 -> 2215 bytes
 Res/res/icon/cordova_256.png                  |  Bin 0 -> 27408 bytes
 Res/res/icon/cordova_32.png                   |  Bin 0 -> 2843 bytes
 Res/res/icon/cordova_48.png                   |  Bin 0 -> 4111 bytes
 Res/res/icon/cordova_512.png                  |  Bin 0 -> 39830 bytes
 Res/res/icon/cordova_64.png                   |  Bin 0 -> 5463 bytes
 Res/res/icon/cordova_android_36.png           |  Bin 0 -> 3096 bytes
 Res/res/icon/cordova_android_48.png           |  Bin 0 -> 4090 bytes
 Res/res/icon/cordova_android_72.png           |  Bin 0 -> 6080 bytes
 Res/res/icon/cordova_android_96.png           |  Bin 0 -> 7685 bytes
 Res/res/icon/cordova_bb_80.png                |  Bin 0 -> 7287 bytes
 Res/res/icon/cordova_ios_114.png              |  Bin 0 -> 7869 bytes
 Res/res/icon/cordova_ios_144.png              |  Bin 0 -> 11706 bytes
 Res/res/icon/cordova_ios_57.png               |  Bin 0 -> 3908 bytes
 Res/res/icon/cordova_ios_72.png               |  Bin 0 -> 4944 bytes
 Res/res/screen/android_hdpi_landscape.png     |  Bin 0 -> 218302 bytes
 Res/res/screen/android_hdpi_portrait.png      |  Bin 0 -> 222148 bytes
 Res/res/screen/android_ldpi_landscape.png     |  Bin 0 -> 42616 bytes
 Res/res/screen/android_ldpi_portrait.png      |  Bin 0 -> 42034 bytes
 Res/res/screen/android_mdpi_landscape.png     |  Bin 0 -> 92347 bytes
 Res/res/screen/android_mdpi_portrait.png      |  Bin 0 -> 90555 bytes
 Res/res/screen/android_xhdpi_landscape.png    |  Bin 0 -> 489604 bytes
 Res/res/screen/android_xhdpi_portrait.png     |  Bin 0 -> 504508 bytes
 Res/res/screen/blackberry_transparent_300.png |  Bin 0 -> 15823 bytes
 Res/res/screen/blackberry_transparent_400.png |  Bin 0 -> 11001 bytes
 Res/res/screen/ipad_landscape.png             |  Bin 0 -> 407370 bytes
 Res/res/screen/ipad_portrait.png              |  Bin 0 -> 422441 bytes
 Res/res/screen/ipad_retina_landscape.png      |  Bin 0 -> 1534088 bytes
 Res/res/screen/ipad_retina_portrait.png       |  Bin 0 -> 1610434 bytes
 Res/res/screen/iphone_landscape.png           |  Bin 0 -> 92301 bytes
 Res/res/screen/iphone_portrait.png            |  Bin 0 -> 93897 bytes
 Res/res/screen/iphone_retina_landscape.png    |  Bin 0 -> 339639 bytes
 Res/res/screen/iphone_retina_portrait.png     |  Bin 0 -> 350593 bytes
 Res/res/screen/windows_phone_portrait.jpg     |  Bin 0 -> 11483 bytes
 Res/sample/index.html                         |  167 +
 Res/sample/js/cordova.js                      | 5628 +++++++++++++++++++
 Res/sample/js/sample.js                       |  404 ++
 Res/spec.html                                 |   50 +
 Res/spec/helper.js                            |   11 +
 Res/spec/index.js                             |   49 +
 Res/spec/lib/jasmine-1.2.0/MIT.LICENSE        |   20 +
 Res/spec/lib/jasmine-1.2.0/jasmine-html.js    |  616 +++
 Res/spec/lib/jasmine-1.2.0/jasmine.css        |   81 +
 Res/spec/lib/jasmine-1.2.0/jasmine.js         | 2529 +++++++++
 54 files changed, 15415 insertions(+), 6197 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cordova-bada-wac/blob/1bf09f15/Res/config.xml
----------------------------------------------------------------------
diff --git a/Res/config.xml b/Res/config.xml
new file mode 100644
index 0000000..a7e35db
--- /dev/null
+++ b/Res/config.xml
@@ -0,0 +1,47 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns     = "http://www.w3.org/ns/widgets"
+        xmlns:gap = "http://phonegap.com/ns/1.0"
+        id        = "io.cordova.hello-cordova"
+        version   = "2.0.0">
+    <name>Hello Cordova</name>
+
+    <description>
+        A sample Apache Cordova application that responds to the deviceready event.
+    </description>
+
+    <author href="http://cordova.io" email="callback-dev@incubator.apache.org">
+        Apache Cordova Team
+    </author>
+
+    <icon src="res/icon/cordova_512.png"        width="512" height="512" />
+    <icon src="res/icon/cordova_android_96.png" width="96"  height="96"  gap:platform="android" />
+    <icon src="res/icon/cordova_bb_80.png"      width="80"  height="80"  gap:platform="blackberry" />
+    <icon src="res/icon/cordova_ios_144.png"    width="144" height="144" gap:platform="ios" />
+
+    <gap:splash src="res/screen/android_hdpi_landscape.png"      width="800"  height="480"  gap:platform="android" />
+    <gap:splash src="res/screen/android_hdpi_portrait.png"       width="480"  height="800"  gap:platform="android" />
+    <gap:splash src="res/screen/android_ldpi_landscape.png"      width="320"  height="200"  gap:platform="android" />
+    <gap:splash src="res/screen/android_ldpi_portrait.png"       width="200"  height="320"  gap:platform="android" />
+    <gap:splash src="res/screen/android_mdpi_landscape.png"      width="480"  height="320"  gap:platform="android" />
+    <gap:splash src="res/screen/android_mdpi_portrait.png"       width="320"  height="480"  gap:platform="android" />
+    <gap:splash src="res/screen/android_xhdpi_landscape.png"     width="1280" height="720"  gap:platform="android" />
+    <gap:splash src="res/screen/android_xhdpi_portrait.png"      width="720"  height="1280" gap:platform="android" />
+    <gap:splash src="res/screen/blackberry_transparent_300.png"  width="300"  height="300"  gap:platform="blackberry" />
+    <gap:splash src="res/screen/blackberry_transparent_400.png"  width="200"  height="200"  gap:platform="blackberry" />
+    <gap:splash src="res/screen/ipad_landscape.png"              width="1024" height="748"  gap:platform="ios" />
+    <gap:splash src="res/screen/ipad_portrait.png"               width="768"  height="1004" gap:platform="ios" />
+    <gap:splash src="res/screen/ipad_retina_landscape.png"       width="2048" height="1496" gap:platform="ios" />
+    <gap:splash src="res/screen/ipad_retina_portrait.png"        width="1536" height="2008" gap:platform="ios" />
+    <gap:splash src="res/screen/iphone_landscape.png"            width="480"  height="320"  gap:platform="ios" />
+    <gap:splash src="res/screen/iphone_portrait.png"             width="320"  height="480"  gap:platform="ios" />
+    <gap:splash src="res/screen/iphone_retina_landscape.png"     width="960"  height="640"  gap:platform="ios" />
+    <gap:splash src="res/screen/iphone_retina_portrait.png"      width="640"  height="960"  gap:platform="ios" />
+    <gap:splash src="res/screen/windows_phone_portrait.jpg"      width="480"  height="800"  gap:platform="winphone" />
+
+    <feature name="http://api.phonegap.com/1.0/device" />
+
+    <preference name="phonegap-version" value="1.9.0" />
+    <preference name="orientation"      value="default" />
+    <preference name="target-device"    value="universal" />
+    <preference name="fullscreen"       value="false" />
+</widget>