View Single Post
Old 05-27-2011, 09:43 AM   #1 (permalink)
javalis
New Member
 
Join Date: May 2011
Model: 8900
PIN: N/A
Carrier: claro argentina
Posts: 2
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Playing live radio over Http

Please Login to Remove!

hi all.
I'm building a Java app. in which I need to play live radio stations and tv over http.
I couldn't find any suitable example on how to do this, can anyone please point me in the right direction?

so far I've try using javax.microedition.media.Player for opening a remote URL from which I should get the streaming.
Player p = Manager.createPlayer("...."); player.start();
I'm aware that this kind of connection are not available through BIS, nut I've attepmted to open it through a regular data plan (APN) and I always get an exception "media unloaded while initializing"; this occurs right after the player is realized and befor starting.

I get this exception on the actual device.

I appreciate any help.

thanks.
Offline   Reply With Quote