04-15-2009, 04:35 AM
Thumbs Must Hurt
Join Date: Oct 2008
Post Thanks: 0
Thanked 0 Times in 0 Posts
| | Regarding onClose() of MainScreen
Please Login to Remove!
does anybody know how to determine if the user clicked the "return" key or the "close" menu without using a keypad listener?
i believe the onClose() method will be executed on both scenarios since the MainScreen will be closed.
i tried using a KeypadListener, and it worked well in the simulator. but when i transferred my application to the device, i was thrown an exception that says: Unauthorized attempt to monitor key presses.
Do you have any suggestions on what i should do to solve this problem?