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

Regular Contributor
Posts: 63
Registered: ‎08-30-2012
My Device: 9900
My Carrier: Various

BlackBerry ShoutCastInternet Radio Streaming

I developed  ShoutCastInternet Radio Streaming for BlackBerry,

and I'm able to play Successfully.But Some times the URL's which I am able to play are not

responding(ICY 401 Service Unavailable) when i am trying to play those URL's My application is throwing

an Uncaught Exception and finally application was terminating

Note:I had Debugged My Application for an active  URL the out put is ICY 200 OK and for unactive URL

the message is ICY 401 Service Unavailable

Could any one help me?

here my Sample Code:

 class PlayerThread extends Thread {
         * Create and start the player
         * @see java.lang.Runnable#run()
        public void run() {
            try {
                _player = Manager.createPlayer(_source);

                if (_player != null) {
                     //for unactiveURL Here My application get's Terminated

             catch(IOException e){
             catch(MediaException e){