tags:

views:

15

answers:

1

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.........

A: 

The ControlledAccessException can be thrown if you application doesn't have sufficient permissions to perform a certain operation. Go to the application settings and make sure everything is set to "allow" and see if that helps.

As for error 5 - if you're talking about an error thrown by the audio player (received by the PlayerListener), you can refer to this page for a reference on what the numeric error codes mean.

Marc Novakowski
I am using Blackberry simulator, so I think there is no option in simulator.....I want to make VOIP client so actually where to start I am not getting that....Help if you know about this.....
Darshan G. Prajapati