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-07-2012 09:56 AM
12-09-2012 05:33 AM
"I haven't much experience with blackberry."
Unfortunately this is going to make your screen a little difficult. There is no very simple way to make the screen you are trying to make. And in fact there a number of ways to make it, some more efficient, but more complex than others.
I suggest we divide the work into two parts
a) Create the Buttons
b) Position the Buttons
This is assuming that you already know how to create an Application in Blackberry and have that Application display a Screen. If you do not know how to do that, then the place to start is as usual, the Hello World sample.
We should focus on (a) first.
The screen shot suggests that you want images displayed. That the user can click, and that these will show focus by having a 'clue' border. The easiest way to achieve this is to create the image, add it to a BitmapField to display the image, and then use
to give some space around the image for focus to be seen. So work on that.
Once you have that you need to convert this BitmapField into a button. This is achieved by overriding navigationClick. I think there are numerous examples of this in the forum so won't repeat this code here.
Finally you need to tie this click up with whatever you are tying to do next. This is up to you.
Once you get to this stage then you will have 4 image buttons displayed vertically on the screen. Then you can ask the question "how do I get these in the centre". And you will understand more about Blackberry processing and so be better informed regarding the answer.
12-09-2012 11:49 AM
The easiest way, assuming you don't want to translate the label, is to make the image include the text. If you do want to seperate them, then add the BitmapField and a LabelField with the text set as you want to a HorizontalFieldManager, then add the HorizontalFieldManager to the screen.
12-10-2012 09:37 AM