Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to change a application Default Icon in PhoneGap [duplicate]

I am using phone gap do build an application for multiple platform but I can't change the default icon can any one tell me how to do that?

like image 268
JANNURM Avatar asked Sep 08 '12 09:09

JANNURM


2 Answers

Note that, at least for Android, if you're doing a local build the config.xml used in remote builds is ignored and the icon used is the one at platforms/android/res/drawable

For remote builds in multiple platforms you have information about how to set the icons in the config.xmlfile e.g. here:

For the CLI: http://docs.phonegap.com/en/3.5.0/config_ref_images.md.html

For PhoneGap Build: http://docs.phonegap.com/phonegap-build/configuring/icons-and-splash/#icons

like image 121
drodsou Avatar answered Oct 20 '22 21:10

drodsou


Go in your project folder and you should see another folder called "icon" (in Your_Project_Name/Resources/icon, where your folder "Your_Project_Name" is in the same directory containing your folder "www").

You should find 3 default icons:

  1. icon-72.png
  2. icon.png
  3. [email protected]

Add you icons there and replace the default ones. Do not change the name of the files.

If you want to change the Launch images, just go in the folder "splash" (Your_Project_Name/Resources/splash) and replace the default images:

  1. Default.png
  2. Default@2x
like image 37
Littm Avatar answered Oct 20 '22 20:10

Littm