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.
02-15-2013 02:13 PM
I didn't catch whether the same BAR file will be for both Z10 and Q10 or whether I have to create two BAR files.
I guess that for Z10 I have to compile project using 10.0 SDK and for Q10 I have to use 10.1 SDK.
Are somewhere described best practices how to maintain such a project?
02-15-2013 02:37 PM
02-15-2013 02:43 PM
I'm posting this here because I blindly hope that BB is watching this forum.
I'm hoping they will write some article regarding this as it seems to be important.
I found that adapting existing apps from Z10 to Q10 will be a lot of work (as display of Q10 is really small comparing to Z10) so I would love to make it properly from beginning.
I also don't want to send wrong BAR into BB World as review takes so long.
So please BlackBerry cover this topic in documentation!
02-15-2013 04:04 PM
I wrote my app initially for the Z10 but it worked very good on the Q10 also. It's actually not that hard to create an app for both devices.
10.1 provides asset selectors which makes it easy to use other images if necessary.
Use 9-slicing if possible. For example, I use a background image for my listview with rounded corners. Because I used 9-slicing, this perfectly fits on the Q10 as well.
You can also take a look at the documentation. BlackBerry wrote an article on how to work with differend resolution devices.
02-15-2013 04:45 PM
The preferred approach is to have a single .bar file for both screen sizes. Using asset selectors is super easy and would be what I recomend.
If you want to have two seperate apps this is also possible. Selecting different device support in AppWorld is very straight forwards. Still there are a few things to take note of.
02-15-2013 04:58 PM
Although it is possible, I would not go for 2 different bar-files. Maybe BlackBerry will come with other devices and other screensizes. Then you have to create a separate app for that device again... More work right, programmers are lazy . Try to make it as indepent as possible, BlackBerry offers us enough ways to do it effectively.
02-19-2013 04:29 AM
02-19-2013 02:19 PM