uwpalarmbackground-media-player

I want to launch my Background Media Player UWP app as an alarm


I built a Background Media Player UWP app (targeted specifically at Anniversary Update) that plays music from my personal collection in a manner that I want using playlists defined in the app. I would like the ability, in my app, to create and manage alarms (day, time, recurrence, etc...) and associate each with a specific playlist defined in the app and have the alarm wake the app and begin to play the appropriate playlist.
The docs suggest, when trying to create an alarm, using a Toast notification but I can't see how to get the notifications to accomplish my goals. Any ideas?


Solution

  • I would like the ability, in my app, to create and manage alarms (day, time, recurrence, etc...) and associate each with a specific playlist defined in the app and have the alarm wake the app and begin to play the appropriate playlist.

    It is not possible to awake any app without user interaction(Click or Touch).

    Toast Notification can be used for Alarm, and it can play custom Audio using Audio tag. See ToastNotification. But it can't play a playlist. So it is not a feasible scenario.