Is there a way to determine the duration of an audio file
<p>In android, what is the simplest way to determine the duration of an audio file (assume I have an URI of the file on the phone)?  </p>

<p>Do I need to create and prepare an media player for each file I want to determine the duration of the file?</p>

<p>Thank you.</p>
