Windows Phone 8.1 deployment error when trying to use a background job using a sound trigger and a device

I am trying to create a background task that uses an accelerometer to play music in the background (pause, play, etc.). In Package.appxmanifest, I have a backgroundtask that reads the accelerometer, and in Package.appxmanifest it has a trigger to use the device as a supported task type. When I try to add Audio as a supported task type, during deployment, I get the following error:

DEP0001: Unexpected error: package could not be registered. (Exception from HRESULT: 0x80073CF6)

I played with him a bit, and it seems that I cannot use any other type of task with sound, but without sound I could use anything. Do you have any suggestions?

0
source share
2 answers

It seems like you cannot use the audio and device in the same background task. You will need to create 2 background jobs.

+2
source

If you tried to upgrade your WP application and received an error, check out the links below. Perhaps you may miss an element in your Manifest file.

Deploying Universal Application Results in “Package Unable to Register”

Deployment Error: Package could not be registered

0
source

All Articles