BlackBerry Forums Support Community

Closed Thread
LinkBack Thread Tools
Old 07-14-2010, 09:18 AM   #1 (permalink)
New Member
Join Date: Jul 2010
Location: Singapore
Model: 9550
Carrier: Starhub
Posts: 1
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default UI Component Question

Please Login to Remove!


My first post here but definitely not my first visit.

I just have a question which may not be posted here yet. I've been checking google but couldn't find the answer.

This page ''. Im sorry since this is my first post, I cannot add the link yet. Please pardon me, you'll have to do a copy paste.

Oh well I just couldn't find the API on how to use or add those into the application I am developing. The title, scrollable body, the bottom toolbar, etc.

Can anyone lead me to the right page or probably code samples in using these? I just like the neat looks of of this UI.

Many thanks.
Old 07-15-2010, 09:27 AM   #2 (permalink)
BlackBerry Extraordinaire
Join Date: Jan 2006
Model: LEZ10
OS: 10.0.10
Carrier: Rogers CA
Posts: 1,704
Post Thanks: 20
Thanked 77 Times in 68 Posts

The main user interface screen Class is the MainScreen. You can set a text title with MainScree.setTitle("my title"); If you populate a MainScreen with more than will fit on the physical screen it will automatically provide scrolling for you, the tool bar mentioned on that page is called the status section in the MainScreen documentation and is set with MainScreen.setStatus(Field); you will have to create your own field if you want a similar look tool bar. All of this is documented in the API documentation, or you can look at the sample code.
My other Blackberry is a PlayBook.

Copyright 2004-2016
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.