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
Contributor
dodiyakanaksinh
Posts: 13
Registered: ‎04-18-2013
My Device: Simulator
My Carrier: Simulator

Playing and Recording in Blackberry

I am implementing the application in Blackberry in which I start two threads, one thread constantly receives the UDP packets from the network and stores them in one common queue, another thread is of my player which playes data from this common queue. But in this implementation I some time get the data played, some time getting ControlledAccessException and sometime error 5. So what can be the reason?????

Any help.........

Please use plain text.
Regular Contributor
meghana_datar
Posts: 58
Registered: ‎11-24-2010
My Device: Not Specified

Re: Playing and Recording in Blackberry

ControlledAccessException  means you are trying to access a ControlledAccess object without the appropriate permission. 

Can you please post the code snippet? 

Please use plain text.