开发者

Modify icon of the Flex application for Blackberry-Playbook

开发者 https://www.devze.com 2023-02-18 23:29 出处:网络
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.

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

精彩评论

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

关注公众号