Tuesday, November 27, 2012

Background agent expiry in Windows Phone 8

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.

56 comments:

  1. Anonymous6:33 pm

    Do you know if a wp7 app running on wp8 has to reschedule?

    ReplyDelete
  2. Anonymous - I don't know about that scenario. I would expect they would. But if you were writing something that targets WP7 to run on both you'd have to write the code to restart it anyway. Even after discovering this I'm still planning on leaving the restart code in WP8 versions. It's not going to cause any problems being there and is still needed when not sending push notifications to update the tile.

    ReplyDelete
  3. Yes, but in my apps, I've been changing the tile to warn them to restart before the time runs out so they don't think it's broken.

    I'll have to detect W8 I think, and change my timeout date in that case, or at least not display the message.

    ReplyDelete
  4. JohnRichards8:30 pm

    Interesting! I agree with the idea. I just love the way, I can flow around the device with ease. This was a good app before this update.
    assignment writing service

    ReplyDelete
  5. This is very nice tips providing about windows phone......
    buy an essay online

    ReplyDelete
    Replies
    1. Jhone Aliya5:59 pm

      Get the deal from here
      Voice mobiles

      Delete
  6. Mark Walker4:27 pm

    This topic describes the scheduling, duration, and limitations of scheduled tasks. Scheduled Tasks and background agents allow an application to execute code in the background.
    researchpapertown

    ReplyDelete
  7. yes, however in my own apps, I have been previously altering your tile to alert these phones reactivate prior to a time period goes available so they online tickets maker don't even think it's shattered.

    ReplyDelete
  8. This phone is just amazing. I am thinking to buy it because it is my need also. I want to connect with my assignment writers and i can save those assignment in my phone.

    ReplyDelete
  9. Thanks for everything guys

    ReplyDelete
  10. Awesome tips.. I've learned a lot

    ReplyDelete
  11. It's such fantastic smart phone and i am having great experience of using it. Now i can easily take UK essay writing help @ doneessay.co.uk and place my order in a smartest way and get my desired documents easily. This phone has become a great resource for me studies.

    ReplyDelete
  12. According to research paper help from done research paper, the popularity ration is very less as compare to android phones but in the coming era, windows phone is being liked by public due to its attractive interface and windows phone makers are also working hard to improve their market.

    ReplyDelete
  13. Windows phone with this features is amazing to read e books also others documentation work easily done.
    Do my assignment – assignment kingdom

    ReplyDelete
  14. Windows phone is getting advance day by day. Day is near when it will easily compete with Android and IOs. |Dissertation writing service||Dissertation Proposal in UK|

    ReplyDelete
  15. Windows phone has nice features as i feel more comfortable to use it rather than android because android has little complication in use. Best Essay Writing Website - NZ Essays

    ReplyDelete
  16. I think android phones work much better than windows phone.
    Do My Assignment UK

    ReplyDelete
  17. Use the same procedure for messages from your customer? I think it is a bit 'different, in the sense that you should take into consideration the time and energy to raise awareness, compliance, and monitoring. I'm sure that if you do not already have a blog on it, it would be a great idea topic. I'd be interested in hearing from your system.

    nursing essay writing service

    ReplyDelete
    Replies
    1. Anonymous12:14 pm

      This comment has been removed by a blog administrator.

      Delete
  18. Anonymous4:16 pm

    This comment has been removed by a blog administrator.

    ReplyDelete
  19. This comment has been removed by the author.

    ReplyDelete
  20. Great phone and great feature.... I like it

    ReplyDelete
  21. I looking around to your terminology material its terminated me!overstock coupon code

    ReplyDelete
  22. This is a great video and I watched it with my friends and we all like it so much. Thanks multivitamin präparate nahrungsergänzungsmittel

    ReplyDelete
  23. Hi there, thank you so much for saying that! It's so great to hear that you are enjoying local is lovely. spectroscopic reflectometer

    ReplyDelete
  24. This is a great post. I like this topic.This site has lots of advantage.I found many interesting things from this site. It helps me in many ways.Thanks for posting this again.

    ReplyDelete
  25. Vikram Dhoni5:34 pm

    hmm Windows phones are great and i like nokia handset using it since 2005
    Window Phones Prices in Pakistan

    ReplyDelete
  26. The post was professionally written and I feel like the author has extensive knowledge in this subject. Inspiring, as well. Thanks for sharing such inspiring experience with us. Great blog, congrats! dolor de cabeza

    ReplyDelete
  27. I really appreciate the kind of topics you post here. Thanks for sharing us a great information that is actually helpful. Good day!!!
    perumahan batununggal bandung

    ReplyDelete
  28. This topic describes the scheduling, duration, and limitations of scheduled tasks. Scheduled Tasks and background agents allow an application to execute code in the background. Pure Safari

    ReplyDelete
  29. This topic describes the scheduling, duration, and limitations of scheduled tasks. Scheduled Tasks and background agents allow an application to execute code in the background. body armor for sale

    ReplyDelete
  30. I am a techno savvy and looking for the window phone to purchase..As it has many windows app which are easy to use...Assignment writing

    ReplyDelete
  31. Thanks for a wonderful share. Your article has proved your hard work and experience you have got in this field. Brilliant .i love it reading.Escape Room The Key

    ReplyDelete
  32. Jamerino12:08 pm

    Here i found a useful resource that might help full for others users too
    adobe photoshop 7.0 free download full version for windows 7

    ReplyDelete
  33. The information you have posted is very useful. The sites you have referred was good. Thanks for sharing..Li-ion battery

    ReplyDelete
  34. It is the best assistance for many students who have not free time. the team of professional written services can help you with different kinds of written works, so it is Escape The Room

    ReplyDelete
  35. I will keep smiling, be positive and never give up! I will give 100 percent each time I play. These are always my goals and my attitude.Limo service atlanta

    ReplyDelete
  36. Animals fed food raised with a vortexing device for garden structured water are strong and healthy. They are relaxed and happy with balanced weight gain.

    ReplyDelete
  37. I am very enjoyed for this blog. Its an informative topic. It help me very much to solve some problems. Its opportunity are so fantastic and working style so speedy. electronicxchange.com/

    ReplyDelete
  38. I have a window phone and these apps will help me out to explore more things in my cell phone...Thanks for giving such a nice piece of information...Assignment writing service

    ReplyDelete
  39. jameel Mahie7:21 am

    Now a days windows phones plays a vital role in human life. There are lot of companies who are producing windows phones. qmobile w1 windows phone price in pakistan

    ReplyDelete
  40. You have great experience in this filed but students looking quality essay services for future plan and purpose of complete studies online. Thank you assistance about this important issue.Learn to surf

    ReplyDelete
  41. These windows app are useful for the window mobile users...Thanks a lot for providing the valuable information..Assignment writing services

    ReplyDelete
  42. I am really like it very much for the interesting info in this blog that to this website is providing the wonderful info in this blog that to utilize the great technology in this blog.Seiko Chronograph

    ReplyDelete
  43. An excellent opportunity to buy research papers at an affordable price.

    ReplyDelete
  44. This is my first opportunity to visit this website. I found some interesting things and I will apply to the development of my blog. Thanks for sharing useful information. Γυναικεία Παντελόνια

    ReplyDelete
  45. Drop Ship & Fulfillment can help your dreams of having your own product come alive. Intermountain Supplements offers a wide variety of custom formulation services including liquids, capsules, sprays, powders, and more.

    ReplyDelete
  46. chicago bears, http://www.chicagobearsjerseys.us/
    nobis outlet, http://www.wellensteyn.com.co/
    tory burch shoes, http://www.toryburchoutletonline.in.net/
    replica watches, http://www.replicawatchesforsale.us.com/
    ed hardy shoes,ed hardy,ed hardy clothing,ed hardy shoes for women,ed hardy clothing for men,ed hardy perfume,ed hardy watches
    christian louboutin, http://www.scarpelouboutin.it/
    ugg outlet store, http://www.uggboots-outlet.co.uk/
    nike huarache, http://www.nike-airhuarache.co.uk/
    nike air max, http://www.airmax2015.in.net/
    ray ban, http://www.occhiali-rayban.it/
    louis vuitton bags on sale, http://www.louisvuittonbag.us.com/
    nike air max,nike roshe,nike huarache
    canada goose outlet, http://www.canadagoose-coats.us.com/
    hermes belt for men, http://www.hermesbelts.us/
    north face jackets, http://www.thenorthfaceclearances.us.com/
    ray ban sunglasses,ray ban sunglasses outlet,ray ban,rayban,ray bans,ray ban outlet,ray-ban,raybans,ray ban wayfarer,ray-ban sunglasses,raybans.com,rayban sunglasses,cheap ray ban
    cheap oakley sunglasses, http://www.oakleysunglassesdiscount.us.com/
    woolrich clothing, http://www.canadagoosejackets.in.net/
    kkkk10 13

    ReplyDelete
  47. I'd like to inform you that you can buy research papers online 24/7.

    ReplyDelete
  48. I am impressed by the quality of information on this website. There are a lot of good resources here. I am sure I will visit this place again soon.

    ReplyDelete
  49. I'm glad you found this helpful! Truly, one of the best posts I've ever witnessed to see in my whole life. Wow, just keep it up.
    Limo service atlanta

    ReplyDelete
  50. It is quite wise decision to pay for homage to your adore types and also suggest to them plus the earth simply how much anyone attention. https://sudoapp.com

    ReplyDelete