How do i change Application Icon instead of corona

i have developed a small application alson build for android in corona, and  installed on my device , so i like to change the default application icon ( instead of corona icon) to my custom icon

 , so how can i do that ?

See all those Icon*.png files in your folder with your main.lua?  Replace them with your own Icons.  No Icons there? Then you need to add them.   See: http://docs.coronalabs.com/guide/distribution/buildSettings/index.html#appicons

Rob

so i have these icons in my folder

Icon-xxhdpi.png 144 × 144 Icon-xhdpi.png 96 × 96 Icon-hdpi.png 72 × 72 Icon-mdpi.png 48 × 48 Icon-ldpi.png

36 × 36

 but even after install to device (Android) its the same icon (Corona icon) only change is the , in the insallatation process i can see the my custom icon . 

do i have to specify that in the main.lua using code ?

Hi @adamrifau,

It should recognize the icons automatically, if you include them. Are they located in your main folder (not a sub-folder)? Are they standard .png files with no embedded “ICC profile” or anything strange?

Brent

is there any sample images i can use for testing any recommendation because i couldn’t make it work for launcher app icon still the default ,

yes my icons are in the main folder

Hi @adamrifau,

Can you take a screenshot of your project’s main folder and the files within it? Also, can you post the code for your build.settings file?

Thanks,

Brent

Hi @Brent Sorrentino  

Here’s my build.setting file code

[lua]settings =
{
orientation = {default = “landscapeRight”}
}[/lua]

 and for screen shot http://postimg.org/image/wn1jdacj7/

If you have an image for your new icon (1024x1024 preferred) this site can create all the icons for you:

http://icon.angrymarmot.org/index.html#cddaeb8dd2d3678125f3

@rmbsoft my icons are created using that website. but doesn’t work , i guess i’m missing something

Hi @adamrifau,

Nothing looks incorrect in your directory. Can you please download the following test icons and drop those into your project for testing? I just took the Corona logo and tinted them blue:

https://www.dropbox.com/s/d7e2fjgn9q8oo72/icons.zip?dl=0
 

Best regards,

Brent

Hi @Brent Sorrentino

first of all i want thank you, and appriciate your help.

ok so i have tested these icons in my project, first it didn’t work on my samsung S3, then i tested on Sony xperia it worked on that device. :smiley:

My phone is rooted and cyanogenmod is running on my device.  so i was wondering why launcher icon doesn’t appear on my device. is that because of custom ROM ?

Corona SDK does not support Jailbroken or Rooted devices.  Testing stock Android is tough enough.  There is no way we can possibly work with rooted devices.  Too many variables.

Rob

See all those Icon*.png files in your folder with your main.lua?  Replace them with your own Icons.  No Icons there? Then you need to add them.   See: http://docs.coronalabs.com/guide/distribution/buildSettings/index.html#appicons

Rob

so i have these icons in my folder

Icon-xxhdpi.png 144 × 144 Icon-xhdpi.png 96 × 96 Icon-hdpi.png 72 × 72 Icon-mdpi.png 48 × 48 Icon-ldpi.png

36 × 36

 but even after install to device (Android) its the same icon (Corona icon) only change is the , in the insallatation process i can see the my custom icon . 

do i have to specify that in the main.lua using code ?

Hi @adamrifau,

It should recognize the icons automatically, if you include them. Are they located in your main folder (not a sub-folder)? Are they standard .png files with no embedded “ICC profile” or anything strange?

Brent

is there any sample images i can use for testing any recommendation because i couldn’t make it work for launcher app icon still the default ,

yes my icons are in the main folder

Hi @adamrifau,

Can you take a screenshot of your project’s main folder and the files within it? Also, can you post the code for your build.settings file?

Thanks,

Brent

Hi @Brent Sorrentino  

Here’s my build.setting file code

[lua]settings =
{
orientation = {default = “landscapeRight”}
}[/lua]

 and for screen shot http://postimg.org/image/wn1jdacj7/

If you have an image for your new icon (1024x1024 preferred) this site can create all the icons for you:

http://icon.angrymarmot.org/index.html#cddaeb8dd2d3678125f3

@rmbsoft my icons are created using that website. but doesn’t work , i guess i’m missing something