02-06-2014 05:34 AM
I'm developing a game with cocos2dx and I'm having a problem where the application icon isn't showing with the correct size while building on Release mode.
I have 3 icons:
icon.png, icon_94.png, icon_114.png
When I try to build it on Debug mode, I believe it uses icon_114 but when I try to build on Release mode, it uses icon.png (86x86)
I have these define in bar-descriptor.xml
I'm not sure what went wrong and hopefully someone who might know willing to share with me how can fix it.
02-18-2014 11:11 AM
I recommend you define only one icon in the bar-descriptor.xml file. As per the design guidelines, this icon needs to be 114x114 or 94x94 depending on the device resolution. The OS takes care of this automatically if you place the icon images in the correct asset folder for each resolution.
Static asset selection mechanism: http://developer.blackberry.com/native/documentati
bar-descriptor configuration: http://developer.blackberry.com/native/documentati
icon attribute of the bar-descriptor: