windows-phone-8

HTML CSS - Font size oversized when shown on windows phone

时光怂恿深爱的人放手 提交于 2020-01-14 10:43:01
问题 I'm actually creating a newsletter. When i open the email into outlook, outlook web access, the layout is exactly the same as the one i built. Yet when I open the same email in my windows phone 8 font size is not respected and the email has no longer the same layout. Do you have any kind of suggestion ? I have this css instruction in my tag. (-ms-text-size-adjust: none;) body { background-color: #f9fbf4; margin: 0; padding: 0; -ms-text-size-adjust: none; } I also put this kind of css in the

Python: Navigate to portable devices directory (Windows 7)

匆匆过客 提交于 2020-01-14 10:23:09
问题 I'm trying to solve a question I have created about how to read the recorded date of the videos I took with a windows phone. It seems that the creation date are overwritten when the files are "sync" to my computer. I'm trying to get around this by looking at the files in the phone directly. So I need to access to "Computer\Windows Phone\Phone\Pictures\Camera Roll" My problem is that I can only get os.chdir() to work on paths that has C:// as root Any suggestions? Update I tried to place and

Python: Navigate to portable devices directory (Windows 7)

老子叫甜甜 提交于 2020-01-14 10:22:57
问题 I'm trying to solve a question I have created about how to read the recorded date of the videos I took with a windows phone. It seems that the creation date are overwritten when the files are "sync" to my computer. I'm trying to get around this by looking at the files in the phone directly. So I need to access to "Computer\Windows Phone\Phone\Pictures\Camera Roll" My problem is that I can only get os.chdir() to work on paths that has C:// as root Any suggestions? Update I tried to place and

WP8 TaskCompletionSource not getting Result

这一生的挚爱 提交于 2020-01-14 06:31:10
问题 I've an extension method for WebClient (WP8) public static Task<string> DownloadStringTask(this WebClient webClient, Uri uri) { var tcs = new TaskCompletionSource<string>(); webClient.DownloadStringCompleted += (s, e) => { if (e.Error != null) { tcs.TrySetException(e.Error); } else if (e.Cancelled) { tcs.TrySetCanceled(); } else { tcs.TrySetResult(e.Result); } }; webClient.DownloadStringAsync(uri); return tcs.Task; } and the call to this method public string GetResult() { var task = new

Speech recognition supported languages on WP8

六眼飞鱼酱① 提交于 2020-01-14 05:03:48
问题 I tried Speech API example for Windows Phone 8. It is working good with English language, but when I switch emulator's language setting to Russian language, speech recognition broke. On this code: // Perform speech recognition. this.recoOperation = recognizer.RecognizeAsync(); var recoResult = await this.recoOperation; It throws Exception: SPERR_WINRT_UNSUPPORTED_LANG 0x800455BC The requested language is not supported. So, It is means what Russian language is not supported with Speech

Speech recognition supported languages on WP8

天涯浪子 提交于 2020-01-14 05:03:43
问题 I tried Speech API example for Windows Phone 8. It is working good with English language, but when I switch emulator's language setting to Russian language, speech recognition broke. On this code: // Perform speech recognition. this.recoOperation = recognizer.RecognizeAsync(); var recoResult = await this.recoOperation; It throws Exception: SPERR_WINRT_UNSUPPORTED_LANG 0x800455BC The requested language is not supported. So, It is means what Russian language is not supported with Speech

Speech recognition supported languages on WP8

ε祈祈猫儿з 提交于 2020-01-14 05:03:23
问题 I tried Speech API example for Windows Phone 8. It is working good with English language, but when I switch emulator's language setting to Russian language, speech recognition broke. On this code: // Perform speech recognition. this.recoOperation = recognizer.RecognizeAsync(); var recoResult = await this.recoOperation; It throws Exception: SPERR_WINRT_UNSUPPORTED_LANG 0x800455BC The requested language is not supported. So, It is means what Russian language is not supported with Speech

WP8 ListPicker Bind

那年仲夏 提交于 2020-01-14 03:59:08
问题 When I bind my data via item source to my ListPicker : C#: var sightingTypes = SightingTypes.List; sightingTypesPicker.ItemsSource = sightingTypes; XML: <toolkit:ListPicker x:Name="sightingTypesPicker" ItemsSource="{Binding sightingTypes, ElementName=this}"> <toolkit:ListPicker.ItemTemplate> <DataTemplate> <StackPanel> <TextBlock Text="{Binding Name}" FontSize="{StaticResource PhoneFontSizeSmall}"/> </StackPanel> </DataTemplate> </toolkit:ListPicker.ItemTemplate> </toolkit:ListPicker> I can

How to mask a square image into an image with round corners?

北城余情 提交于 2020-01-13 18:20:50
问题 As i want to implement a Rounded Cornered Mask to my Image control i Designed a control like this <Border x:Name="Border1" CornerRadius="{Binding CornerRadius,Mode=TwoWay}" > <Image x:Name="ImageSource1" Background="Transparent" > </Image> </Border> <Border x:Name="MaskBorder1" BorderBrush="White" CornerRadius="{Binding CornerRadius,Mode=TwoWay}" BorderThickness="3" /> But am getting an Control with . Anybody have an idea to fill up corners with the Border Color ? 回答1: Just clip the Image,

Windows Phone 8 - Streaming a Podcast MP3 file

左心房为你撑大大i 提交于 2020-01-13 16:55:09
问题 I'm creating an app that reads a single podcast feed (unique to the app) and shows the episode titles in a LongListSelector . I can obtain the MP3 URI for each episode by parsing the RSS file. I'd like to add functionality that, when the user taps an item in the list, the URI is passed to an audio streamer and played like a music file. I saw a tutorial on How to play background audio for Windows Phone, which points me to a project template for streaming audio. I'm just wondering, is it still