cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lorinb...@apache.org
Subject [39/50] [abbrv] webworks commit: Update config.xml for splash screen and icons
Date Tue, 07 May 2013 15:14:26 GMT
Update config.xml for splash screen and icons

Reviewed by Bryan Higgins <bhiggins@blackberry.com>
Tested by Tracy Li <tli@blackberry.com>


Project: http://git-wip-us.apache.org/repos/asf/cordova-blackberry/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-blackberry/commit/961bdf4e
Tree: http://git-wip-us.apache.org/repos/asf/cordova-blackberry/tree/961bdf4e
Diff: http://git-wip-us.apache.org/repos/asf/cordova-blackberry/diff/961bdf4e

Branch: refs/heads/future
Commit: 961bdf4e34b1af025f36ae22ef37d3adb92fea9c
Parents: 5dad31c
Author: DanielAudino <daudino@blackberry.com>
Authored: Mon Apr 29 15:37:40 2013 -0400
Committer: Bryan Higgins <bhiggins@blackberry.com>
Committed: Fri May 3 10:13:32 2013 -0400

----------------------------------------------------------------------
 .../templates/project/cordova/lib/config-parser.js |    1 +
 blackberry10/bin/templates/project/www/config.xml  |   12 ++++--------
 .../www/res/screen/blackberry/screen-225.png       |  Bin 16776 -> 0 bytes
 .../www/res/screen/blackberry/splash-1280x768.png  |  Bin 0 -> 60771 bytes
 .../www/res/screen/blackberry/splash-720x720.png   |  Bin 0 -> 50431 bytes
 .../www/res/screen/blackberry/splash-768x1280.png  |  Bin 0 -> 57145 bytes
 6 files changed, 5 insertions(+), 8 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-blackberry/blob/961bdf4e/blackberry10/bin/templates/project/cordova/lib/config-parser.js
----------------------------------------------------------------------
diff --git a/blackberry10/bin/templates/project/cordova/lib/config-parser.js b/blackberry10/bin/templates/project/cordova/lib/config-parser.js
index 15d6281..0e3d9e9 100644
--- a/blackberry10/bin/templates/project/cordova/lib/config-parser.js
+++ b/blackberry10/bin/templates/project/cordova/lib/config-parser.js
@@ -149,6 +149,7 @@ function processWidgetData(data, widgetConfig, session) {
     widgetConfig.autoOrientation = true;
     widgetConfig.autoDeferNetworkingAndJavaScript = true;
     widgetConfig.theme = "default";
+    widgetConfig.autoHideSplashScreen = "true";
 
     //set locally available features to access list
    if (data.feature) {

http://git-wip-us.apache.org/repos/asf/cordova-blackberry/blob/961bdf4e/blackberry10/bin/templates/project/www/config.xml
----------------------------------------------------------------------
diff --git a/blackberry10/bin/templates/project/www/config.xml b/blackberry10/bin/templates/project/www/config.xml
index 6e0d3c3..3edc941 100644
--- a/blackberry10/bin/templates/project/www/config.xml
+++ b/blackberry10/bin/templates/project/www/config.xml
@@ -42,14 +42,10 @@
   <access subdomains="true" uri="file:///SDCard" />
   <access subdomains="true" uri="*" />
 
-  <icon rim:hover="false" src="res/icon/blackberry/icon-80.png" />
-  <icon rim:hover="true" src="res/icon/blackberry/icon-80.png" />
-
-  <rim:loadingScreen backgroundColor="#CFCFCF"
-                     foregroundImage="res/screen/blackberry/screen-225.png"
-		     onFirstLaunch="true">
-    <rim:transitionEffect type="fadeOut" />
-  </rim:loadingScreen>
+  <icon src="res/icon/blackberry/icon-80.png" />
+  <rim:splash src="res/screen/blackberry/splash-1280x768.png" />
+  <rim:splash src="res/screen/blackberry/splash-720x720.png" />
+  <rim:splash src="res/screen/blackberry/splash-768x1280.png" />
 
   <content src="index.html" />
 

http://git-wip-us.apache.org/repos/asf/cordova-blackberry/blob/961bdf4e/blackberry10/bin/templates/project/www/res/screen/blackberry/screen-225.png
----------------------------------------------------------------------
diff --git a/blackberry10/bin/templates/project/www/res/screen/blackberry/screen-225.png b/blackberry10/bin/templates/project/www/res/screen/blackberry/screen-225.png
deleted file mode 100644
index 29873e9..0000000
Binary files a/blackberry10/bin/templates/project/www/res/screen/blackberry/screen-225.png
and /dev/null differ

http://git-wip-us.apache.org/repos/asf/cordova-blackberry/blob/961bdf4e/blackberry10/bin/templates/project/www/res/screen/blackberry/splash-1280x768.png
----------------------------------------------------------------------
diff --git a/blackberry10/bin/templates/project/www/res/screen/blackberry/splash-1280x768.png
b/blackberry10/bin/templates/project/www/res/screen/blackberry/splash-1280x768.png
new file mode 100644
index 0000000..5f4bca9
Binary files /dev/null and b/blackberry10/bin/templates/project/www/res/screen/blackberry/splash-1280x768.png
differ

http://git-wip-us.apache.org/repos/asf/cordova-blackberry/blob/961bdf4e/blackberry10/bin/templates/project/www/res/screen/blackberry/splash-720x720.png
----------------------------------------------------------------------
diff --git a/blackberry10/bin/templates/project/www/res/screen/blackberry/splash-720x720.png
b/blackberry10/bin/templates/project/www/res/screen/blackberry/splash-720x720.png
new file mode 100644
index 0000000..fe1756f
Binary files /dev/null and b/blackberry10/bin/templates/project/www/res/screen/blackberry/splash-720x720.png
differ

http://git-wip-us.apache.org/repos/asf/cordova-blackberry/blob/961bdf4e/blackberry10/bin/templates/project/www/res/screen/blackberry/splash-768x1280.png
----------------------------------------------------------------------
diff --git a/blackberry10/bin/templates/project/www/res/screen/blackberry/splash-768x1280.png
b/blackberry10/bin/templates/project/www/res/screen/blackberry/splash-768x1280.png
new file mode 100644
index 0000000..0fb9c1b
Binary files /dev/null and b/blackberry10/bin/templates/project/www/res/screen/blackberry/splash-768x1280.png
differ


Mime
View raw message