BlackBerry Forums Support Community

Closed Thread
LinkBack Thread Tools
Old 06-12-2008, 04:54 AM   #1 (permalink)
New Member
Join Date: Jun 2008
Model: 8310
Carrier: Airtel
Posts: 1
Post Thanks: 0
Thanked 0 Times in 0 Posts
Exclamation KeyListener in 8310 on MainScreen gives Exception

Please Login to Remove!


I have an application which tries to listen Key Press Events on my Application Screen launched in background. I launch my Application screen from Options Manager.

When I try to open the application, I get "Unauthorized attempt to monitor key press" and in the log I get "ControlledAccessException"

The same application works fine in the earlier versions like 7100g device.

What could be the reason for this? Has BlackBerry restricted this operation on newer devices (or OS)? If so, what could be the reason for the same?


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