08-01-2008 09:54 AM
Solved! Go to Solution.
08-01-2008 10:02 AM
You should check the actual permissions on the device. Some of them may default to Deny even if the application is signed. This is because they represent a significant security risk to the device, Event Injection (key injection) is one and so is Browser Filtering. This may also be true for Screen Capturing on some devices.
To check this setting for your application go to Options -> Advanced Options -> Applications and search for your app. Once you find your app click menu and edit permissions. Make sure non of these are set to Deny, specifically Screen Capturing under Interactions.
08-01-2008 10:06 AM
09-15-2008 11:05 AM
When tyring to use Display.screenshot() the app will crash and the Log shows a ControlledAccessException.
I want to try the same trick, which works fine on 83xx. The only problem is the Screen Capturing Permission ( under Options -> Advanced Options -> Applications ) is no longer available in 4.6
Is there any way to trigger that permission on the Bold? or turn it on in the code?
If the permission is locked that means Display.screenshot() will not be working at all in the latest OS? Is there a replacement method ( to make a screen shot) ?
some additional info:
9000 simulator works fine ( no need to set permission )
83xx series devices work fine ( if setting the permission like suggested by kzettel )
09-15-2008 11:11 AM - edited 09-15-2008 11:17 AM
As it happens we've just received our first 9000 devices today at work and I'm also noticing this permission is gone. I've got a few other issues to sort out before I look at actually getting our app to run, but this is certainly a bit disconcerting... that said I'm sure the option will remain and the permission will have been moved somewhere (I see one for recording, maybe this one covers it?). My company has had conference calls with RIM and we will be joining the ISV alliance soon, and our software relies entirely on the screenshot capability, so I'm sure RIM would not have removed it!
Edit: yeah, if you check the docs the Screenshot permission has been deprecated and replaced with the Recording one. So no problems here.
09-15-2008 11:32 AM
Yes. you are right. it is the "Recording"
I dont know why my setting change wasn't saved when i did the testing last time.
anyhow. Everything is good now. thanks