Pregunta

I'm just create a project using web Browser. In this Browser, I open a music site and play the music in this site (mp3). what i want is the web Browser can run in background, that mean when i press start button i still running,i'm using window phone 8, what should i do? Any body help me!

¿Fue útil?

Solución

Right click on the WMAppManifest then click on "View Code". It will look exactly like a XAML, Then scroll down to <DefaultTask......./> and add this attribute with this value ActivationPolicy="Resume". Then the browser should run in the background whether you exit or launch some other app. If you have the browser set on the main XAML or whatever XAML you have on first start, it should work just fine!

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top