Thank you for visiting the BlackBerry Support Community Forums.
BlackBerry will be closing the BlackBerry Support Community Forums Device Forums on April 1st (Developers, see below)
BlackBerry remains committed to providing excellent customer support to our customers. We are delighted to direct you to the CrackBerry Forums, a well-established and thorough support channel, for continued BlackBerry support. Please visit http://forums.crackberry.com or http://crackberry.com/ask. You can also continue to visit BlackBerry Support or the BlackBerry Knowledge Base for official support options available for your BlackBerry Smartphone.
"When we launched CrackBerry.com 10 years ago, we set out to make it a fun and useful destination where BlackBerry Smartphone owners could share their excitement and learn to unleash the full potential of their BlackBerry. A decade later, the CrackBerry community is as active and passionate as ever and I know our knowledgeable members and volunteers will be excited to welcome and assist more BlackBerry owners with their questions."
- Kevin Michaluk, Founder, CrackBerry.com
Developers, for more information about the BlackBerry Developer Community please review Join the Conversation on the BlackBerry Developer Community Forums found on Inside BlackBerry.
11-17-2010 10:40 AM
I am not able to specify an icon for my hello world app. I have gone through the steps in the example app and am pretty sure I haven't missed anything. I made a simple icon.png at 90x90 pixels. Then used import to import it into the src folder. All lower case. In my blackberry-tablet.xml I have <image>icon.png</image> for my icon element.
When I try to run or debug I get.
If I remove the icon, and change the image content to 'test', the app will run just fine with no icon. (woohoo it works!).
I have tried running Flash Builder 4.0.1 as administrator, thinking it was permissions issue.
Do I need to specify a full path in the xml perhaps?
Win7, Flash Builder 4.0.1
Overall the process is pretty easy, once I got my install sorted out with the 64 bit business. ;-)
Solved! Go to Solution.
11-17-2010 11:09 AM
Try setting the icon name in the application descriptor file (myapp-app.xml), in the image72x72 XML tag. Be certain to uncomment the necessary tags to it will be read. Also try to make the image 72x72 pixels since there seems to be some questions going around that the application icon should be 72 or 90 pixels square. Also, you will need to include the icon path in the blackberry command line packager instructions.
That all worked for me. If you need more detail information, I can post exact instructions later on today.
11-17-2010 11:25 AM
I just gave up on the name icon.png, renamed it appico.png and presto! I suspect icon.png is some sort of default or triggers some default behaivor. I actually renamed it Icon.png and then got a different set of errors about 57x57 icons in the xml file. Once I renamed it something completely different and updated my blackberry-tablet.xml to reflect the new name it worked as it should.
This brings me to my next question. In the sample app documentation there is the blackberry-tablet.xml which specifies the icon to use, among a few other items. I see the full AIR xml doc created, but it isn't mentioned that we should update it for icons. At this point I have left it alone. Should I be specifying the icons there too? Are those other sizes for other devices or does playbook actually show icons of different size in different situations?
11-17-2010 11:36 AM
(accuse me of being **bleep**, but...)
I just use the default name blackberry-tablet-icon.png in the blackberry-tablet.xml file and in my build script so I can copy them between projects easily. I leave the icon lines in *-app.xml commented out as I'm only interested in the PlayBook (now).