Hello,

I would like to propose a slight modification to the documentation for
that function. Although the state diagram for the class does help
crarify things (and the comments below that diagram do sum it up in
words), the documentation for the start() method is deceiving IMHO.

It currently reads:

"Starts or resumes playback. If playback had previously been paused,
playback will continue from where it was paused. If playback had been
stopped, or never started before, playback will start at the
beginning."

The part about "playback had been stopped --> playback will start at
the beginning" is deceiving because it does not warn that for this to
work the MediaPlayer object must have been put into prepared state
again. So, there is no direct transition from Stopped state to Play
state, like there is from Paused to Play state.

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

Reply via email to