I am using MediaPlayer to play music through url. (streaming)
It is playing fine most of deivces.
But for some devices it works strangely.
Here is log.

--------------------------------------------------------------------------------------------------------------------------------------
09-22 14:49:39.650: DEBUG/MusicPlayService(2862): onBufferingUpdate,
percent=7
09-22 14:49:39.650: DEBUG/MusicPlayService(2862): false
09-22 14:49:39.650: DEBUG/MusicPlayService(2862): onBufferingUpdate,
percent=100
09-22 14:49:39.660: DEBUG/MusicPlayService(2862): false
09-22 14:49:39.660: DEBUG/MusicPlayService(2862): onPrepared
09-22 14:49:39.680: DEBUG/MusicPlayService(2862): OnInfo :
what=1 ,extra=902
09-22 14:49:40.651: DEBUG/MusicPlayService(2862): onBufferingUpdate,
percent=11
09-22 14:49:40.651: DEBUG/MusicPlayService(2862): true
09-22 14:49:41.662: DEBUG/MusicPlayService(2862): onBufferingUpdate,
percent=13
---------------------------------------------------------------------------------------------------------------------------------------
true or false means mediaplay.isPlaying()'s return value.

Thought onPrepared is not called, onBufferingUpdate is called.
When buffering reaches 100%, mediaplayer's state is changed to
"prepared state"
is it correct?

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