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

TEC1-12706 Semiconductor Refrigeration Chip Water Dispenser Refrigeration CPU HF
$2.45
TEC1-12706 Semiconductor Refrigeration Chip Water Dispenser Refrigeration CPU HF pictureRECTIFIER SEMICONDUCTOR DIODE S4220 8016 #51794
$10.0
RECTIFIER SEMICONDUCTOR DIODE S4220 8016 #51794 picture10Pcs BD139 Genuine ON Semiconductor NPN Transistor 1.5A/80V To-126 Pop fashion.
$0.99
10Pcs BD139 Genuine ON Semiconductor NPN Transistor 1.5A/80V To-126 Pop fashion. pictureLM747CN National Semiconductor OpAmp Operational Amplifier IC LM747 - NOS Qty 2
$6.49
LM747CN National Semiconductor OpAmp Operational Amplifier IC LM747  - NOS Qty 2 pictureLM350N National Semiconductor Dual Peripheral Driver IC DIP - NOS Qty 1
$4.49
LM350N National Semiconductor Dual Peripheral Driver IC DIP - NOS Qty 1  picture






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