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
Regular Contributor
Posts: 63
Registered: ‎08-30-2012
My Device: 9900
My Carrier: Various

How to Stream and play ShoutCast Internet Radio on BlackBerry (java)

Hiii to Everyone,

                              i started my carrier with j2me(java) Nokia Mobile  and woking for last three months,i have developed two rss Applications using j2me(java),

 

Now i have a Requirement to play shoutcast Internet Radio stream on BlackBerry Java Mobile, Here My Input URL:http://38.101.195.5:9156/ need to play on BlackBerry

 

I have tried to stream and play the above URL using j2me(java) for Nokia mobile,but i failed to open the stream

here my Code for j2me(java):

connection = (HttpConnection) Connector.open(URL);

dataIn = connection.openDataInputStream();//here i am facing java.io.IOException: 11-Error in HTTP operation

 

Can any one Provide me the sample code  for Streaming and Playing the above URL Internet Radio using BlackBerry Java?your help will be appreciated

thanks

pavan

Contributor
Posts: 18
Registered: ‎01-10-2013
My Device: Amstrong
My Carrier: Indosat

Re: How to Stream and play ShoutCast Internet Radio on BlackBerry (java)

use this link: 

http://supportforums.blackberry.com/t5/Java-Development/Streaming-media-Start-to-finish/ta-p/488255

 

remember to input circularbytebuffer...

but u must input the old one...

the circularbytebuffer that link to there is the new one and cannot support the example...

search it in google... with 2009 file...

Smiley Happy