BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 01-08-2008, 05:01 AM   #1 (permalink)
New Member
 
Join Date: Oct 2007
Location: Barcelona
Model: many
PIN: N/A
Carrier: many
Posts: 10
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default UI issue with Alert

Please Login to Remove!

Hi,

I'm using the Alert class (from sun API, not the BB api) to display a confirmation message.

I will like to map the BACK key to the "no" answer (Command).

Any idea how I can achieve this?

thanks in advance for your help,
Offline  
Old 01-08-2008, 06:03 AM   #2 (permalink)
CrackBerry Addict
 
Join Date: Apr 2005
Location: hamburg, germany
Model: 8900
Carrier: o2
Posts: 838
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

you could extend the class and add a keypadlistener
__________________
java developer, Devinto, hamburg/germany
Offline  
Old 01-08-2008, 06:38 AM   #3 (permalink)
New Member
 
Join Date: Oct 2007
Location: Barcelona
Model: many
PIN: N/A
Carrier: many
Posts: 10
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

hi,

thanks for your reply.

a keylistener solution will work, but I was wondering why the following don't work?

cmdNo = new Command(msg_NO,Command.BACK,20); // .BACK don't work on BB8100 (not mapped to the back button)

when I press "back", the *selected* command is trigged.
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

KOBOLD SMN TYPE FLOW SWITCH STAINLESS STEEL SMN-1150HR0N25
$75.0
KOBOLD SMN TYPE FLOW SWITCH STAINLESS STEEL SMN-1150HR0N25 picture*NIB* Allen Bradley 800HC-JR2B Selector Switch, 3-Pos., 2NO, 2NC & Finger Guards
$38.95
*NIB* Allen Bradley 800HC-JR2B Selector Switch, 3-Pos., 2NO, 2NC & Finger Guards picture(1PCS) ADG436BRZ-REEL IC SWITCH DUAL SPDT 16SOIC G436BRZ-REEL 436 G436
$6.18
(1PCS) ADG436BRZ-REEL IC SWITCH DUAL SPDT 16SOIC G436BRZ-REEL 436 G436 picture(2) VINTAGE MCGILL LEVOLIER BRASS PULL CHAIN SWITCH inline on/off/toggle
$12.99
(2) VINTAGE MCGILL LEVOLIER BRASS PULL CHAIN SWITCH inline on/off/toggle pictureNEW Burkert 0452471 1/4 npt 58 psi max 120 volt Solenoid
$22.5
NEW Burkert 0452471 1/4 npt 58 psi max 120 volt Solenoid picture






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