Android Default Icon?

  • 1
  • Question
  • Updated 9 years ago
I've setup my application icon using config.xml ( ) and everything compiles nicely, and the icon is picked up in the Web UI. However, Android simply displays the default "ladder" icon. Any guesses?

Photo of Joel Adria

Joel Adria

  • 2 Posts
  • 1 Reply Like
  • sad

Posted 9 years ago

  • 1
Photo of Fil Maj

Fil Maj

  • 139 Posts
  • 15 Reply Likes
Hmm, any way you can share your config.xml? We just deployed icon support for Android yesterday.

Take a look at my app, which I build on build.phonegap.com, the John Garrett Drinking Game, and its config.xml:

https://github.com/filmaj/John_Garret...

Note how I specified different width and heights on the icons - those sizes correlate to the three supported screen densities on Android devices: HDPI, MDPI and LDPI.

Attached is an image of it deployed on my Nexus One.
Photo of Joel Adria

Joel Adria

  • 2 Posts
  • 1 Reply Like
This worked btw. Splash screen works great too.

For other users who might read this thread, make sure you add the

xmlns:gap = "http://phonegap.com/ns/1.0"

spec to your xml tag if you haven't already.
Photo of silverhawk184

silverhawk184

  • 21 Posts
  • 0 Reply Likes
the Icon does not load if specified in the edit page, only if stated in the config.xml