Hi,

Unfortunately I wasn't able to reproduce similar behaviour on SGS2, only device 
I have, running ICS 4.0.4. I ran following code and stream started to play 
within 2-3 seconds delay it takes to bring GPRS connection alive. Using WiFi 
delay was only fraction of a second.

mp = new MediaPlayer();
mp.setDataSource(this, Uri.parse("http://radio-shtorm.ru:8000/32";));
mp.setOnPreparedListener(new MediaPlayer.OnPreparedListener() {
        @Override
        public void onPrepared(MediaPlayer mp) {
                mp.start();
        }
});
mp.prepareAsync();

--
H

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to