BlackBerry Forums Support Community               

Closed Thread
LinkBack Thread Tools
Old 06-15-2007, 06:55 AM   #1 (permalink)
Thumbs Must Hurt
Join Date: May 2007
Location: berlin, germany
Model: 8310
Carrier: vodafone
Posts: 163
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default push screen but don't close it

Please Login to Remove!

sometimes my application has to wait for an email-response. while it is waiting i want to show a new screen.

but if the user press the escape key he returns to the mainscreen. how can i block this action for my popupscreen?

thank hibbert
My English is so bad, that makes me nobody so quickly after
Old 06-15-2007, 07:04 AM   #2 (permalink)
CrackBerry Addict
Join Date: Jun 2005
Location: Manchester, UK
Model: BOLD
Carrier: t-mobile
Posts: 714
Post Thanks: 0
Thanked 0 Times in 0 Posts

override the keyChar method for escape:

public boolean keyChar(char key, int status, int time) {
boolean retval = false;
switch (key) {
case Characters.ESCAPE:
//do nothing
retval = super.keyChar(key, status, time);
return retval;
new job doesn't allow a public profile - please do not contact this user with questions, you will not get a response. good luck!
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
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.