Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
New Contributor
nikornluang
Posts: 7
Registered: ‎10-03-2012
My Device: A developer
Accepted Solution

icon does not appear in the simulator

Hi all,

I have developed a Java midlet application in Blackberry plug in for Eclipse 3.6.0 and it runs in Blackberry 9800 simulator. However the icon that appears in the simulator is a BB default icon but not the icon I included in the res img file. I have tried with several sizes of icon such as  80x80, 68x68, 48x36. but my icon still does not appear in the simulator.

I would appreciate advice from you all on how to correct the situation.

Best regards,

Nikorn L.

Please use plain text.
Developer
Dionysus
Posts: 152
Registered: ‎07-28-2011
My Device: Bold 9900

Re: icon does not appear in the simulator

Welcome to the forum.

 

In your BlackBerry_App_Descriptor.xml file, on the Application tab, you will see an "Application Icons" section. Simply select "Add" then navigate to your icon and select "OK" then run your app again.

Please use plain text.
New Contributor
nikornluang
Posts: 7
Registered: ‎10-03-2012
My Device: A developer

Re: icon does not appear in the simulator

Hi,

Thanks for your advice. I did just as you advised. My icon appeared in the Application Descriptor xml menu but it did not show up in the simulator.

Please use plain text.
Developer
hemant_sain
Posts: 180
Registered: ‎12-09-2011
My Device: 9360, BB10

Re: icon does not appear in the simulator

Please check in the app descriptor file that 

 

"Do not display the application icon on the Blackberry home screen" 

 

is unchecked or not? If not make it unchecked.

Please use plain text.
Developer
avinash_kumar_ispg_in
Posts: 172
Registered: ‎01-02-2012
My Device: 8520 curve

Re: icon does not appear in the simulator

Hi

 

1)resolution->   height-360

                            width-480      app icon size 80X80 .png

 

2) resolution->  

                            height-480      

                            width-360    app icon size 53X53.png

3) resolution->  

                            height-240      

                            width-320   app icon size 32X32.png

 

 

this is the advisable size for app icon please use this same size 

 

 

step to add the app icon in plugin with eclips

 

1) took 2 images of the same size and just change the name (image.png and image_rollover.png) and keep it in to res folder  

2) open App discriptor.xml add both images checked on roll over image

 

3) save it and clean the simulator and run it.

 

thanks

 

Please use plain text.
New Contributor
nikornluang
Posts: 7
Registered: ‎10-03-2012
My Device: A developer

Re: icon does not appear in the simulator

Dear Hemant,

 

Thanks for your advice. I do uncheck the box of not display icon.

Best regards,

Nikorn L.

Please use plain text.
New Contributor
nikornluang
Posts: 7
Registered: ‎10-03-2012
My Device: A developer

Re: icon does not appear in the simulator

Dear Avinash,

Thanks for your advice. I have tried as you advise, but the icon still does not appear in the simulator. However I will go ahead submitting the application and see if it pass the acceptance by BB.

Best regards,

Nikorn L.

Please use plain text.
New Contributor
nikornluang
Posts: 7
Registered: ‎10-03-2012
My Device: A developer

Re: icon does not appear in the simulator

Dear Avinash,

 

It works now. Thanks a lot.

 

Best regards,

Nikorn L.

Please use plain text.
Developer
avinash_kumar_ispg_in
Posts: 172
Registered: ‎01-02-2012
My Device: 8520 curve

Re: icon does not appear in the simulator

welcome !      

                     to the suport form :smileyhappy:

Please use plain text.