I create a media player for playing an audio file.
After it plays for a while I pause it.
I then seek to a position 5 seconds earlier (the new position) than
the current position (the old position).
I immediately call getCurrentPosition and it returns the correct new
position.
I have an OnSeekCompleteListener and in it I call getCurrentPosition.
It returns the old position (before the seek).
Any additional calls to getCurrentPosition with the media player
paused
return the old position.
When I now call start, it starts playing from the new position,
and after that, calls to getCurrentPosition are correct.
Note: all calls are being made by the same thread.

The problem does not occur if I do all of this while the player is
playing.
The problem occurs only on my stock EVO running 2.1-update1
(1.32.651.6).
It does not occur on my G1 (1.6), Hero (2.1), Nexus (2.1)
or in the emulator.

Any ideas?

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