[jira] [Commented] (CB-8345) Splash screen does not display on Android.

2015-03-31 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-8345?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14389009#comment-14389009
 ] 

ASF subversion and git services commented on CB-8345:
-

Commit 9b3f750085c08de9a4210079af52786851da4f80 in 
cordova-plugin-splashscreen's branch refs/heads/old-ID from [~agrieve]
[ 
https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-splashscreen.git;h=9b3f750
 ]

CB-8345 Make default for splashscreen resource screen (which is what template 
and CLI assume it to be)


 Splash screen does not display on Android.
 --

 Key: CB-8345
 URL: https://issues.apache.org/jira/browse/CB-8345
 Project: Apache Cordova
  Issue Type: Bug
  Components: Android, CordovaLib
 Environment: OS: Ubuntu 14.04 LTS/x64
 Node.js: 0.10.35
 Cordova: 4.2.0
Reporter: Tomo Masakura
Assignee: Andrew Grieve

 Splash screen does not display on Android. On iOS it is displayed.
 {quote}
 $ cordova --version
 4.2.0
 $ cordova create project1
 $ cd project1
 $ cordova platform add android ios
 $ cordova emulate
 {quote}
 The iOS simulator splash screen is displayed. However, the Android Emulator 
 it is not displayed.
 It seems to be resolved by adding the following sentence to the config.xml, 
 but wanting to be displayed in the default state.
 {quote}
 preference name=SplashScreen value=screen /
 {quote}
 It seems to be solved by modifying the CordovaActivity.java.
 {quote}
 $ diff -Nur CordovaActivity.java.orig CordovaActivity.java
 --- CordovaActivity.java.orig   2015-01-22 16:39:42.0 +0900
 +++ CordovaActivity.java2015-01-22 16:39:56.0 +0900
 @@ -359,7 +359,7 @@
  init();
  }
  this.splashscreenTime = preferences.getInteger(SplashScreenDelay, 
 this.splashscreenTime);
 -String splash = preferences.getString(SplashScreen, null);
 +String splash = preferences.getString(SplashScreen, screen);
  if(this.splashscreenTime  0  splash != null)
  {
  this.splashscreen = getResources().getIdentifier(splash, 
 drawable, getClass().getPackage().getName());;
 {quote}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-8345) Splash screen does not display on Android.

2015-03-31 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-8345?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14389008#comment-14389008
 ] 

ASF subversion and git services commented on CB-8345:
-

Commit ba6730e5941a4e33f8b38e80b038a741671bcc9f in 
cordova-plugin-splashscreen's branch refs/heads/old-ID from [~agrieve]
[ 
https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-splashscreen.git;h=ba6730e
 ]

Revert CB-8345 android: Make splash the default resource ID instead of null

This reverts commit 1d89a2aa1bf0b714d0debf5928cd85e66bbd090b.
There were some other changes in there that weren't meant to be made!


 Splash screen does not display on Android.
 --

 Key: CB-8345
 URL: https://issues.apache.org/jira/browse/CB-8345
 Project: Apache Cordova
  Issue Type: Bug
  Components: Android, CordovaLib
 Environment: OS: Ubuntu 14.04 LTS/x64
 Node.js: 0.10.35
 Cordova: 4.2.0
Reporter: Tomo Masakura
Assignee: Andrew Grieve

 Splash screen does not display on Android. On iOS it is displayed.
 {quote}
 $ cordova --version
 4.2.0
 $ cordova create project1
 $ cd project1
 $ cordova platform add android ios
 $ cordova emulate
 {quote}
 The iOS simulator splash screen is displayed. However, the Android Emulator 
 it is not displayed.
 It seems to be resolved by adding the following sentence to the config.xml, 
 but wanting to be displayed in the default state.
 {quote}
 preference name=SplashScreen value=screen /
 {quote}
 It seems to be solved by modifying the CordovaActivity.java.
 {quote}
 $ diff -Nur CordovaActivity.java.orig CordovaActivity.java
 --- CordovaActivity.java.orig   2015-01-22 16:39:42.0 +0900
 +++ CordovaActivity.java2015-01-22 16:39:56.0 +0900
 @@ -359,7 +359,7 @@
  init();
  }
  this.splashscreenTime = preferences.getInteger(SplashScreenDelay, 
 this.splashscreenTime);
 -String splash = preferences.getString(SplashScreen, null);
 +String splash = preferences.getString(SplashScreen, screen);
  if(this.splashscreenTime  0  splash != null)
  {
  this.splashscreen = getResources().getIdentifier(splash, 
 drawable, getClass().getPackage().getName());;
 {quote}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-8345) Splash screen does not display on Android.

2015-03-30 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-8345?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14386718#comment-14386718
 ] 

ASF subversion and git services commented on CB-8345:
-

Commit 9b3f750085c08de9a4210079af52786851da4f80 in 
cordova-plugin-splashscreen's branch refs/heads/master from [~agrieve]
[ 
https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-splashscreen.git;h=9b3f750
 ]

CB-8345 Make default for splashscreen resource screen (which is what template 
and CLI assume it to be)


 Splash screen does not display on Android.
 --

 Key: CB-8345
 URL: https://issues.apache.org/jira/browse/CB-8345
 Project: Apache Cordova
  Issue Type: Bug
  Components: Android, CordovaLib
 Environment: OS: Ubuntu 14.04 LTS/x64
 Node.js: 0.10.35
 Cordova: 4.2.0
Reporter: Tomo Masakura
Assignee: Andrew Grieve

 Splash screen does not display on Android. On iOS it is displayed.
 {quote}
 $ cordova --version
 4.2.0
 $ cordova create project1
 $ cd project1
 $ cordova platform add android ios
 $ cordova emulate
 {quote}
 The iOS simulator splash screen is displayed. However, the Android Emulator 
 it is not displayed.
 It seems to be resolved by adding the following sentence to the config.xml, 
 but wanting to be displayed in the default state.
 {quote}
 preference name=SplashScreen value=screen /
 {quote}
 It seems to be solved by modifying the CordovaActivity.java.
 {quote}
 $ diff -Nur CordovaActivity.java.orig CordovaActivity.java
 --- CordovaActivity.java.orig   2015-01-22 16:39:42.0 +0900
 +++ CordovaActivity.java2015-01-22 16:39:56.0 +0900
 @@ -359,7 +359,7 @@
  init();
  }
  this.splashscreenTime = preferences.getInteger(SplashScreenDelay, 
 this.splashscreenTime);
 -String splash = preferences.getString(SplashScreen, null);
 +String splash = preferences.getString(SplashScreen, screen);
  if(this.splashscreenTime  0  splash != null)
  {
  this.splashscreen = getResources().getIdentifier(splash, 
 drawable, getClass().getPackage().getName());;
 {quote}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-8345) Splash screen does not display on Android.

2015-03-30 Thread Andrew Grieve (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-8345?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14386719#comment-14386719
 ] 

Andrew Grieve commented on CB-8345:
---

Thanks [~tomo_masakura]! I've fixed it up.

 Splash screen does not display on Android.
 --

 Key: CB-8345
 URL: https://issues.apache.org/jira/browse/CB-8345
 Project: Apache Cordova
  Issue Type: Bug
  Components: Android, CordovaLib
 Environment: OS: Ubuntu 14.04 LTS/x64
 Node.js: 0.10.35
 Cordova: 4.2.0
Reporter: Tomo Masakura
Assignee: Andrew Grieve

 Splash screen does not display on Android. On iOS it is displayed.
 {quote}
 $ cordova --version
 4.2.0
 $ cordova create project1
 $ cd project1
 $ cordova platform add android ios
 $ cordova emulate
 {quote}
 The iOS simulator splash screen is displayed. However, the Android Emulator 
 it is not displayed.
 It seems to be resolved by adding the following sentence to the config.xml, 
 but wanting to be displayed in the default state.
 {quote}
 preference name=SplashScreen value=screen /
 {quote}
 It seems to be solved by modifying the CordovaActivity.java.
 {quote}
 $ diff -Nur CordovaActivity.java.orig CordovaActivity.java
 --- CordovaActivity.java.orig   2015-01-22 16:39:42.0 +0900
 +++ CordovaActivity.java2015-01-22 16:39:56.0 +0900
 @@ -359,7 +359,7 @@
  init();
  }
  this.splashscreenTime = preferences.getInteger(SplashScreenDelay, 
 this.splashscreenTime);
 -String splash = preferences.getString(SplashScreen, null);
 +String splash = preferences.getString(SplashScreen, screen);
  if(this.splashscreenTime  0  splash != null)
  {
  this.splashscreen = getResources().getIdentifier(splash, 
 drawable, getClass().getPackage().getName());;
 {quote}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-8345) Splash screen does not display on Android.

2015-03-30 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-8345?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14386717#comment-14386717
 ] 

ASF subversion and git services commented on CB-8345:
-

Commit ba6730e5941a4e33f8b38e80b038a741671bcc9f in 
cordova-plugin-splashscreen's branch refs/heads/master from [~agrieve]
[ 
https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-splashscreen.git;h=ba6730e
 ]

Revert CB-8345 android: Make splash the default resource ID instead of null

This reverts commit 1d89a2aa1bf0b714d0debf5928cd85e66bbd090b.
There were some other changes in there that weren't meant to be made!


 Splash screen does not display on Android.
 --

 Key: CB-8345
 URL: https://issues.apache.org/jira/browse/CB-8345
 Project: Apache Cordova
  Issue Type: Bug
  Components: Android, CordovaLib
 Environment: OS: Ubuntu 14.04 LTS/x64
 Node.js: 0.10.35
 Cordova: 4.2.0
Reporter: Tomo Masakura
Assignee: Andrew Grieve

 Splash screen does not display on Android. On iOS it is displayed.
 {quote}
 $ cordova --version
 4.2.0
 $ cordova create project1
 $ cd project1
 $ cordova platform add android ios
 $ cordova emulate
 {quote}
 The iOS simulator splash screen is displayed. However, the Android Emulator 
 it is not displayed.
 It seems to be resolved by adding the following sentence to the config.xml, 
 but wanting to be displayed in the default state.
 {quote}
 preference name=SplashScreen value=screen /
 {quote}
 It seems to be solved by modifying the CordovaActivity.java.
 {quote}
 $ diff -Nur CordovaActivity.java.orig CordovaActivity.java
 --- CordovaActivity.java.orig   2015-01-22 16:39:42.0 +0900
 +++ CordovaActivity.java2015-01-22 16:39:56.0 +0900
 @@ -359,7 +359,7 @@
  init();
  }
  this.splashscreenTime = preferences.getInteger(SplashScreenDelay, 
 this.splashscreenTime);
 -String splash = preferences.getString(SplashScreen, null);
 +String splash = preferences.getString(SplashScreen, screen);
  if(this.splashscreenTime  0  splash != null)
  {
  this.splashscreen = getResources().getIdentifier(splash, 
 drawable, getClass().getPackage().getName());;
 {quote}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-8345) Splash screen does not display on Android.

2015-03-30 Thread Tomo Masakura (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-8345?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14387803#comment-14387803
 ] 

Tomo Masakura commented on CB-8345:
---

Thanks! I confirmed that it work correctly.

{quote}
$ cordova create cordova1
$ cd cordova1
$ cordova platform add https://github.com/apache/cordova-android.git
$ cordova emulate
{quite}

Splash screen does not appear at this point.

{quote}
$ cordova plugin add https://github.com/apache/cordova-plugin-splashscreen.git
$ cordova emulate
{quote}

Now splash screen is appeared.

 Splash screen does not display on Android.
 --

 Key: CB-8345
 URL: https://issues.apache.org/jira/browse/CB-8345
 Project: Apache Cordova
  Issue Type: Bug
  Components: Android, CordovaLib
 Environment: OS: Ubuntu 14.04 LTS/x64
 Node.js: 0.10.35
 Cordova: 4.2.0
Reporter: Tomo Masakura
Assignee: Andrew Grieve

 Splash screen does not display on Android. On iOS it is displayed.
 {quote}
 $ cordova --version
 4.2.0
 $ cordova create project1
 $ cd project1
 $ cordova platform add android ios
 $ cordova emulate
 {quote}
 The iOS simulator splash screen is displayed. However, the Android Emulator 
 it is not displayed.
 It seems to be resolved by adding the following sentence to the config.xml, 
 but wanting to be displayed in the default state.
 {quote}
 preference name=SplashScreen value=screen /
 {quote}
 It seems to be solved by modifying the CordovaActivity.java.
 {quote}
 $ diff -Nur CordovaActivity.java.orig CordovaActivity.java
 --- CordovaActivity.java.orig   2015-01-22 16:39:42.0 +0900
 +++ CordovaActivity.java2015-01-22 16:39:56.0 +0900
 @@ -359,7 +359,7 @@
  init();
  }
  this.splashscreenTime = preferences.getInteger(SplashScreenDelay, 
 this.splashscreenTime);
 -String splash = preferences.getString(SplashScreen, null);
 +String splash = preferences.getString(SplashScreen, screen);
  if(this.splashscreenTime  0  splash != null)
  {
  this.splashscreen = getResources().getIdentifier(splash, 
 drawable, getClass().getPackage().getName());;
 {quote}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-8345) Splash screen does not display on Android.

2015-03-29 Thread Tomo Masakura (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-8345?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14385752#comment-14385752
 ] 

Tomo Masakura commented on CB-8345:
---

Hi Andrew. Thanks!

I understand that does not appear splash screen without we not install the 
plugin from cordova-android@4.0.0.

In addition, I have also understood the special case of iOS.

However, I think I be better of splash than the screen. Because, the file 
name of the cordova-android's splash image is  screen.

https://github.com/apache/cordova-android/tree/master/bin/templates/project/res/drawable-land-hdpi

 Splash screen does not display on Android.
 --

 Key: CB-8345
 URL: https://issues.apache.org/jira/browse/CB-8345
 Project: Apache Cordova
  Issue Type: Bug
  Components: Android, CordovaLib
 Environment: OS: Ubuntu 14.04 LTS/x64
 Node.js: 0.10.35
 Cordova: 4.2.0
Reporter: Tomo Masakura
Assignee: Andrew Grieve

 Splash screen does not display on Android. On iOS it is displayed.
 {quote}
 $ cordova --version
 4.2.0
 $ cordova create project1
 $ cd project1
 $ cordova platform add android ios
 $ cordova emulate
 {quote}
 The iOS simulator splash screen is displayed. However, the Android Emulator 
 it is not displayed.
 It seems to be resolved by adding the following sentence to the config.xml, 
 but wanting to be displayed in the default state.
 {quote}
 preference name=SplashScreen value=screen /
 {quote}
 It seems to be solved by modifying the CordovaActivity.java.
 {quote}
 $ diff -Nur CordovaActivity.java.orig CordovaActivity.java
 --- CordovaActivity.java.orig   2015-01-22 16:39:42.0 +0900
 +++ CordovaActivity.java2015-01-22 16:39:56.0 +0900
 @@ -359,7 +359,7 @@
  init();
  }
  this.splashscreenTime = preferences.getInteger(SplashScreenDelay, 
 this.splashscreenTime);
 -String splash = preferences.getString(SplashScreen, null);
 +String splash = preferences.getString(SplashScreen, screen);
  if(this.splashscreenTime  0  splash != null)
  {
  this.splashscreen = getResources().getIdentifier(splash, 
 drawable, getClass().getPackage().getName());;
 {quote}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-8345) Splash screen does not display on Android.

2015-03-29 Thread Tomo Masakura (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-8345?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14385753#comment-14385753
 ] 

Tomo Masakura commented on CB-8345:
---

Hi Andrew. Thanks!

I understand that does not appear splash screen without we not install the 
plugin from cordova-android@4.0.0.

In addition, I have also understood the special case of iOS.

However, I think I be better of splash than the screen. Because, the file 
name of the cordova-android's splash image is  screen.

https://github.com/apache/cordova-android/tree/master/bin/templates/project/res/drawable-land-hdpi

 Splash screen does not display on Android.
 --

 Key: CB-8345
 URL: https://issues.apache.org/jira/browse/CB-8345
 Project: Apache Cordova
  Issue Type: Bug
  Components: Android, CordovaLib
 Environment: OS: Ubuntu 14.04 LTS/x64
 Node.js: 0.10.35
 Cordova: 4.2.0
Reporter: Tomo Masakura
Assignee: Andrew Grieve

 Splash screen does not display on Android. On iOS it is displayed.
 {quote}
 $ cordova --version
 4.2.0
 $ cordova create project1
 $ cd project1
 $ cordova platform add android ios
 $ cordova emulate
 {quote}
 The iOS simulator splash screen is displayed. However, the Android Emulator 
 it is not displayed.
 It seems to be resolved by adding the following sentence to the config.xml, 
 but wanting to be displayed in the default state.
 {quote}
 preference name=SplashScreen value=screen /
 {quote}
 It seems to be solved by modifying the CordovaActivity.java.
 {quote}
 $ diff -Nur CordovaActivity.java.orig CordovaActivity.java
 --- CordovaActivity.java.orig   2015-01-22 16:39:42.0 +0900
 +++ CordovaActivity.java2015-01-22 16:39:56.0 +0900
 @@ -359,7 +359,7 @@
  init();
  }
  this.splashscreenTime = preferences.getInteger(SplashScreenDelay, 
 this.splashscreenTime);
 -String splash = preferences.getString(SplashScreen, null);
 +String splash = preferences.getString(SplashScreen, screen);
  if(this.splashscreenTime  0  splash != null)
  {
  this.splashscreen = getResources().getIdentifier(splash, 
 drawable, getClass().getPackage().getName());;
 {quote}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-8345) Splash screen does not display on Android.

2015-03-24 Thread Raymond Camden (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-8345?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14377824#comment-14377824
 ] 

Raymond Camden commented on CB-8345:


Andrew, can you speak a bit more about your comment? Are you saying that going 
forward it *will* require a plugin, even if you don't need to programatically 
close/show the screen?

 Splash screen does not display on Android.
 --

 Key: CB-8345
 URL: https://issues.apache.org/jira/browse/CB-8345
 Project: Apache Cordova
  Issue Type: Bug
  Components: Android, CordovaLib
 Environment: OS: Ubuntu 14.04 LTS/x64
 Node.js: 0.10.35
 Cordova: 4.2.0
Reporter: Tomo Masakura
Assignee: Andrew Grieve

 Splash screen does not display on Android. On iOS it is displayed.
 {quote}
 $ cordova --version
 4.2.0
 $ cordova create project1
 $ cd project1
 $ cordova platform add android ios
 $ cordova emulate
 {quote}
 The iOS simulator splash screen is displayed. However, the Android Emulator 
 it is not displayed.
 It seems to be resolved by adding the following sentence to the config.xml, 
 but wanting to be displayed in the default state.
 {quote}
 preference name=SplashScreen value=screen /
 {quote}
 It seems to be solved by modifying the CordovaActivity.java.
 {quote}
 $ diff -Nur CordovaActivity.java.orig CordovaActivity.java
 --- CordovaActivity.java.orig   2015-01-22 16:39:42.0 +0900
 +++ CordovaActivity.java2015-01-22 16:39:56.0 +0900
 @@ -359,7 +359,7 @@
  init();
  }
  this.splashscreenTime = preferences.getInteger(SplashScreenDelay, 
 this.splashscreenTime);
 -String splash = preferences.getString(SplashScreen, null);
 +String splash = preferences.getString(SplashScreen, screen);
  if(this.splashscreenTime  0  splash != null)
  {
  this.splashscreen = getResources().getIdentifier(splash, 
 drawable, getClass().getPackage().getName());;
 {quote}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-8345) Splash screen does not display on Android.

2015-03-24 Thread Raymond Camden (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-8345?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14378013#comment-14378013
 ] 

Raymond Camden commented on CB-8345:


Can I ask why? Currently icons can be configured w/o a plugin. Also, iOS shows 
a splash screen by default. Will iOS stop showing a splash screen by default? 
If I don't want to work with the SS via JS, I just want to customize it, isn't 
it simpler to be able to edit config.xml and have that work out of the box? 
(Btw, I apologize if this was hashed out on the mailing list!)

 Splash screen does not display on Android.
 --

 Key: CB-8345
 URL: https://issues.apache.org/jira/browse/CB-8345
 Project: Apache Cordova
  Issue Type: Bug
  Components: Android, CordovaLib
 Environment: OS: Ubuntu 14.04 LTS/x64
 Node.js: 0.10.35
 Cordova: 4.2.0
Reporter: Tomo Masakura
Assignee: Andrew Grieve

 Splash screen does not display on Android. On iOS it is displayed.
 {quote}
 $ cordova --version
 4.2.0
 $ cordova create project1
 $ cd project1
 $ cordova platform add android ios
 $ cordova emulate
 {quote}
 The iOS simulator splash screen is displayed. However, the Android Emulator 
 it is not displayed.
 It seems to be resolved by adding the following sentence to the config.xml, 
 but wanting to be displayed in the default state.
 {quote}
 preference name=SplashScreen value=screen /
 {quote}
 It seems to be solved by modifying the CordovaActivity.java.
 {quote}
 $ diff -Nur CordovaActivity.java.orig CordovaActivity.java
 --- CordovaActivity.java.orig   2015-01-22 16:39:42.0 +0900
 +++ CordovaActivity.java2015-01-22 16:39:56.0 +0900
 @@ -359,7 +359,7 @@
  init();
  }
  this.splashscreenTime = preferences.getInteger(SplashScreenDelay, 
 this.splashscreenTime);
 -String splash = preferences.getString(SplashScreen, null);
 +String splash = preferences.getString(SplashScreen, screen);
  if(this.splashscreenTime  0  splash != null)
  {
  this.splashscreen = getResources().getIdentifier(splash, 
 drawable, getClass().getPackage().getName());;
 {quote}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-8345) Splash screen does not display on Android.

2015-03-24 Thread Andrew Grieve (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-8345?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14378357#comment-14378357
 ] 

Andrew Grieve commented on CB-8345:
---

That all sounds right :)

 Splash screen does not display on Android.
 --

 Key: CB-8345
 URL: https://issues.apache.org/jira/browse/CB-8345
 Project: Apache Cordova
  Issue Type: Bug
  Components: Android, CordovaLib
 Environment: OS: Ubuntu 14.04 LTS/x64
 Node.js: 0.10.35
 Cordova: 4.2.0
Reporter: Tomo Masakura
Assignee: Andrew Grieve

 Splash screen does not display on Android. On iOS it is displayed.
 {quote}
 $ cordova --version
 4.2.0
 $ cordova create project1
 $ cd project1
 $ cordova platform add android ios
 $ cordova emulate
 {quote}
 The iOS simulator splash screen is displayed. However, the Android Emulator 
 it is not displayed.
 It seems to be resolved by adding the following sentence to the config.xml, 
 but wanting to be displayed in the default state.
 {quote}
 preference name=SplashScreen value=screen /
 {quote}
 It seems to be solved by modifying the CordovaActivity.java.
 {quote}
 $ diff -Nur CordovaActivity.java.orig CordovaActivity.java
 --- CordovaActivity.java.orig   2015-01-22 16:39:42.0 +0900
 +++ CordovaActivity.java2015-01-22 16:39:56.0 +0900
 @@ -359,7 +359,7 @@
  init();
  }
  this.splashscreenTime = preferences.getInteger(SplashScreenDelay, 
 this.splashscreenTime);
 -String splash = preferences.getString(SplashScreen, null);
 +String splash = preferences.getString(SplashScreen, screen);
  if(this.splashscreenTime  0  splash != null)
  {
  this.splashscreen = getResources().getIdentifier(splash, 
 drawable, getClass().getPackage().getName());;
 {quote}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-8345) Splash screen does not display on Android.

2015-03-24 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-8345?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14378360#comment-14378360
 ] 

ASF subversion and git services commented on CB-8345:
-

Commit 1d89a2aa1bf0b714d0debf5928cd85e66bbd090b in 
cordova-plugin-splashscreen's branch refs/heads/master from [~agrieve]
[ 
https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-splashscreen.git;h=1d89a2a
 ]

CB-8345 android: Make splash the default resource ID instead of null


 Splash screen does not display on Android.
 --

 Key: CB-8345
 URL: https://issues.apache.org/jira/browse/CB-8345
 Project: Apache Cordova
  Issue Type: Bug
  Components: Android, CordovaLib
 Environment: OS: Ubuntu 14.04 LTS/x64
 Node.js: 0.10.35
 Cordova: 4.2.0
Reporter: Tomo Masakura
Assignee: Andrew Grieve

 Splash screen does not display on Android. On iOS it is displayed.
 {quote}
 $ cordova --version
 4.2.0
 $ cordova create project1
 $ cd project1
 $ cordova platform add android ios
 $ cordova emulate
 {quote}
 The iOS simulator splash screen is displayed. However, the Android Emulator 
 it is not displayed.
 It seems to be resolved by adding the following sentence to the config.xml, 
 but wanting to be displayed in the default state.
 {quote}
 preference name=SplashScreen value=screen /
 {quote}
 It seems to be solved by modifying the CordovaActivity.java.
 {quote}
 $ diff -Nur CordovaActivity.java.orig CordovaActivity.java
 --- CordovaActivity.java.orig   2015-01-22 16:39:42.0 +0900
 +++ CordovaActivity.java2015-01-22 16:39:56.0 +0900
 @@ -359,7 +359,7 @@
  init();
  }
  this.splashscreenTime = preferences.getInteger(SplashScreenDelay, 
 this.splashscreenTime);
 -String splash = preferences.getString(SplashScreen, null);
 +String splash = preferences.getString(SplashScreen, screen);
  if(this.splashscreenTime  0  splash != null)
  {
  this.splashscreen = getResources().getIdentifier(splash, 
 drawable, getClass().getPackage().getName());;
 {quote}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-8345) Splash screen does not display on Android.

2015-03-24 Thread Andrew Grieve (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-8345?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14377979#comment-14377979
 ] 

Andrew Grieve commented on CB-8345:
---

Starting with android-4.0.0, it will require a plugin to show it at all.

 Splash screen does not display on Android.
 --

 Key: CB-8345
 URL: https://issues.apache.org/jira/browse/CB-8345
 Project: Apache Cordova
  Issue Type: Bug
  Components: Android, CordovaLib
 Environment: OS: Ubuntu 14.04 LTS/x64
 Node.js: 0.10.35
 Cordova: 4.2.0
Reporter: Tomo Masakura
Assignee: Andrew Grieve

 Splash screen does not display on Android. On iOS it is displayed.
 {quote}
 $ cordova --version
 4.2.0
 $ cordova create project1
 $ cd project1
 $ cordova platform add android ios
 $ cordova emulate
 {quote}
 The iOS simulator splash screen is displayed. However, the Android Emulator 
 it is not displayed.
 It seems to be resolved by adding the following sentence to the config.xml, 
 but wanting to be displayed in the default state.
 {quote}
 preference name=SplashScreen value=screen /
 {quote}
 It seems to be solved by modifying the CordovaActivity.java.
 {quote}
 $ diff -Nur CordovaActivity.java.orig CordovaActivity.java
 --- CordovaActivity.java.orig   2015-01-22 16:39:42.0 +0900
 +++ CordovaActivity.java2015-01-22 16:39:56.0 +0900
 @@ -359,7 +359,7 @@
  init();
  }
  this.splashscreenTime = preferences.getInteger(SplashScreenDelay, 
 this.splashscreenTime);
 -String splash = preferences.getString(SplashScreen, null);
 +String splash = preferences.getString(SplashScreen, screen);
  if(this.splashscreenTime  0  splash != null)
  {
  this.splashscreen = getResources().getIdentifier(splash, 
 drawable, getClass().getPackage().getName());;
 {quote}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-8345) Splash screen does not display on Android.

2015-03-24 Thread Raymond Camden (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-8345?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14378281#comment-14378281
 ] 

Raymond Camden commented on CB-8345:


Wow, it never occurred to me to think SS wouldn't be normal on Android. Maybe I 
jump around platforms too much. ;) 

So I want to make sure I understand where things are heading - forgive me if I 
rephrase what you've said.

1) The SS plugin *will* be required to have a custom SS for any platform.
2) You will use splash tags in config.xml to tell Cordova what image to use.
3) Will preference name=SplashScreen value=splash / being required go 
away since a) I've added the SS plugin and b) it is the default anyway so it 
should work?

 Splash screen does not display on Android.
 --

 Key: CB-8345
 URL: https://issues.apache.org/jira/browse/CB-8345
 Project: Apache Cordova
  Issue Type: Bug
  Components: Android, CordovaLib
 Environment: OS: Ubuntu 14.04 LTS/x64
 Node.js: 0.10.35
 Cordova: 4.2.0
Reporter: Tomo Masakura
Assignee: Andrew Grieve

 Splash screen does not display on Android. On iOS it is displayed.
 {quote}
 $ cordova --version
 4.2.0
 $ cordova create project1
 $ cd project1
 $ cordova platform add android ios
 $ cordova emulate
 {quote}
 The iOS simulator splash screen is displayed. However, the Android Emulator 
 it is not displayed.
 It seems to be resolved by adding the following sentence to the config.xml, 
 but wanting to be displayed in the default state.
 {quote}
 preference name=SplashScreen value=screen /
 {quote}
 It seems to be solved by modifying the CordovaActivity.java.
 {quote}
 $ diff -Nur CordovaActivity.java.orig CordovaActivity.java
 --- CordovaActivity.java.orig   2015-01-22 16:39:42.0 +0900
 +++ CordovaActivity.java2015-01-22 16:39:56.0 +0900
 @@ -359,7 +359,7 @@
  init();
  }
  this.splashscreenTime = preferences.getInteger(SplashScreenDelay, 
 this.splashscreenTime);
 -String splash = preferences.getString(SplashScreen, null);
 +String splash = preferences.getString(SplashScreen, screen);
  if(this.splashscreenTime  0  splash != null)
  {
  this.splashscreen = getResources().getIdentifier(splash, 
 drawable, getClass().getPackage().getName());;
 {quote}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-8345) Splash screen does not display on Android.

2015-03-24 Thread Andrew Grieve (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-8345?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14378248#comment-14378248
 ] 

Andrew Grieve commented on CB-8345:
---

Of course! Two reasons.
1. It simplifies the code in cordova-android quite a bit
2. Splash Screens are not a native concept for Android apps like they are on 
iOS (where they are called Launch Images). It's perfectly normal on Android 
to not have a splash screen, or even to implement your own loading page in html.

Splash screen logic has actually been split out into the plugin ever since 3.0. 
Without the plugin installed, all you will see is the launch image. With the 
plugin, the launch image is replaced by a full-screen UIImage that is the 
Splash Screen. And this remains until the onload event.

 Splash screen does not display on Android.
 --

 Key: CB-8345
 URL: https://issues.apache.org/jira/browse/CB-8345
 Project: Apache Cordova
  Issue Type: Bug
  Components: Android, CordovaLib
 Environment: OS: Ubuntu 14.04 LTS/x64
 Node.js: 0.10.35
 Cordova: 4.2.0
Reporter: Tomo Masakura
Assignee: Andrew Grieve

 Splash screen does not display on Android. On iOS it is displayed.
 {quote}
 $ cordova --version
 4.2.0
 $ cordova create project1
 $ cd project1
 $ cordova platform add android ios
 $ cordova emulate
 {quote}
 The iOS simulator splash screen is displayed. However, the Android Emulator 
 it is not displayed.
 It seems to be resolved by adding the following sentence to the config.xml, 
 but wanting to be displayed in the default state.
 {quote}
 preference name=SplashScreen value=screen /
 {quote}
 It seems to be solved by modifying the CordovaActivity.java.
 {quote}
 $ diff -Nur CordovaActivity.java.orig CordovaActivity.java
 --- CordovaActivity.java.orig   2015-01-22 16:39:42.0 +0900
 +++ CordovaActivity.java2015-01-22 16:39:56.0 +0900
 @@ -359,7 +359,7 @@
  init();
  }
  this.splashscreenTime = preferences.getInteger(SplashScreenDelay, 
 this.splashscreenTime);
 -String splash = preferences.getString(SplashScreen, null);
 +String splash = preferences.getString(SplashScreen, screen);
  if(this.splashscreenTime  0  splash != null)
  {
  this.splashscreen = getResources().getIdentifier(splash, 
 drawable, getClass().getPackage().getName());;
 {quote}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-8345) Splash screen does not display on Android.

2015-03-23 Thread Raymond Camden (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-8345?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14376762#comment-14376762
 ] 

Raymond Camden commented on CB-8345:


I also strongly disagree with this not being a problem. It absolutely is a 
problem if it doesn't work as documented. 

Heck, it isn't even mentioned here: 
http://cordova.apache.org/docs/en/4.0.0/config_ref_images.md.html#Icons%20and%20Splash%20Screens

So if this current behavior is considered right, I'd say that doc needs 
updating, as well as the one here, 
http://cordova.apache.org/docs/en/4.0.0/guide_platforms_android_config.md.html#Android%20Configuration,
 to make it clear that the Splashscreen preference is required for Android.

 Splash screen does not display on Android.
 --

 Key: CB-8345
 URL: https://issues.apache.org/jira/browse/CB-8345
 Project: Apache Cordova
  Issue Type: Bug
  Components: Android, CordovaLib
 Environment: OS: Ubuntu 14.04 LTS/x64
 Node.js: 0.10.35
 Cordova: 4.2.0
Reporter: Tomo Masakura
Assignee: Andrew Grieve

 Splash screen does not display on Android. On iOS it is displayed.
 {quote}
 $ cordova --version
 4.2.0
 $ cordova create project1
 $ cd project1
 $ cordova platform add android ios
 $ cordova emulate
 {quote}
 The iOS simulator splash screen is displayed. However, the Android Emulator 
 it is not displayed.
 It seems to be resolved by adding the following sentence to the config.xml, 
 but wanting to be displayed in the default state.
 {quote}
 preference name=SplashScreen value=screen /
 {quote}
 It seems to be solved by modifying the CordovaActivity.java.
 {quote}
 $ diff -Nur CordovaActivity.java.orig CordovaActivity.java
 --- CordovaActivity.java.orig   2015-01-22 16:39:42.0 +0900
 +++ CordovaActivity.java2015-01-22 16:39:56.0 +0900
 @@ -359,7 +359,7 @@
  init();
  }
  this.splashscreenTime = preferences.getInteger(SplashScreenDelay, 
 this.splashscreenTime);
 -String splash = preferences.getString(SplashScreen, null);
 +String splash = preferences.getString(SplashScreen, screen);
  if(this.splashscreenTime  0  splash != null)
  {
  this.splashscreen = getResources().getIdentifier(splash, 
 drawable, getClass().getPackage().getName());;
 {quote}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-8345) Splash screen does not display on Android.

2015-03-23 Thread Raymond Camden (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-8345?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14376754#comment-14376754
 ] 

Raymond Camden commented on CB-8345:


This just hit me as well. It doesn't make sense to me that the lack of this 
value should be perceived as not wanting a splash screen. My config.xml file 
specifically includes a spash element. This particular tag is just for 
specifying what filename should be looked for, not whether or not the feature 
is enabled. 

At minimum, then it should be consistent. I don't agree with making this 
preference required, but iOS should act the same.

 Splash screen does not display on Android.
 --

 Key: CB-8345
 URL: https://issues.apache.org/jira/browse/CB-8345
 Project: Apache Cordova
  Issue Type: Bug
  Components: Android, CordovaLib
 Environment: OS: Ubuntu 14.04 LTS/x64
 Node.js: 0.10.35
 Cordova: 4.2.0
Reporter: Tomo Masakura
Assignee: Andrew Grieve

 Splash screen does not display on Android. On iOS it is displayed.
 {quote}
 $ cordova --version
 4.2.0
 $ cordova create project1
 $ cd project1
 $ cordova platform add android ios
 $ cordova emulate
 {quote}
 The iOS simulator splash screen is displayed. However, the Android Emulator 
 it is not displayed.
 It seems to be resolved by adding the following sentence to the config.xml, 
 but wanting to be displayed in the default state.
 {quote}
 preference name=SplashScreen value=screen /
 {quote}
 It seems to be solved by modifying the CordovaActivity.java.
 {quote}
 $ diff -Nur CordovaActivity.java.orig CordovaActivity.java
 --- CordovaActivity.java.orig   2015-01-22 16:39:42.0 +0900
 +++ CordovaActivity.java2015-01-22 16:39:56.0 +0900
 @@ -359,7 +359,7 @@
  init();
  }
  this.splashscreenTime = preferences.getInteger(SplashScreenDelay, 
 this.splashscreenTime);
 -String splash = preferences.getString(SplashScreen, null);
 +String splash = preferences.getString(SplashScreen, screen);
  if(this.splashscreenTime  0  splash != null)
  {
  this.splashscreen = getResources().getIdentifier(splash, 
 drawable, getClass().getPackage().getName());;
 {quote}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-8345) Splash screen does not display on Android.

2015-02-17 Thread Tomo Masakura (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-8345?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14325242#comment-14325242
 ] 

Tomo Masakura commented on CB-8345:
---

If by default disabled, I would like  you to disable SplashScreen with iOS 
Platform. Also, I  would like you to  add it to cordova documents.

http://cordova.apache.org/docs/en/edge/config_ref_images.md.html#Icons%20and%20Splash%20Screens

 Splash screen does not display on Android.
 --

 Key: CB-8345
 URL: https://issues.apache.org/jira/browse/CB-8345
 Project: Apache Cordova
  Issue Type: Bug
  Components: Android, CordovaLib
 Environment: OS: Ubuntu 14.04 LTS/x64
 Node.js: 0.10.35
 Cordova: 4.2.0
Reporter: Tomo Masakura
Assignee: Andrew Grieve

 Splash screen does not display on Android. On iOS it is displayed.
 {quote}
 $ cordova --version
 4.2.0
 $ cordova create project1
 $ cd project1
 $ cordova platform add android ios
 $ cordova emulate
 {quote}
 The iOS simulator splash screen is displayed. However, the Android Emulator 
 it is not displayed.
 It seems to be resolved by adding the following sentence to the config.xml, 
 but wanting to be displayed in the default state.
 {quote}
 preference name=SplashScreen value=screen /
 {quote}
 It seems to be solved by modifying the CordovaActivity.java.
 {quote}
 $ diff -Nur CordovaActivity.java.orig CordovaActivity.java
 --- CordovaActivity.java.orig   2015-01-22 16:39:42.0 +0900
 +++ CordovaActivity.java2015-01-22 16:39:56.0 +0900
 @@ -359,7 +359,7 @@
  init();
  }
  this.splashscreenTime = preferences.getInteger(SplashScreenDelay, 
 this.splashscreenTime);
 -String splash = preferences.getString(SplashScreen, null);
 +String splash = preferences.getString(SplashScreen, screen);
  if(this.splashscreenTime  0  splash != null)
  {
  this.splashscreen = getResources().getIdentifier(splash, 
 drawable, getClass().getPackage().getName());;
 {quote}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-8345) Splash screen does not display on Android.

2015-02-17 Thread Joe Bowser (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-8345?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14324715#comment-14324715
 ] 

Joe Bowser commented on CB-8345:


I misread this as he tried to specify a splashscreen.  Strange.

 Splash screen does not display on Android.
 --

 Key: CB-8345
 URL: https://issues.apache.org/jira/browse/CB-8345
 Project: Apache Cordova
  Issue Type: Bug
  Components: Android, CordovaLib
 Environment: OS: Ubuntu 14.04 LTS/x64
 Node.js: 0.10.35
 Cordova: 4.2.0
Reporter: Tomo Masakura
Assignee: Andrew Grieve

 Splash screen does not display on Android. On iOS it is displayed.
 {quote}
 $ cordova --version
 4.2.0
 $ cordova create project1
 $ cd project1
 $ cordova platform add android ios
 $ cordova emulate
 {quote}
 The iOS simulator splash screen is displayed. However, the Android Emulator 
 it is not displayed.
 It seems to be resolved by adding the following sentence to the config.xml, 
 but wanting to be displayed in the default state.
 {quote}
 preference name=SplashScreen value=screen /
 {quote}
 It seems to be solved by modifying the CordovaActivity.java.
 {quote}
 $ diff -Nur CordovaActivity.java.orig CordovaActivity.java
 --- CordovaActivity.java.orig   2015-01-22 16:39:42.0 +0900
 +++ CordovaActivity.java2015-01-22 16:39:56.0 +0900
 @@ -359,7 +359,7 @@
  init();
  }
  this.splashscreenTime = preferences.getInteger(SplashScreenDelay, 
 this.splashscreenTime);
 -String splash = preferences.getString(SplashScreen, null);
 +String splash = preferences.getString(SplashScreen, screen);
  if(this.splashscreenTime  0  splash != null)
  {
  this.splashscreen = getResources().getIdentifier(splash, 
 drawable, getClass().getPackage().getName());;
 {quote}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org