How can I find out the time (second) that my MediaPlayer played the music in ms
MediaPlayer
ms
I want to segment a single audio file to determinate durations.
You can use getCurrentDuration() method of MediaPlayer. Refer Link