BlackBerry - 如何为Application设置图标?

时间:2009-11-27 09:14:54

标签: blackberry icons

我需要为我的应用程序设置一个图标,当关注特定应用程序时,该图标必须更改。

2 个答案:

答案 0 :(得分:4)

请参阅项目 - >属性 - > BlackBerry Project Properties-> Resources

要动态更改图标,请参阅Add a notification icon at the status bar in BlackBerry JDE 4.5.0

也可能有用Icons and indicators

答案 1 :(得分:1)

如果您在eclipse中使用Blackberry 5.0,请打开Blackberry_App_Descriptor.xml(位于项目的根目录中),在此处找到标记资源(如果它不存在则创建它)并在此处键入

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