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
New Developer
Posts: 28
Registered: ‎05-27-2009
My Device: Not Specified

Streaming Audio

[ Edited ]

Is there any way to pull a media file from a specified URL? I currently have a Live365 address (http://www.live365.com/play/{live 365 username}) which redirects to one of two different IP addresses randomly, so I need to be able to get which address it is resolving to so I can load it in to the createPlayer function. 

 

Is there a simple way to load a URL and then parse the hostname/IP address from it?

 

Thanks!

 

Message Edited by toddbloom7 on 05-27-2009 05:14 PM
Message Edited by toddbloom7 on 05-27-2009 05:14 PM
New Developer
Posts: 28
Registered: ‎05-27-2009
My Device: Not Specified

Re: Streaming Audio

Anyone?
Developer
Posts: 21
Registered: ‎02-11-2009
My Device: Not Specified

Re: Streaming Audio

Hi , 

try this thread. very similar to your problem. 

http://supportforums.blackberry.com/rim/board/message?board.id=java_dev&message.id=33833#M33833

 

thanks