phonegap edge and splashscreen configuration

40 views
Skip to first unread message

Pier Paolo Proietti

unread,
Apr 13, 2015, 4:58:59 AM4/13/15
to phon...@googlegroups.com
Hi,

I'm trying to configure an app, showing at opening the splashscreen. I read this page: http://docs.phonegap.com/en/edge/config_ref_images.md.html#Icons%20and%20Splash%20Screens

and my configuration.xml is:

<platform name="android">
    
    <splash src="res/screen/android/splash-land-hdpi.png" density="land-hdpi"/>
    <splash src="res/screen/android/splash-land-ldpi.png" density="land-ldpi"/>
    <splash src="res/screen/android/splash-land-mdpi.png" density="land-mdpi"/>
    <splash src="res/screen/android/splash-land-xhdpi.png" density="land-xhdpi"/>

    <splash src="res/screen/android/splash-port-hdpi.png" density="port-hdpi"/>
    <splash src="res/screen/android/splash-port-ldpi.png" density="port-ldpi"/>
    <splash src="res/screen/android/splash-port-mdpi.png" density="port-mdpi"/>
    <splash src="res/screen/android/splash-port-xhdpi.png" density="port-xhdpi"/>
</platform>

<preference name="SplashScreenDelay" value="10000" />


I put files in res/screen/android, but when I start app, splashscreen doesn't show. Why? I tried both installing and uninstalling splashscreen plugin...
Please help me to solve this problem

Jesse Monroy

unread,
Apr 25, 2015, 7:19:50 PM4/25/15
to phon...@googlegroups.com
@Pier,

You can test  your test your Android device with this App.
https://build.phonegap.com/apps/1362035/share

If it works, you can compare your code with mine on github.
https://github.com/jessemonroy650/Phonegap-Splashscreen-Test

Jesse

Jesse Monroy

unread,
Apr 25, 2015, 7:21:41 PM4/25/15
to phon...@googlegroups.com
OH, and I  think the splash.png in the root directory is needed.
Sorry I don't have notes on this.


Jesse

On Monday, April 13, 2015 at 1:58:59 AM UTC-7, Pier Paolo Proietti wrote:

Kerri Shotts

unread,
Apr 27, 2015, 1:08:52 PM4/27/15
to phon...@googlegroups.com
Are you using PhoneGap or PhoneGap Build?

Where is `res/screen/android` relative to your `www`?

Jesse Monroy

unread,
Apr 30, 2015, 8:33:04 PM4/30/15
to phon...@googlegroups.com
If you look at my example (on github), res is a child of www.

Did Google hired all the webApp developers from Yahoo!, the ones the laid off? This UI sucks!

Jesse
Reply all
Reply to author
Forward
0 new messages