windows-phone-8.1

Windows Phone 8.1 Runtime Text Outline

被刻印的时光 ゝ 提交于 2020-01-15 07:27:11
问题 Is there a way to show text outline on a TextBlock ? I am showing some text on top of map control and would like to show the text in black with white outline so it's always readable. Something like this: Thanks for any tips 回答1: This sort of font manipulation isn't supported in Windows.UI.Xaml, but you can interop to DirectWrite to draw text with effects into a bitmap and then composite the bitmap on top of your map. For static text you can either pre-create a bitmap or convert the font to

Rotating webbrowser from current orientation is stretching(zooming) the webbrowser contents Windows phone

本秂侑毒 提交于 2020-01-15 05:49:27
问题 I have a webbrowser which is in portrait mode. I am loading the webbrowser using this.webBrowserControl.Source = new Uri("http://google.com"); When the content is loaded the view looks like this there is rotate button provided, so if user is in portrait mode and user presses rotate button then I am rotating the webview using transform and setting its height and width so that it can occupy the whole screen pageWidth = 480; pageHeight = 800; RotateTransform transform = new RotateTransform();

targeting WP 8.0 app to WP8.1 app?

大城市里の小女人 提交于 2020-01-15 04:57:17
问题 I installed Visual Studio 2013 (With Update 2) and i was working on my Project in VS2012 for Windows Phone 8.0 And now i decided to Upgrade it to a Windows Phone 8.1 app so i followed the instructions and Targeted the app ! and everything's done successfully , BUT! the app now is (Windows Phone Silverlight 8.1) Picture: unlike other people who targeted to (Windows Phone 8.1) , there is a huge difference between the two types of the projects I can't use the new XAML controls - Windows.UI.XAML

targeting WP 8.0 app to WP8.1 app?

白昼怎懂夜的黑 提交于 2020-01-15 04:57:07
问题 I installed Visual Studio 2013 (With Update 2) and i was working on my Project in VS2012 for Windows Phone 8.0 And now i decided to Upgrade it to a Windows Phone 8.1 app so i followed the instructions and Targeted the app ! and everything's done successfully , BUT! the app now is (Windows Phone Silverlight 8.1) Picture: unlike other people who targeted to (Windows Phone 8.1) , there is a huge difference between the two types of the projects I can't use the new XAML controls - Windows.UI.XAML

ListPickerFlyout ignores RequestedTheme of parent page in Windows Phone 8.1

落爺英雄遲暮 提交于 2020-01-14 08:48:30
问题 I have a Page in a WinRT Windows Phone 8.1 application. This Page has RequestedTheme set to ElementTheme.Light . The system theme (as set in system settings) is set to dark. When I open a ListPickerFlyout (using Button.Flyout), the result is the following: It seems, that the foreground color appropriately changes to black, but the background stays dark-themed (a very dark gray). There isn't a Background property on the flyout, is there a way to force it to comply with the Page's

a href onclick not working in windows phone cordova app

做~自己de王妃 提交于 2020-01-14 04:25:28
问题 I have used winstore-jscompat.js for js fix. below code generate sub categories. But it doesnt call parseSubCategory function. $.each(category.sub_categories, function(index2, subcategory) { var subCatName = subcategory.name; $("#test-listview" + index).append('<li><a onclick=\"parseSubCategory(' + subcategory.id + ',\'' + subCatName + '\');\" href="#product_List">' + subcategory.name + '</a></li>'); }); Edit: This is working fine on ios and android but not in windows mobile phone 回答1: Issue

a href onclick not working in windows phone cordova app

◇◆丶佛笑我妖孽 提交于 2020-01-14 04:25:06
问题 I have used winstore-jscompat.js for js fix. below code generate sub categories. But it doesnt call parseSubCategory function. $.each(category.sub_categories, function(index2, subcategory) { var subCatName = subcategory.name; $("#test-listview" + index).append('<li><a onclick=\"parseSubCategory(' + subcategory.id + ',\'' + subCatName + '\');\" href="#product_List">' + subcategory.name + '</a></li>'); }); Edit: This is working fine on ios and android but not in windows mobile phone 回答1: Issue

C# Downloading And Using File Causes System.UnauthorizedAccessException

大憨熊 提交于 2020-01-14 04:05:50
问题 i'm trying to create an app that downloads a file and then edits this file. The Problem Im having is once the file is downloaded it doesn't seem to let go of that file, i can download the file to its local storage, i have gotten the file manually from the Iso and its fine. if i use the app to proceed after downloading the file i get the System.UnauthorizedAccessException error, but if i close and open the app and then just edit the file saved in iso it works, like i said its like something is

C# Downloading And Using File Causes System.UnauthorizedAccessException

帅比萌擦擦* 提交于 2020-01-14 04:05:09
问题 i'm trying to create an app that downloads a file and then edits this file. The Problem Im having is once the file is downloaded it doesn't seem to let go of that file, i can download the file to its local storage, i have gotten the file manually from the Iso and its fine. if i use the app to proceed after downloading the file i get the System.UnauthorizedAccessException error, but if i close and open the app and then just edit the file saved in iso it works, like i said its like something is

The App hangs on a device while debugging async method

依然范特西╮ 提交于 2020-01-14 02:50:07
问题 I'm following the guide at MSDN about downloading the file. So I have made a very simple download: private async void performDownload_Click(object sender, RoutedEventArgs e) { CancellationTokenSource myCts = new CancellationTokenSource(); ulong bytesReceived = await DownloadWebFile("myFile.jpg", myCts.Token); var forBreakpoint = 5; // set breakpoint here - isn't being hit on a device // some further code } public async Task<ulong> DownloadWebFile(string fileName, CancellationToken ct) { Uri