windows-store-apps

Retrieving the unique device ID of Microsoft Surface

与世无争的帅哥 提交于 2020-01-15 11:06:10
问题 I am developing an application for Windows 8 and I am testing it on Microsoft's Surface. Does any one know how I can retrieve the unique device ID of Surface? Just like we do for Windows Phone by retrieving its unique device id using Microsoft.Phone.Info namespace. 回答1: I use Windows.System.Profile.HardwareIdentification.GetPackageSpecificToken(null).Id converted to string, details at http://coding.kulman.sk/how-to-uniquely-identify-a-windows-8-device/ 回答2: AFAIK, the closest thing you'll

How to get store certificate for Win phone 8.1 app?

梦想的初衷 提交于 2020-01-15 09:52:05
问题 i have a question about certificate for windows phone 8.1 Universal app. I passed these steps but certificate wasn't appeare in project: I open it in Visual Studio 2015. Right click project and choose Store=>Associate app with store I log in my microsoft developer account and choose app from the list I checke information about Publisher, Package and so on and press next After these steps Package.StoreAssociation.xml is created, but AppName_StoreKey.pfx isn't. Please, help me. What should I do

How to get store certificate for Win phone 8.1 app?

折月煮酒 提交于 2020-01-15 09:50:07
问题 i have a question about certificate for windows phone 8.1 Universal app. I passed these steps but certificate wasn't appeare in project: I open it in Visual Studio 2015. Right click project and choose Store=>Associate app with store I log in my microsoft developer account and choose app from the list I checke information about Publisher, Package and so on and press next After these steps Package.StoreAssociation.xml is created, but AppName_StoreKey.pfx isn't. Please, help me. What should I do

Blurred textblocks when used in animations

你离开我真会死。 提交于 2020-01-14 14:06:56
问题 I am simulating the semantic zoom effect in a Windows Store app using animations between two canvas'. However when I "zoom out" the TextBlock that appear on the canvas, appear as VERY blurry until the animation completes. This only happens for the first animation, after that the text is clear on all subsequent animations. I suspecting a bitmap caching type issue but either setting the CacheMode to Bitmap or null makes no difference. Are there any settings that can control or change this? The

Blurred textblocks when used in animations

吃可爱长大的小学妹 提交于 2020-01-14 14:04:30
问题 I am simulating the semantic zoom effect in a Windows Store app using animations between two canvas'. However when I "zoom out" the TextBlock that appear on the canvas, appear as VERY blurry until the animation completes. This only happens for the first animation, after that the text is clear on all subsequent animations. I suspecting a bitmap caching type issue but either setting the CacheMode to Bitmap or null makes no difference. Are there any settings that can control or change this? The

programmatic textblock entry with linebreaks

孤街浪徒 提交于 2020-01-14 07:34:12
问题 How do I programmatically add text with line breaks to a textblock? If I insert text like this: helpBlock.Text = "Here is some text. <LineBreak/> Here is <LineBreak/> some <LineBreak/> more."; Then the linebreaks get interpreted as part of the string literal. I want it to be more like what would happen if I had it in the XAML. I can't seem to do it the WPF way either: helpBlock.Inlines.Add("Here is some content."); Since the Add() method wants to accept objects of type "inline". I can't

Localization not working correctly - Language shown

对着背影说爱祢 提交于 2020-01-14 04:21:28
问题 I have one 'issue' that is driving me crazy. I must be doing or not doing something. Using C# a Universal project. I developed an App with support for 3 languages. English, Spanish and Polish. I followed these steps: Created the folder "strings" with the different subfolders for each language "en", "es", "pl". And the resources.resw inside with the different texts. In the Manifest set up as default language "en". I checked that in the manifest I have the line Language="x-generate". The thing

Refresh data in windows store app

﹥>﹥吖頭↗ 提交于 2020-01-14 03:55:11
问题 Im creating a windows store app that has some webservice calls.Currently i use a button event to make the webservice calls, but i want the app to do this automatically every 5 minutes. The button event is now placed in MainPage.xaml.cs What is the best way to perform this are there any timer event in windows store apps? public async void GetWebServiceDataButton(object sender, RoutedEventArgs e) { ........ ......... Retrieve data from web service } 回答1: It's a bit much code to paste here so I

Can I have a composite shape as a resource in WinRT XAML?

若如初见. 提交于 2020-01-14 03:13:12
问题 I'm developing a Windows 8 Metro-style application and I want to use vector images. As there seems to be no direct support for svg images, I am trying to use a xaml fragment consisting of multiple shapes (a path and some lines) as an image. I would like to have a resource dictionary entry with the composite shape and be able to include it in different pages. Ideally, I would also like to be able to resolve a specific composite shape from a data bound property. From what I've read, the WPF

How to get the text of textbox to textblock in another xaml? c# windows store app

≡放荡痞女 提交于 2020-01-13 20:24:46
问题 Code in my MainPage.xaml <TextBox x:Name="txtBox1" HorizontalAlignment="Left" Margin="376,350,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Height="14" Width="113" Text="{Binding TextBox1Text}"/> Code in my MainPage.xaml.cs public string TextBox1Text { get { return this.txtBox1.Text; } set { this.txtBox1.Text = value; } } Code in my Page2.xaml MainPage main = new MainPage(); protected override void OnNavigatedTo(NavigationEventArgs e) { txtBlock1.Text = main.TextBox1Text; } when i run this