How To keep your Window phone App run when press back button of hardware?

StackOverflow https://stackoverflow.com/questions/23584385

  •  19-07-2023
  •  | 
  •  

Вопрос

I a new in window phone app. I have some problem that I can't solve. I have built a sample app use web browser to play audio music online, I want to keep music play when I press back or start button (of hardware windows phone mobile), but actually, when I pressed it, the music have been stopped.

Это было полезно?

Решение

You should use Background agent to play music in the background. Your app must be close if the user press the back button, otherwise you will not allowed to publish it in the store.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top