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