android - MediaPlayer.getCurrentPosition() has system dependent offset -
i'm using android.media.mediaplayer
play song in android application. events in app triggered @ parts of song. know in song right use mediaplayer.getcurrentposition()
.
a problem approach getcurrentposition()
returns current position in song, plus small error. error constant, different phones tested. error changes when updating android. error ranges -50 150 ms.
is known problem? ideas on how work around it? (except creating table on known phones , android versions)
it known problem. see http://code.google.com/p/android/issues/detail?id=11590 , of today, have not seen solutions.
Comments
Post a Comment