Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Background Agent Expiry in Windows Phone 8

DZone's Guide to

Background Agent Expiry in Windows Phone 8

· Mobile Zone
Free Resource

Discover how to focus on operators for Reactive Programming and how they are essential to react to data in your application.  Brought to you in partnership with Wakanda

In Windows Phone 7[.x] background agents would expire (stop working/running) if an app wasn't launched for 14 days. Today I noticed in MSDN that things are slightly different in Windows Phone 8: 

There are a few cases where an app’s background agent will  not expire or will be automatically renewed. 
•  If the Tile for your app is pinned to the phone’s Start screen, the expiration time for your background agent  schedule is automatically extended to two weeks whenever your background agent calls Update(ShellTileData) to update the Tile. 
•   If your app is selected by the user to display notifications on the  on the lock screen, the expiration time for your background agent schedule is automatically extended to two weeks whenever your background agent calls Update(ShellTileData) to update the lock screen. 
•   If your app auto-uploads photos using a resource-intensive agent, the resource-intensive agent schedule will not expire as long as the user has enabled this feature for your app in the photos+camera settings page.

Learn how divergent branches can appear in your repository and how to better understand why they are called “branches".  Brought to you in partnership with Wakanda

Topics:

Published at DZone with permission of Matt Lacey, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

THE DZONE NEWSLETTER

Dev Resources & Solutions Straight to Your Inbox

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.

X

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}