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.
12-18-2012 01:12 AM
Has anyone had any success with a single app that includes icons for both the playbook and BB10?
The documentation suggests that the OS will select the appropriate icon size for the current device automagically - but I couldn't find an official example of how you're meant to set this up.
I tried including the two icons in the bar-descriptor like this:
But when I do this, the first icon (which ever it is) is used every time (either giving me a small icon on the BB10, or giving me a dynamically downsized icon on the playbook ... which doesn't look as good as the precalculated one).
Any help greatly appreciated!
12-21-2012 10:12 AM
Thanks for the suggestion. This is what happens if you just put the 114 icon first in the list ... but unfortunately, the auto-scaling of non-integer multiples doesn't give you anywhere near as nice a result as a photoshop resized icon (resized from a much larger master). So it does work - but it means when I update my app for BB10, all the playbook users will get a worse icon, which is a bit of a shame.
I know I could ship two different builds - but I'd much rather go with a universal build, particularly when the docs suggest there should be a way of providing both icons in the bundle.
Does anyone have this working? Is there some bar-descriptor-fu I'm missing?