10-01-2008 12:40 AM
I am getting a ControlAccessException on a particular device only (so far) when trying to call isObscured() on my MainScreen instance. I don't have the device with me, but have a guy testing it for me.
From what I know:
Blackberry Pearl 8100
Software Version 4.5
The app has all permissions set to Allow
Here is a snippet of the jvm log:
S Java Exception - ControlledAccessException - 9/30 23:20:51
| No detail message
Any help would be appreciated. Thanks.
10-01-2008 03:20 PM
The Screen.isObscured method is an internal method that should not be used in third party applications. You should only make use of methods that are listed in the JavaDocs.
You can use the onObscured method and keep track of the status within your application.
10-01-2008 03:40 PM
Thanks for the quick reply. I did not know that, but I did notice it wasn't in the JavaDocs. I only found the method through intellisense.
I will try to use onObscured().
01-26-2009 10:36 PM
But I am also getting this error on 9000/4.6:
No detail message
And ApplicationDescriptor.getLocalizedName() is a public API method that does not require code signing.
Would appreciate any insight, because I am kinda stuck here.
01-28-2009 11:27 AM
01-29-2009 12:35 PM