Frage

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!

War es hilfreich?

Lösung

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!

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top