title: Play background music using timer in Android
body: <p>In my application, there is 1 main activity and there are many fragments that are inflated by the activity. </p>
  
  <p>In one of the fragments, there is a task that runs for 10 seconds. 
  Along with this task, background music needs to be played for this duration. </p>
  
  <p>How can I achieve this? </p>
  
  <p>Any help will be appreciated.</p>