I currently have a url for the audio file. I would like to create an audio player in Evernote. 
I tried to create ProgressDialogwhere the maximum value is equal to the duration of the player. But I don't know how to add pause / resume Buttonto work with the progress bar and audio. So basically this is divided into three questions:
- How to add
Buttonin ProgressDialog? - How to pause and resume a)
ProgressDialogand b) audio? - How to detect that user tabs are outside
ProgressDialog, in which case the sound should be stopped?
source
share