You can use getCurrentDuration() method of MediaPlayer. Refer Link
Calculate the time gone and left while playing an audio file
-
29-06-2022 - |
Frage
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.
Lösung
Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow