07-15-2009 03:07 PM
I followed this knowdge base article exactly to create an app with an embedded camera field:
It works perfectly in the 4.6+ simulators. But when I build & sign using the 4.6 JDE and install on a real 4.6 device, I get a ControlledAccessException when calling the getSnapshot() method when taking the picture. Here's what ends up in the event log:
Time: Jul 15, 2009 14:49:55
No detail message
This is the line of code from the article that throws that exception:
byte imageBytes = vc.getSnapshot(imageType);
Does anyone know why we'd be getting a ControlledAccessException here? We sign our app and use lots of other restricted parts of the API that require signing, and they all work fine.