Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
Highlighted
Developer
Posts: 214
Registered: ‎03-18-2012
My Device: 8520
My Carrier: Company
Accepted Solution

Folder listener problem....

Hi ,

         I am using the folder listener in my application and with it i listen the incoming Pin messages. i get sucess to read the message subject and body ( with listener). I have to take some decision depending upon the message body

but it throws exception (net.rim.device.api.controlled Acess Exception: unauthorize acess to attach to this app) when I try push  the screen..

 

I assigned all the permission to the application...

please suggest.....

Developer
Developer
Posts: 1,123
Registered: ‎02-10-2009
My Device: 8130 / 8350 / 9530 / 9550 / 9850 / PlayBook
My Carrier: Verizon

Re: Folder listener problem....

Are you trying to push the screen within the listener itself? Is it a global screen? The listener is not part of your app directly, it runs in the user space of the messages application, so you'll need to use a global listener or some other mechanism to get back into your applications user space to push the screen.