I have set up my app using these:
https://gist.github.com/ianhanniballake/15dce0b233b4f4b23ef8
The duration is displayed as 10, which I believe is because dividing 10000 in putLong(MediaMetadataCompat.METADATA_KEY_DURATION, 10000);
by 1000 in mEnd.setText(DateUtils.formatElapsedTime(duration/1000));
to get seconds format. But why 10000?
How do I get the original duration of the track being played?