문제

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!

도움이 되었습니까?

해결책

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!

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top