how we get end position of a progress bar /seek bar?
<p>i create a audio player and wanna play a audio several times but once it complete 1st time, the progress bar get stuck at the end.i tried to get the last position of progress bar by</p>

<pre><code>boolean atEnd = audioStreamer.getMediaPlayer().getDuration()
                - audioStreamer.getMediaPlayer().getCurrentPosition() == 0;
</code></pre>

<p>but it gives false every time.</p>

<p>thanks in advance. </p>
