windows-store-apps

Deploying Windows app directly to Surface without going through the store

陌路散爱 提交于 2019-12-25 03:34:28
问题 I’ve built a windows app using Cordova and I want to deploy it privately on my Window Surface Pro. I can deploy it for testing purposes with the developer certificate that is being generate automatically, but it’s only valid for 90 days. Is there a way to premaritally deploy apps on Surface Pro or at least extend the 90 days period? Thanks 回答1: You want to go in Project -> Windows Store -> Create Application Packages Then select "No" on the first page. You can leave everything else as it is

Locally deploy parallel versions of a Windows Store App

左心房为你撑大大i 提交于 2019-12-25 03:26:28
问题 I am developing a Windows Store App and I like to keep the most recent baseline installed while developing the next. The problem is that whenever I run the current developmental version in Visual Studio 2013 (with F5) it un-installs the recent baseline. I create and install a baseline by manually editing the Package.appxmanifest as follows: edit the Identity Name Append .R to every instance of the app name (eg. MyApp to MyApp.R ) (full file listing below) I think that should be enough, but in

Deploy files in the localState folder during installation of a store app

落爺英雄遲暮 提交于 2019-12-25 03:26:10
问题 I am building an app for windows store and I need some default and example data to be in the localstate folder ( Windows.Storage.ApplicationData.current.localFolder ) when the app run the first time. The folder and files structure is a bit complex and I tryed to copy the files at the start of the application, but I can't manage that way. Is it possible to have files being copied automatically from the installation folder to the localstate folder during the store app installation? 回答1:

Google.Apis SDK: Google+ sharing in windows phone

穿精又带淫゛_ 提交于 2019-12-25 03:14:04
问题 I have integrated Google.Apis SDK in my windows phone 8.1 store app. I have not found any API to share interactive posts on google+. Is that API is available in Google.APis SDK? If yes, Which one? For iOS GPPNativeShareBuilder is used for sharing. For Android PlusShare.Builder](https://developers.google.com/+/mobile/android/share/interactive-post) is used How to do this in Windows Phone 8.1 runtime app?. Thanks 回答1: Although a native solution does not exist for Windows, you can still build

C# store app. Add “X”button at the end of a textbox or searchbox

為{幸葍}努か 提交于 2019-12-25 03:11:04
问题 I have a C# store app where i have a search box or a textbox. I noticed that when i enter text in either the text or searchbox i don't get the "X" button at the end of the box to clear the text. In this example there is someone with a similar problem: Remove "X" button at the end of a TextBox But i want to reverse that action. As I understand in the above link, the button should appear automatically, but it does not. Does anyone know how I can get that "X" button to appear on either a

Returned value is null when downloading a file from OneDrive

大憨熊 提交于 2019-12-25 02:29:11
问题 As it is said in the documentation, I try to download a file way: try { LiveDownloadOperation operation = await connectClient.CreateBackgroundDownloadAsync(filePath); var result = await operation.StartAsync(); var file = result.File; // It is null } catch { // Handle errors. } But result.File is null. I think something is wrong with my file path, which is like this: path = "file.8c8ce076ca27823f.8C8CE076CA27823F!129" also tried: path = "file.8c8ce076ca27823f.8C8CE076CA27823F!129/content" what

How to bind image in Gridview using xml parsing in windows metro app

喜欢而已 提交于 2019-12-25 02:11:31
问题 I'm working on my first Windows 8 app. I'm trying to display a GridView populated with Image and Image description. I want to get my data from an XML file I created. I found the ItemSource property of the GridView and I try to bind my XML file to it but I can't do this. Please tell me right way to do this task. thanx 回答1: You can't bind an XML file directly to GridView.ItemsSource , you need to parse it first into an object. I'd create a class with all data to be displayed in GridView :

Text to Speech in Window Store App

 ̄綄美尐妖づ 提交于 2019-12-25 02:03:52
问题 In my application I am using Text 2 Speech using SpeechSynthesizer.In my code it is speaking with only 3 voices ( One male and two females).My application is for kids so i want voice just like kids how can i achieve that? CODE: var synth = new SpeechSynthesizer(); foreach (var voice in SpeechSynthesizer.AllVoices) { synth.Voice = voice; var text = "Hello World"; var stream = await synth.SynthesizeTextToStreamAsync(text); var me = new MediaElement(); me.SetSource(stream, stream.ContentType);

Why does Ionic/Cordova build for Windows UWP add Content URI to appxmanifest?

回眸只為那壹抹淺笑 提交于 2019-12-25 01:56:08
问题 I have an Ionic(3) Cordova application, where I want to include a Windows UWP version. On iOS and Android I have no problems, but UWP I just cannot get my ajax to work and be store compliant. My issue is with my ajax calls being blocked on corporate networks as outlined here So, the issue was I needed to add privateNetworkClientServer , which when testing locally, fixed the blocking issue. Also, as explained in the link, I have attempted to add the "local mode". The store now rejects it with

Why is the Canvas' Background property a generic “SolidColorBrush” instead of an actual color?

巧了我就是萌 提交于 2019-12-25 01:44:26
问题 I want to respond to a tap on a canvas and store the value of the canvas' background in app settings so that I can assign that value to the AppBar / Command Bar. So I have this XAML in a User Control: <StackPanel Orientation="Horizontal"> <Canvas Background="Aqua" Width="20" Height="20" VerticalAlignment="Center" Tapped="CanvasColor_Tapped"></Canvas> <TextBlock Text="Aqua" VerticalAlignment="Center" Tapped="CanvasColor_Tapped" ></TextBlock> </StackPanel> ..and the handler is: private void