How to retrieve MP3 file duration(secs) in android sdk <10
<p>I have stored set of MP3 files  in my sd card. Now I want to retrieve its duration in seconds. I went through few links and I was able to find solution only from SDK version 10 using the <code>MediaMetadataRetriever</code> class. But my requirement is for SDk version 7. Is there any way to find out the duration of mp3 files. I am sorry if this is a repeated question here. </p>

<p>I know that using MediaPlayer's <code>getDuration()</code> solves this issue. But I don't want to use this.</p>

<p>Any help is much appreciated. </p>
