How do I use PLS format on windows phone ? Here's my attempt so far:
private static List<AudioTrack> _playList = new List<AudioTrack>
{
new AudioTrack
(
new Uri("http://mobilehigh.bmradio.de:8080/titel-info", UriKind.Absolute),
"Windows Phone Radio",
"Windows Phone Radio Podcast",
new Uri("shared/media/Episode29.jpg", UriKind.Relative)
),
};
Windows phone doesn't support the pls format. For Supported playlists see Supported Media Formats, Protocols, and Log Fields
Hence if you need to support the pls format you'll have to write support for it by your yourself.
Related
I am working in migration of project from windows phone 8.1 to windows universal app.
windows phone 8.1 NavigationService can be implemented in Universal App with several methods of Navigation like Frame.Navigate(typeof(MainPage)); or Frame.Navigate(typeof(MainPage), param);
But instead of having MainPage as .XAML page, I am building runtime URI in the form of string with querystring appended at end.
The similar API was available in windows phone 8.1
string strpath = "aaaaaaa";
NavigationService.Navigate(new Uri(strPath, UriKind.RelativeOrAbsolute));
But not able to find the replacement of windows phone 8.1 NavigationService.Navigate(new Uri( .. ) ) in Universal App.
Please help .....
There is no replacement for NavigationService APIs out of the box for WinRT platform. The best you can have is use NavigationService provided in MVVM-light framework (use type), or you can build one yourself (supply the url and convert it into type).
I'm developing a windows phone app and want to show the maps app. I know about the uri scheme's ms-drive-to, ms-walk-to and the HERE equivalents, but I don't want navigation. I also don't want to rely on HERE maps, because someone might not have installed that one. The question:
Is there a way of opening the default Map app on windows phone 8?
You could use the MapsTask API;
MapsTask mapsTask = new MapsTask();
//Omit the Center property to use the user's current location.
//mapsTask.Center = new GeoCoordinate(47.6204, -122.3493);
mapsTask.ZoomLevel = 2;
mapsTask.Show();
You should check the sdk.
If you really want to open the apps, you can do it with a trick. Add a brower task an follow steps of this article.
I want to use text to speech conversion in my WP7 application.
After searching on internet and different forums i found that there are some bing api available for doing this task..
this API allows only 5000 requests per month for free. link for getting app Id
If i want to use an API for commercial use.. it can not be done with this API..
Is there any other API available for this or any free Google API..
Please give some directions and suggestions
I think the best solution for your problem is to target your app for windows phone 8 OS. trust me i tried many solutions to make my windows phone 7 app app use TTS . the quality that will get is not good . In windows phone 8 the TTS is very easy and the quality is amazing .
SpeechSynthesizer synth = new SpeechSynthesizer();
private async void AgainBtn_Click(object sender, System.Windows.RoutedEventArgs e)
{
await synth.SpeakTextAsync("anything");
}
If you still want to target windows phone 7 use Hawaii Research project
How can you create a media player playlist in code in Windows Phone 8? I have done some research but I couldn't find a way, yet. Is that even possible?
There is no built-in feature for manipulating Playlist in Windows Phone 8. However,
You can create a list of songs you want to play:
Collection<string> songs = new Collection<string>();
songs.Add("http://freedownloads.last.fm/download/86983340/Petrolero.mp3");
Then you have to control your "playlist" manually:
foreach(var song in songs)
MediaPlayer.Play(Song.FromUri("Song name", new Uri(song)));
No, it is not possible to create playlists on Windows Phone.
You can vote for it on user voice.
I m developing media player in c# and I m using windows media player component for that..
This is my code
private void songList_SelectedIndexChanged(object sender, EventArgs e)
{
axWindowsMediaPlayer1.URL = paths[songList.SelectedIndex];
}
Can anyone tell me the supported file formats for this component?
The version information property of the component is '12.0.7600.16385'
See this microsoft website for the supported file formates. All the file formats are listed and the compatible windows media player versions.