I have configured the Progress Bar in my Application with the Audio File. All the audio files are in the Seconds, Now where am I stuck is the Progress Bar only shows the progress with the audio file upto the fixed value.
I mean if the duration of the file is supposedly “5760”(in milliseconds) then the Progress Bar will show the progress upto only “5000” milliseconds and then the space will be seen empty for the rest “760” milliseconds.
I want the Progress Bar to get Synchronized fully and to show the Progress Bar complete according to the length of the Audio file.
Can anybody please help me in this particularly.
Thanks,
david
You can round off the value by using following code: