문제

I'd like to create an app for the Windows Phone 7 that plays a song at a user-specified time. My idea was to use push notifications to trigger the app to play some content on the device. However, I'm not sure if this is possible. To quote MSDN about raw notifications:

If you do not wish to update the Tile or send a toast notification, you can instead send raw information to your application using a raw notification. If your application is not currently running, the raw notification is discarded on the Microsoft Push Notification Service and is not delivered to the device. The payload of a raw notification has a maximum size of 1 KB.

Looks like this won't work. Is there another way to implement this? I know that wp7 doesn't have multitasking, so I can't have the app running in the background at all times.

도움이 되었습니까?

해결책

As far as I know there is no way for timed (or other background) notifications of your program on the current (first) version of Windows Phone 7.
I needed something similar. After finding nothing I asked MS support, and they told me this is impossible to achieve in WP7 right now.

Seems the only way is to wait for an update for WP7 :(

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top