Music player throws an error when getDuration() is called
<p>I am creating a single app which has media player controllers like play, pause etc with 2 labels where I can display the current duration and total duration. My app force closes when and throws an error where I am retrieving the total duration via <code>getDuration()</code>. Can anybody please help me out with this?</p>
