BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 06-06-2005, 01:04 AM   #1 (permalink)
New Member
 
Join Date: Jun 2005
Model: 8250
Posts: 10
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Building an app that doesn't obscure the status area at the top of the display

Please Login to Remove!

Hi,

I'm trying to build a Blackberry application that displays a MainScreen in such a fashion that the app's fields do not obscure the status area at the top of the Blackberry display (i.e. the time display, the battery life, and the signal strength).

In other words, my application looks like the built-in Calculator app (which obscures the status area at the top of the display), as opposed to looking like the Mail inbox application, which displays your inbox contents *below* the status area of the display. I'd like to implement the later.

I have not been able to figure out how to coax my screen class derived from MainScreen to display its contents only in the area below the status region. Can this be done with MainScreen, or must you derive your screen class from a different base class?

Thanks in advance!

Carey
Offline  
Old 06-09-2005, 11:15 AM   #2 (permalink)
Knows Where the Search Button Is
 
Join Date: Apr 2005
Model: 7230
Posts: 30
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by Carey Nachenberg
Hi,

I'm trying to build a Blackberry application that displays a MainScreen in such a fashion that the app's fields do not obscure the status area at the top of the Blackberry display (i.e. the time display, the battery life, and the signal strength).

In other words, my application looks like the built-in Calculator app (which obscures the status area at the top of the display), as opposed to looking like the Mail inbox application, which displays your inbox contents *below* the status area of the display. I'd like to implement the later.

I have not been able to figure out how to coax my screen class derived from MainScreen to display its contents only in the area below the status region. Can this be done with MainScreen, or must you derive your screen class from a different base class?

Thanks in advance!

Carey
Do you want your screen to work the same way the email and the phone screen works? How all the info above it stays there.?
Offline  
Old 06-09-2005, 01:05 PM   #3 (permalink)
New Member
 
Join Date: Jun 2005
Model: 8250
Posts: 10
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Preventing app screen from obscuring top status area (battery life, signal strength)

sacramentojoe wrote:

>Do you want your screen to work the same way the email and the phone screen works? How all the info above it stays there.?

Yes, exactly!

Thanks,

Carey
Offline  
Old 06-09-2005, 04:11 PM   #4 (permalink)
Knows Where the Search Button Is
 
Join Date: Apr 2005
Model: 7230
Posts: 30
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Pain in the butt, but you could recreate your own using
the provided classes (deviceInfo, GPRSInfo, etc.)

You can leverage the net.rim.device.api.system package.

Good luck
Offline  
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On





Copyright 2004-2014 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.