0

I'm trying to implement a BackgroundAudioTask using this example, but when I close my app while the task is running, and reopen my app, it creates a new task instead of resuming the task that was already running. Because it creates a new one, it also plays 2 songs at once then. What is the best way to check if the task is running and resume the task then?

Arn Vanhoutte
  • 1,779
  • 4
  • 16
  • 28
  • Do you mean you can reproduce the issue with the original example? Or after you made some changes? What the changes are? – Alan Yao - MSFT Dec 14 '15 at 14:03
  • I can reproduce the issue with the original sample, without changing anything. Just open the app, play a song, immediatly close the app and open it again, then play another song. It'll play the 2 songs at the same time – Arn Vanhoutte Dec 15 '15 at 09:58

0 Answers0