win-universal-app

How to fetch the text spoken to cortana while the SpeechRecognitionResult.Text is returning “…” - Windows UWP

时间秒杀一切 提交于 2019-12-13 00:48:56
问题 While deep linking Windows UWP apps with cortana, I'm unable to fetch the text spoken. In the Voice Command Definition file I'm using a <ListenFor> element with {*} in order to allow user to speak anything, but I'm unable to fetch it. 回答1: If you're trying to set up a VCD to accept freeform dictated text, you'll need to use a PhraseTopic field. See the 1.2 VCD spec for details. For example, if you've got a Command block containing <ListenFor> Take a note to {noteTopic} </ListenFor> You'd want

How to build Windows 8.1 app for Store (appxupload) in PowerShell?

假如想象 提交于 2019-12-12 23:35:41
问题 Typically when I want to build Windows 8.1 or Windows Phone 8.1 app for Store I open Visual Studio 2015 and in Solution Explorer I start Store -> Create App Packages.. wizard. I'd like to be able to produce identical signed .appxupload packages using PowerShell ideally just providing the target project file, target platform(s), build configuration and version number. There is a page for packaging and deployment, but I just don't know what is the proper command order to use. There must be a

Upload UWP app to Microsoft Store in all 3 platforms (x86, x64, ARM)

本小妞迷上赌 提交于 2019-12-12 23:04:46
问题 I have a 3rd party DLL (in all 3 platforms x86, x64 and ARM) referring in my UWP app. Due to this reason I have to change my reference manually each time I need to build my UWP app to specific platforms. Now I need to publish the app to the store but I can't select all platforms due to the manual handling of the 3rd party DLL. I tried building the app in release mode separately and tried to upload to the store but it does not allow. Only way possible is by selecting all 3 platforms in the

Unable to connect Socket Mobile scanner(Model: CHS 7Pi) in windows 10 uwp

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-12 22:35:57
问题 I'm working in Socket Mobile scanner(Model: CHS 7Pi) integration with Windows 10 UWP application. I'm getting following exception "Value does not fall within the expected range." after successfully making contact with scanner via bluetooth I using below sample for my testing. https://github.com/Microsoft/Windows-universal-samples/tree/master/Samples/BarcodeScanner below msdn url suggest, it will support my scanner. https://msdn.microsoft.com/en-us/library/windows/apps/mt426649.aspx#Bluetooth

How can I see what references are keeping my ref objects from being deleted in c++/cx?

时光总嘲笑我的痴心妄想 提交于 2019-12-12 22:25:21
问题 I use myclass^ in one place in my UWP project, but I suspected that they weren't actually being deleted when they went out of scope. So I made a destructor that called __debugbreak() for myclass^ to make sure that was getting called. Instead of the 40 calls I should be getting for my project, I got one. To my understanding, types with hats (^) are basically shared_ptrs so if my object isn't getting deleted, it's probably because something else in the project holds a reference to it. How can I

Where are the Windows Phone APIs in Windows XAML Universal Portable Library?

丶灬走出姿态 提交于 2019-12-12 20:34:22
问题 I have a library for Windows Phone 8.0 and Windows 8 and thought to make the same to support the Windows Phone 8.1 and Windows 8.1 Universal applications. But soon as I tried to port my code in a Universal XAML library or even when trying some APIs in a Windows Phone 8.1 Universal Application that is created using the template I've seen that are missing, for example, using Microsoft.Phone.Info; using Microsoft.Phone.Net.NetworkInformation; Or I was using the PhoneApplicationFrame class,

Can't establish connection using StreamSocket (universal windows)

柔情痞子 提交于 2019-12-12 18:27:40
问题 Im trying to follow this code sample from microsoft, who is a basic code for sending/receiving data over network from windows 10 computer/phone. Im on VS2015, i have a phone on W10 and my computer also. The problem is that my application seems to create packet and send one to establish the connection (i have seen this packet with wireshark), but i never received it on the server side. Here is code to listen port from the actual internet connection available and wait for a connection : public

Public Key from Certificate in C# Universal App Platform

回眸只為那壹抹淺笑 提交于 2019-12-12 18:04:38
问题 In this article https://blogs.windows.com/buildingapps/2015/10/13/create-more-secure-apps-with-less-effort-10-by-10/ they explain you how to securely connect to a server. They check the thumbprint to see that the cert is legitimate. But the certificates change over time and the hardcoded string I check against will be no longer valid. That's why I want to extract the public key. Because I'm certain it's not gonna change from one certificate to other. In this code: private async Task

WriteableBitmap SaveJpeg missing for universal apps

拟墨画扇 提交于 2019-12-12 17:37:49
问题 I am developing an universal app, in my shared code i am trying to download the image from net and save the image to LocalFolder. I am using HttpClient to download the images from user given urls and reading the client response to save the image. I am using below code to save, but couldn't able to find Writeable SaveJpeg method. HttpResponseMessage response = await httpClient.GetAsync(imageUri); await Task.Run(async () => { if (response.IsSuccessStatusCode) { // save image locally

User login with Smart Card for Windows UWP app

最后都变了- 提交于 2019-12-12 17:20:04
问题 This seems like such a simple thing but I have been trying to figure this out for over a week now and cannot seem to figure it out. We are creating a Windows UWP app using WinJS and would like the user to login to the app with a PIV (smart card)/PIN combination. Essentially, when the app starts it will verify that there is a smart card inserted into the device and then prompt the user for the PIN. If the PIN is validated against the smart card the app will log the user in. We do have Windows