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

Popular posts from this blog

c# - SharpSVN - How to get the previous revision? -

c++ - Is it possible to compile a VST on linux? -

url - Querystring manipulation of email Address in PHP -