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?