[android-developers] Re: Audio Streaming with Media Player

2009-02-08 Thread bubble.vnhan
Hello!!! this source code is no problem! but just only Url is incorrect. mp.setDataSource(http://asx.skypro.ch/radio/internet-64/ drs3.asx); you should choice correct Url ( for down load file). mp.setDataSource(http://amnhac.timnhanh.com/player/getsong/down

[android-developers] Re: Audio Streaming with Media Player

2009-01-26 Thread arnouf
Hello, I tried to do the same thing. I had to implement a buffering file system...but it was not easy, two files one reading the stream and another readed by player... But the problem was the first file streaming the content grew without stopping... So wait cupcake... But how LastFm could

[android-developers] Re: Audio Streaming with Media Player

2009-01-12 Thread Sundog
According to the docs, MediaPlayer understands only progressive download files. On Jan 12, 7:04 am, Lukas lukasn...@googlemail.com wrote: I want to play a radio stream directly from a url, without downloading it first into a temporary file on the phone and having MediaPlayer read it from