BlackBerry Forums Support Community
              

Closed Thread
 
LinkBack Thread Tools
Old 02-01-2008, 08:40 AM   #1 (permalink)
New Member
 
Join Date: Feb 2008
Location: Amsterdam
Model: 8330
PIN: N/A
Carrier: KPN
Posts: 2
Post Thanks: 0
Thanked 0 Times in 0 Posts
Question How to know when the BB menu is open?

Please Login to Remove!

Hi,

Is there a way to know when the (native) menu is open when using MIDlet and Canvas? (So without using a UIAppl. as main app)

I'm currently repainting the screen multiple times per second, however when the menu is open, this results in a flickering around the menu. So i would like to pause my repaint thread, when the menu is open. Therefore, i need to know when the menu is opened and when it is closed. Is there some kind of listener or trick i can use for this?

Thanx!
Jasper
Offline  
Old 02-02-2008, 02:32 AM   #2 (permalink)
New Member
 
Join Date: Mar 2006
Location: India
Model: 8800
Carrier: airtel
Posts: 7
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Double buffering to overcome flickering problem when using midp canvas in BB.

Quote:
Originally Posted by jaarts View Post
Hi,

Is there a way to know when the (native) menu is open when using MIDlet and Canvas? (So without using a UIAppl. as main app)

I'm currently repainting the screen multiple times per second, however when the menu is open, this results in a flickering around the menu. So i would like to pause my repaint thread, when the menu is open. Therefore, i need to know when the menu is opened and when it is closed. Is there some kind of listener or trick i can use for this?

Thanx!
Jasper

Using midp canvas in BB, Flickering problem occurs when the menu is open.
Double buffering can be used as an workaround to overcome the flickering issue.


Ashutosh
Offline  
Old 02-04-2008, 09:41 AM   #3 (permalink)
New Member
 
Join Date: Feb 2008
Location: Amsterdam
Model: 8330
PIN: N/A
Carrier: KPN
Posts: 2
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by ashut_it View Post
Using midp canvas in BB, Flickering problem occurs when the menu is open.
Double buffering can be used as an workaround to overcome the flickering issue.
Hi Ashutosh,

Thank you for your advise. However, the blackberry devices I tested it on already use double buffering, and this doesn't solve the flickering.

Jasper
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

Typewriter Ribbon Carbon Film Box of 6 fits IBM OEM 1010760 Continental CCR
$30.0
Typewriter Ribbon Carbon Film Box of 6 fits IBM OEM 1010760  Continental CCR pictureIBM Selectric 72 Typewriter Ribbon 1136138 OEM 8 Ribbon Cartridges
$67.99
IBM Selectric 72 Typewriter Ribbon 1136138 OEM 8 Ribbon Cartridges pictureoem genuine ibm wheelwriter 1000 type 6781-018 typewriter rollers guide rod
$18.95
oem genuine ibm wheelwriter 1000 type 6781-018 typewriter rollers guide rod picture2-New OEM 13" Velocity Cables-IBM Selectric I,II,&III Typewriters #1141763
$6.0
2-New OEM 13NEW IBM SELECTRIC TYPEWRITER PART - OEM - 723 ROTATE TAPE - 1138106 - NOS
$9.99
NEW IBM SELECTRIC TYPEWRITER PART - OEM - 723 ROTATE TAPE - 1138106 - NOS picture






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