09-03-2011 02:11 AM
I have made an application by implementing BBM API. I am using BBM SDK 1.1. My application is working well on all the devices including BB 9000, BB 9300, BB 9780 and BB 9800 (Torch). and even on the simulators (provided with the SDK 1.1)
But while launching, it crashes on two devices .
Even the Sample Application ("TIC-TAC-TOE") provided with the SDK is not able to run on these two devices.
While launching, sample application (Tic-Tac-Toe) is throwing "Class-not-found" exception.
And my application is throwing "ControlledAccessException"
The two devices are :-
1) BB 9900 (640*480)
O.S :- 7.0 Bundle 848(v188.8.131.52)
BBM :- 184.108.40.206
2) BB 9810 (640*480)
O.S :- 6.1 Bundle 473 (version 220.127.116.11)
BBM :- 18.104.22.168
I have found 1 thing common in both of these two devices,i.e. the BBM is prebundled with the OS. I have not installed seperately. Where as on rest of the devices, the BBM was not prebundled with the OS, and I have seperately installed it.
Please help... Any suggestion would be a great help !
09-07-2011 12:53 PM
ControlledAccessException indicates that your application has attempted to do something that is disallowed in the application control policy. To view/modify it, on the BlackBerry Smartphone go to Options, Application Management, select your application and choose Edit Permissions from the menu.
What line of code was throwing the exception?