11-12-2010 04:15 AM
I am using the Streaming code given at following link
But When I am going to stop the Thread It shows UncaughtException thrown--------- InterruptedException..ConnectionClosed exception.How to handle it?
Solved! Go to Solution.
11-17-2010 01:10 PM
You can catch the exception and reopen the stream.
There are a few things that can cause this.
1. Server closes the connection.
2. Device goes out of coverage.
3. Maximum amount of data per connection has been reached (applies to connections through a BlackBerry Enterprise Server, BlackBerry Internet Service and WAP Gateways).
11-18-2010 07:57 AM
Try with this code here no need to run thread.
BrowserSession browserSession = Browser.getDefaultSession();
I am using this code in Blackberry 5.0 and its working properly.
So try it
11-21-2010 08:06 AM - edited 11-21-2010 08:07 AM
11-21-2010 08:57 AM
I am trying to stream the following file from the server but I am getting the IllegalArgument Exception..
Its correctly playing with the WindowsMedia Player on window but can't play in Blackberry.
11-24-2010 11:21 AM
What format is the media? You can read a list of supported formats here:
11-24-2010 03:04 PM - edited 11-24-2010 03:07 PM
It is video/x-ms-asf format..
Note that Its actually mms link but we have implemented the MMS protocol through Socket connection but getting this error.