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

Web and WebWorks Development

Reply
Regular Contributor
Posts: 50
Registered: ‎03-27-2014
My Device: Z10
My Carrier: Docomo
Accepted Solution

How to set icon for application?

If you use Blackberry 5.0 in eclipse, open Blackberry_App_Descriptor.xml (which is in the root of the project), find here tag Resources (create it if it doesn't exist) and type here

 

<Icons>
<Icon CanonicalFileName="res/iconWithoutFocus.png" IsFocus="false"/>
<Icon CanonicalFileName="res/iconWithFocus.png" IsFocus="true"/>
</Icons>

Developer
Posts: 217
Registered: ‎09-18-2009
My Device: Z10
My Carrier: O2

Re: How to set icon for application?

Modify the config.xml and set the icon.

 

<icon src="icons/icon-150.png"/>

 https://developer.blackberry.com/html5/documentation/v2_0/modifying_your_config_file.html