BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 11-10-2008, 06:30 PM   #1 (permalink)
New Member
 
Join Date: Jun 2008
Model: 8800
Carrier: n/a
Posts: 14
Post Thanks: 0
Thanked 0 Times in 0 Posts
Question How do I catch the red key event?

Please Login to Remove!

When I press the end key button, I want the program to do something before it goes into the background. How would I accomplish this since keyChar() seems to ignore this button.
Thank you.
Offline  
Old 11-10-2008, 08:18 PM   #2 (permalink)
BlackBerry Extraordinaire
 
Join Date: Mar 2008
Location: Austin, TX
Model: 9700
PIN: N/A
Carrier: T-Mobile
Posts: 1,644
Post Thanks: 0
Thanked 34 Times in 33 Posts
Default

Override UiApplication.deactivate()
Offline  
Old 11-11-2008, 02:43 PM   #3 (permalink)
New Member
 
Join Date: Jun 2008
Model: 8800
Carrier: n/a
Posts: 14
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Perfect!

Thank you! Worked like a champ.
Offline  




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