09-19-2011 02:55 AM
I am using the sample application provided by blackberry, "nfcreaderdemo", to read a magstripe card. The application works fine when used separately.
But when I integrate it with my application it gives a "ControlledAccessException". I've also set all the permissions as specified in some forums.
But I am still not able to run the application. I see no solution of this exception.
Please tell me the solution to avoid the exception.
09-21-2011 10:07 AM
Are you testing in the BlackBerry smartphone simulator or on a real device? If it is a real device, how was the application installed?
09-22-2011 07:02 AM
We are running on bold 9900 as I mentioned, and we used debugging function of eclipse to test the app on device.
The nfc reading app runs smoothly when run alone but gives the exception when integrated with another app.
Thanks in advance
09-22-2011 10:03 AM
Using the Run/Debug As or Load onto Device features of Eclipse can cause issues with application permissions, which lead to false ControlledAccessExceptions. Try loading through any other means (other than javaloader and specifying the COD file names).
This should be fixed in the next update of our plug-in.
12-07-2011 03:36 AM
This is probably caused by a known issue which is fixed in later device software builds:
- 9900 (Bold): fixed in OS version 184.108.40.2067 (bundle 1603)
- 9360 (Curve) fixed at 220.127.116.110 (bundle 1699).