You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by mr...@apache.org on 2014/06/16 19:43:59 UTC

git commit: Remove outdated doc, thx Axel

Repository: cordova-plugin-splashscreen
Updated Branches:
  refs/heads/master ac1422f49 -> c56bb9efe


Remove outdated doc, thx Axel


Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-splashscreen/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-splashscreen/commit/c56bb9ef
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-splashscreen/tree/c56bb9ef
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-splashscreen/diff/c56bb9ef

Branch: refs/heads/master
Commit: c56bb9efece65e8efbf203fbd60ce2b4e0b13b2e
Parents: ac1422f
Author: mbillau <mi...@gmail.com>
Authored: Mon Jun 16 13:43:32 2014 -0400
Committer: mbillau <mi...@gmail.com>
Committed: Mon Jun 16 13:43:32 2014 -0400

----------------------------------------------------------------------
 doc/index.md | 12 +++++-------
 1 file changed, 5 insertions(+), 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-plugin-splashscreen/blob/c56bb9ef/doc/index.md
----------------------------------------------------------------------
diff --git a/doc/index.md b/doc/index.md
index 00f7d24..d6d6b8c 100644
--- a/doc/index.md
+++ b/doc/index.md
@@ -43,15 +43,13 @@ This plugin displays and hides a splash screen during application launch.
 
 ### Android Quirks
 
-In your config.xml, you need to add the following preference
+In your config.xml, you need to add the following preferences:
 
-`<preference name="splashscreen" value="foo" />`
+`<preference name="SplashScreen" value="foo" />`
+`<preference name="SplashScreenDelay" value="10000" />`
 
-Where foo is the name of the splashscreen file. Preferably a 9 patch file. Make sure to add your splashcreen files to your res/xml directory under the appropriate folders.
-
-For Android, you also have to edit your projects main java file. You must add a second parameter representing a time delay to your super.loadUrl.
-
-`super.loadUrl(Config.getStartUrl(), 10000);`
+Where foo is the name of the splashscreen file, preferably a 9 patch file. Make sure to add your splashcreen files to your res/xml directory under the appropriate folders. The second parameter represents how long the splashscreen will appear in milliseconds. It defaults to 3000 ms. See [Icons and Splash Screens](http://cordova.apache.org/docs/en/edge/config_ref_images.md.html)
+for more information.
 
 ## splashscreen.hide