Skip to main content
Participant
October 12, 2012
Question

How do i insert a splash screen or a loading screen and a application image for a phone app on Dream

  • October 12, 2012
  • 1 reply
  • 3868 views

How do i insert a splash screen or a loading screen and a application image for a phone app on Dreamweaver 6, 5.5 had the mobile application setting that is seemingly no longer present? and i also heard you can use animanted backgrounds on the mobile application in dreamweaver 6 but figuring out how to set the splash screen and application image like it was in 5.5 would be nice. All i can get to pull up is the web application i developed i am trying to build into a phone app on google chrome, if i could officially designate it as a phone app where i can set each splash screen and app image to where it is recognized as a phone app that would be really nice.

This topic has been closed for replies.

1 reply

jmed0411Author
Participant
October 12, 2012

I tried the config.xml advice to no avail. The 5.5 settings were alot nicer i must say there has to be similar settings that i cannot find, if anyone knows the exact solution to what i am looking for that would amazing.

David_Powers
Inspiring
October 13, 2012

There are examples of how to set up splash screens using config.xml at https://build.phonegap.com/docs/config-xml.

For example, this is how you set up splash screens for Android:

<gap:splash src="splash/android/ldpi.png" gap:platform="android" gap:density="ldpi" />
<gap:splash src="splash/android/mdpi.png" gap:platform="android" gap:density="mdpi" />
<gap:splash src="splash/android/hdpi.png" gap:platform="android" gap:density="hdpi" />
<gap:splash src="splash/android/xhdpi.png" gap:platform="android" gap:density="xhdpi" />

The important thing to note is that the splash screen must be a .png file.

jmed0411Author
Participant
October 15, 2012

I do not mean to sound stupid if thats how i am coming off, but from what i am getting from your advice, I copy this bit of coding into the config.xml file and replace where the .png files are written in between the quotes on the first row of the coding with the name of the file that is to be the splash screen in its place. I also sucessfully put together my first example application with the default application image and splash screen as i am still working on understanding those concepts fully and after i choose create as new project and click continue on the phone gap build. The the phonegap program loads for quite some time and eventually reaches to the unfortunate conclusion that the server cannot be reached and to please try again. Any ideas on how that problem can be mended if the solution is in my hands?? if i end up figuring it all out soon i will be sure to update the forum.

Thankyou,

        Justin Medved