문제

How can I find out the time (second) that my MediaPlayer played the music in ms

I want to segment a single audio file to determinate durations.

도움이 되었습니까?

해결책

You can use getCurrentDuration() method of MediaPlayer. Refer Link

다른 팁

You may use something like in this answer on here and also a good solution is given here.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top