I'm trying to create a background task that uses the accelerometer to play with the music in the background (pause, play, etc). In the Package.appxmanifest I have a backgroundtask, that reads the accelerometer and in the Package.appxmanifest it has Device use trigger as supported task type. When I try to add Audio as supported task type I get the following error during deployment:
DEP0001 : Unexpected Error: Package could not be registered. (Exception from HRESULT: 0x80073CF6)
I played with it a little bit and it seems I cannot use any other task type with audio, but without audio I could use anything. Do you have any suggestions?