Why tmediaplayer.CurrentTime not working for Android?

  

I want to make control audio with tackBar
I use this code
When audio is playing, my code on timer is

If trackbar1.max<>mediaplayer1.duration then
trackbar1.max := mediaplayer1.duration;

If trackbar1.value<>mediaplayer1.currentTime then
trackbar1.value :=mediaplayer1.currentTime

This code works perfectly for windows, but on Android no (trackbar keep changing up down up down)

Comments are closed.