[英]Windows Phone, Navigate to MusicPlayer
I'm developing WP application, part of which is to play/stream audio files. 我正在开发WP应用程序,其中一部分是播放/流式传输音频文件。
I didn't wanted to create my own page to display info of current playing track, so I decided to use Built-in Music's player, using Microsoft.Xna.Framework.Media.MediaPlayer class I created playlists and queued playback. 我不想创建我自己的页面来显示当前播放曲目的信息,所以我决定使用内置音乐的播放器,使用Microsoft.Xna.Framework.Media.MediaPlayer类我创建了播放列表和排队播放。 It all works fine, but now I need to navigate to MusicPlayer, when user taps on track in my app, and that's the part I've no idea what to do.
一切正常,但现在我需要导航到MusicPlayer,当用户在我的应用程序中点击轨道时,这就是我不知道该怎么做的部分。
I've tried to navigate to MusicPlayer using Microsoft.Phone.Tasks.MediaPlayerLauncher, but it's not an option, because it... 我尝试使用Microsoft.Phone.Tasks.MediaPlayerLauncher导航到MusicPlayer,但它不是一个选项,因为它......
Is there any way to navigate to Built-in Music Player's Now Playing page, without interrupting playback? 有没有办法导航到内置音乐播放器的正在播放页面,而不会中断播放?
I think these questions might be helpful/related to what you're looking for: 我认为这些问题可能对您正在寻找的内容有帮助/相关:
Detecting and launching an external application from within a Windows Phone 7.1/7.5 application 从Windows Phone 7.1 / 7.5应用程序中检测并启动外部应用程序
Launching other applications in Windows phone 7 Programatically 以编程方式在Windows Phone 7中启动其他应用程序
In short, it doesn't seem like third-party apps have permission to access other apps on the phone, probably for security reasons. 简而言之,可能出于安全原因,第三方应用似乎没有权限访问手机上的其他应用。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.