An audio player agent can be created by selecting the Windows Phone Audio Playback Agent project type from the Visual Studio New Project dialog (see Figure 34.1). This produces a new project that includes a class that derives from
When you link to an Audio Player Agent project from your main project, a
BackgroundServiceAgent task definition is added to your main project’s WMAppManifest.xml file, resembling the following:
<Tasks> <DefaultTask Name="_default" NavigationPage="MainPage.xaml"/> <ExtendedTask ...