I need to get the duration of an audio file for a series of voice announcements that need to play from an app. I have added the audio files as resources and they do play just f
Just put mp.reset(); before mp.release();.
mp.reset();
mp.release();