Welcome!

Welcome to the Official BlackBerry Support Community Forums. This is your resource to discuss support topics with your peers, and learn from each other. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

Java Development

Reply
New Developer
zeeshanakhtar
Posts: 20
Registered: ‎08-18-2008

Options and Back button events are not found

Hi,

i am developing a Midlet application and using a  javax.microedition.lcdui.Canvas class. All the key events are coming in my overrided function of Keypressed() but i didn't get any button pressed event when i pressed the back button or the options button on the blackberry device.

Is their is any method through which i can get these keyevents?

 

Regards,

Zeeshan Akhtar 

Please use plain text.
Administrator
MSohm
Posts: 12,957
Registered: ‎07-09-2008
My Carrier: Bell

Re: Options and Back button events are not found

The behaviour you are seeing is by design.  These buttons can be captured in a BlackBerry CLDC application, but not within a MIDlet.

Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Found a bug? Report it using the Issue Tracker
Please use plain text.