BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 11-12-2008, 09:56 AM   #1 (permalink)
New Member
 
Join Date: Mar 2008
Model: 8120
PIN: N/A
Carrier: indego
Posts: 14
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default ControlledAccessException on addGlobalEventListener

Please Login to Remove!

I am installing my app through CodeModuleManager.every thing works fine but when my app starts it throws an exception when it reaches

app.addGlobalEventListener(app);

and the exception is ControlledAccessException.

can any one tell me why i am getting this exception
Offline  
Old 11-12-2008, 11:12 AM   #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

Take a look at your Application Permissions - specifically "interactions" and make sure that all sections are set to "Allow".
Offline  
Old 11-13-2008, 04:38 AM   #3 (permalink)
New Member
 
Join Date: Mar 2008
Model: 8120
PIN: N/A
Carrier: indego
Posts: 14
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thank you.Its working now. But why did he not asked me when the application is installed.
When we install apps OTA the Blackberry asks for the permission but in my case(CodeModuleManager) its not asking. any suggestion?
Offline  
Old 11-13-2008, 09:56 AM   #4 (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

Depends on what version of BB OS you are on. There are several versions in the 4.3.0.xx Area that have an internal bug when it tries to instantiate the "ask" dialog.
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

Genuine OEM Dell Ink Cartridge Color Black 7Y745 7Y743 Lot Of 4 +
$39.0
Genuine OEM Dell Ink Cartridge Color Black 7Y745 7Y743 Lot Of 4 + pictureDELL 725-BBBQ Lamp manufactured by DELL
$166.71
DELL 725-BBBQ Lamp manufactured by DELL pictureDell OEM 5100 series 4 Color Toner Set CMYK, GG577, GG578, GG579, HG308 - New
$179.99
Dell OEM 5100 series 4 Color Toner Set CMYK, GG577, GG578, GG579, HG308 - New pictureOEM Dell KU705 nVidia Quadro FX5500 1GB GDDR2 PCI-e Graphics Card
$99.95
OEM Dell KU705 nVidia Quadro FX5500 1GB GDDR2 PCI-e Graphics Card pictureUSSP OEM GENUINE DELL Power Supply PSU NPS-420AB E 420W POWEREDGE
$19.89
USSP OEM GENUINE DELL Power Supply PSU NPS-420AB E 420W POWEREDGE picture






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