App icon and splash screen

  • 7
  • Question
  • Updated 8 years ago
  • Answered
Can I get an example of how to make the icon and the splash screen show up on the iphone? They don't seem to work. If I put the icon in icons/ it shows up on the build but no on the phone. Not sure where the splash screen icon would go...

Thanks
Photo of Ramesh

Ramesh

  • 3 Posts
  • 0 Reply Likes

Posted 9 years ago

  • 7
Photo of Andy Wickes

Andy Wickes

  • 13 Posts
  • 0 Reply Likes
Hiya,

My first Phonegap project didn't have a splash screen specified in the config.xml file, and my question is, do I have to have a splash screen at all?

When I launch the app on my iPhone i get a Phonegap 'warning' saying 'iPhone non retina' - is there anyway of removing this warning, or is the only way of removing this to add a splash screen image?

Also, the first line of the phone gap build docs -https://build.phonegap.com/docs/confi...
says that it is possible to set up the information for the config/xml through the web interface, or through a config.xml file. Can you direct me to how I do this through the web interface as this sounds easier than writing the config.xml file by hand!

Thanks

Andy
Photo of Andrew Lunny

Andrew Lunny

  • 1911 Posts
  • 199 Reply Likes
Adding splash screen gets rid of the "PhoneGap" splash screens.

We're working on tools for manipulating the config.xml file through the web interface - we've found it's a lot more convenient to have your configuration as part of your app source than as something on our web app.
Photo of Andy Wickes

Andy Wickes

  • 13 Posts
  • 0 Reply Likes
Thanks Andrew!

With regards the URL's that PhoneGap Build generates via the QR codes, can I ask whether it is OK essentially host these apps with you if we don't need to submit them to stores (iTunes / Android Market) or is the idea that we download them and host them ourselves?

Thanks

Andy
Photo of Andrew Lunny

Andrew Lunny

  • 1911 Posts
  • 199 Reply Likes
Yeah, you can distribute the QR codes, or set the apps to public and distribute the "share" URL.

It's definitely easier for a couple of cases - over-the-air/remote installs for BlackBerry and iOS are a bit tricky to set up on your own.
Photo of Andy Wickes

Andy Wickes

  • 13 Posts
  • 0 Reply Likes
Thanks Andrew - would you mind detailing the steps required to set an app to public and distribute the 'share' URL - I can't seem to find anywhere within my login where a URL is shows (other than hovering over the QR codes!)

Thanks!
Photo of Andrew Lunny

Andrew Lunny

  • 1911 Posts
  • 199 Reply Likes
If you go to your app page (https://build.phonegap.com/apps/84403) and hit edit, then deselect the "visibility" option and press save.

When you go back to your app page, there will be a link to "public page" that you can share.
Photo of sknuijver

sknuijver

  • 3 Posts
  • 0 Reply Likes
is the config.xml file the same as cordova.xml or plugins.xml now?

can I make an animated splash screen?
one that also shows a loading bar:
during the softkeyboarddetect during installing?
Photo of sknuijver

sknuijver

  • 3 Posts
  • 0 Reply Likes
I'm thinking to use the AsyncTask in Android for instantiating a new DroidGap extending Activity, because this is so slow. However, it seems as though the only thing the AsyncTask cannot do is instantiate a new Activity because activities are always on the foreground :~
Photo of Andrew Lunny

Andrew Lunny

  • 1911 Posts
  • 199 Reply Likes
config.xml is a PhoneGap Build specific convention, that generates cordova.xml and plugins.xml on our servers. If you're building locally, you don't need to care about config.xml.
Photo of sknuijver

sknuijver

  • 3 Posts
  • 0 Reply Likes
ok thanks, the main issue here is to hide the sloth of the startup though I guess and I don't even think covering it up with a splash screen will suffice..
would you consider writing a page that explains how to remove excess luggage, optimize toward individual platforms etc. to reduce this big problem? or do you have another solution/advice?
thanks
Photo of Andrew Lunny

Andrew Lunny

  • 1911 Posts
  • 199 Reply Likes
That's a bit beyond the scope of this forum, which is for questions about the PhoneGap Build web service (build.phonegap.com)

You can probably find some tips for this by posting on the PhoneGap Google Group:
http://groups.google.com/group/phonegap
Photo of kamleshbelote

kamleshbelote

  • 1 Post
  • 0 Reply Likes
What should be default icon size in config.xml file?
Photo of Andrew Lunny

Andrew Lunny

  • 1911 Posts
  • 199 Reply Likes
Please see the documentation - you will need different sizes depending on which platform(s) you're targetting.
https://build.phonegap.com/docs/confi...

This conversation is no longer open for comments or replies.