views:

355

answers:

2

I need to set up an icon for my application which must change when the focus is on that particular application?

Ideas/Suggestions? Thanks

+4  A: 

See Project->Properties->BlackBerry Project Properties->Resources

To change icon dynamically see Add a notification icon at the status bar in BlackBerry JDE 4.5.0

Also may be useful Icons and indicators

Max Gontar
+1  A: 

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>
Valera