Answered by:
How do I list active background tasks in windows 8?

Question
-
Hi!
I'm trying to activate operator triggering with metadatapackage. I've read in some posts here that it's possible to list registered background tasks somehow. But I can't find any information about this. Is it possible to list registered background tasks and how do I it?
thanks
pwr00
- Changed type Eric Hanson-MSFTModerator Friday, May 25, 2012 7:15 AM
- Changed type Eric Hanson-MSFTModerator Friday, May 25, 2012 7:15 AM
Wednesday, May 9, 2012 2:04 PM
Answers
-
pwr00,
Did you try this:
The MobileOperatorNotification event can only be registered via the Service Metadata. For an end user, the registration will happen automatically after they connect a mobile broadband device and the app is downloaded. For a developer, you should forcefully trigger Windows to process the metadata and register the background task. To do this, please open ‘Devices and Printers’ in the Control Panel and press F5 or right click and select 'Refresh'. You should do this every time you deploy or install the app and after connecting a mobile broadband device. Please follow up if this resolves the issue.
Best Wishes - Eric
- Marked as answer by Eric Hanson-MSFTModerator Friday, May 25, 2012 7:16 AM
Thursday, May 10, 2012 4:57 PMModerator -
pwr00,
This is only needed during the development cycle.
Best Wishes - Eric
- Marked as answer by Eric Hanson-MSFTModerator Friday, May 25, 2012 7:16 AM
Friday, May 11, 2012 3:47 PMModerator
All replies
-
pwr00,
What is operator triggering? Could you post the link to some of the threads?
Best Wishes - Eric
Wednesday, May 9, 2012 9:33 PMModerator -
Hi again, sorry about my bad way of describing my issue. I was very tired when I wrote the post. I'm trying to get MobileOperatorNotification event notifications from windows, as described in this thread http://social.msdn.microsoft.com/Forums/en-US/tailoringappsfordevices/thread/41a35c7a-2227-48c3-871d-59e444129430
Since I'm unable to make this work I need ways to debug it. I was hoping that there would be some way to see if there is something wrong with my metadatapackage or in my application that is supposed to get the notifications. So I was hoping that there would be some way to see which background tasks are registered in Windows.
Thursday, May 10, 2012 8:12 AM -
pwr00,
Did you try this:
The MobileOperatorNotification event can only be registered via the Service Metadata. For an end user, the registration will happen automatically after they connect a mobile broadband device and the app is downloaded. For a developer, you should forcefully trigger Windows to process the metadata and register the background task. To do this, please open ‘Devices and Printers’ in the Control Panel and press F5 or right click and select 'Refresh'. You should do this every time you deploy or install the app and after connecting a mobile broadband device. Please follow up if this resolves the issue.
Best Wishes - Eric
- Marked as answer by Eric Hanson-MSFTModerator Friday, May 25, 2012 7:16 AM
Thursday, May 10, 2012 4:57 PMModerator -
hi again Eric!
Refreshing the devices and printers seems to solve the problem. I'm a bit supprised that I have to do this, since I previously made sure that the metadata package was installed by checking the recreated registry entries and also read the logs. How does this work when the metadatapackage is deployed on a user computer? Do the user have to go into devices and printers and hit refresh? Or is this a bug?
Friday, May 11, 2012 10:23 AM -
pwr00,
This is only needed during the development cycle.
Best Wishes - Eric
- Marked as answer by Eric Hanson-MSFTModerator Friday, May 25, 2012 7:16 AM
Friday, May 11, 2012 3:47 PMModerator