0

I read that WP7 limits the number of background agents.

Does this limit include audio player agent, file transfer agent, ... or only periodic agent?

onmyway133
  • 45,645
  • 31
  • 257
  • 263

1 Answers1

1

It is written there:

Multi tasking basically comprises of these functions, each have a limit independently:

  • Background Agents
  • Background File Transfer
  • Background Audio Playback
  • Scheduled Notifications
  • Fast Application Switching
Anton Sizikov
  • 9,105
  • 1
  • 28
  • 39
  • do you know how long does Audio player agent live? – onmyway133 Oct 09 '12 at 09:24
  • http://msdn.microsoft.com/en-us/library/windowsphone/develop/hh394039(v=vs.92).aspx See the *Memory and Runtime Constraints* – Anton Sizikov Oct 09 '12 at 09:33
  • I read that calling NotifyComplete only dispose AudioPlayer, not the process it live in. The fact is that some static variables still alive – onmyway133 Oct 09 '12 at 10:09
  • http://weblogs.asp.net/jgalloway/archive/2011/11/23/leveraging-background-services-and-agents-in-windows-phone-7-mango.aspx good page to read. – Anton Sizikov Oct 09 '12 at 13:32