开发者

Modify icon of the Flex application for Blackberry-Playbook

Has anybody please found a way to modify/replace the icon of a Playbook program?

Like display a red star on it - to indicate there is new message for the user.

I've tried tracing NativeApplication.supportsDockIcon and NativeApplication.supportsSystemTrayIcon properti开发者_StackOverflow中文版es, but they are both false on Playbook simulator.


What you're asking (dynamically changing the icon once the app is installed) is not currently possible. That will require OS support which is not available and hasn't even been mentioned publicly yet.

The reason it's not possible currently without an API is that everything in your .bar is written to a folder which is read-only to the app itself, icon file and MANIFEST.MF file included.


Edit your blackberry-tablet.xml and add

<icon>
    <image>blackberry-tablet-icon.png</image>
</icon>
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜