uwp

Automatically update apps inside the Windows 10 IoT Core?

眉间皱痕 提交于 2019-12-20 02:06:09
问题 Recently I have a question. If I write an UWP app and install into a Raspberry Pi with Windows IoT Core OS, is it possible that I set a automatic OTA update for my app inside the Raspberry Pi, just like normal UWP apps in Windows App Store do? EDIT: Just for my apps, not for upgrading Windows OS (since it can be upgraded directly by Windows Update) 回答1: Great question. I'd suggest looking at a higher level device management solution that can provide updates of any type to a device via an IoT

Remote debug UWP app on Windows Server 2016

◇◆丶佛笑我妖孽 提交于 2019-12-19 17:26:21
问题 The goal I would like to use a Windows Server 2016 (x64) for remote debugging of UWP applications. The reason? My working PC still runs a Windows 7 instance and it is not possible to deploy an UWP app on a Windows 7 machine. The problem I have already installed the Remote Tools For Visual Studio 2015 on the Windows Server 2016 machine and started it on port 4020. Authentication mode was set to "None". I have enabled Developer mode on the server as well. Also I have set up my project in Visual

Remote debug UWP app on Windows Server 2016

送分小仙女□ 提交于 2019-12-19 17:26:18
问题 The goal I would like to use a Windows Server 2016 (x64) for remote debugging of UWP applications. The reason? My working PC still runs a Windows 7 instance and it is not possible to deploy an UWP app on a Windows 7 machine. The problem I have already installed the Remote Tools For Visual Studio 2015 on the Windows Server 2016 machine and started it on port 4020. Authentication mode was set to "None". I have enabled Developer mode on the server as well. Also I have set up my project in Visual

Reading and writing on Excel from UWP

笑着哭i 提交于 2019-12-19 11:59:07
问题 I need to use an existing Excel file that contain macros, i need to write some data, activate some macros then read the result from the excel file from my UWP application. I need to avoid any commercial library for that, what is the best way to get the needed result ? Thank you 回答1: Actually using a third party library like syncfusion to implement this may be a good way. As you avoid any library that you may need to write a library by yourself since as far as I known currently there is no

How can I lock the screen from within the Windows 10 Mobile app?

北城余情 提交于 2019-12-19 11:29:16
问题 I was searching through UWP API Reference and I didn't find any way how to Lock the device from within app or with Secondary Tile. And I am frustrated, because there is a proof that it can be done. I don't want to make any advertisements here but for example this app: https://www.microsoft.com/en-us/store/apps/quicktiles/9wzdncrfhzts Can create secondary tile that just locks the screen. How can I do it myself? Thanks. 回答1: I don’t think it is possible with the UWP libraries. I tried to do an

UWP C# Scroll to the bottom of TextBox

▼魔方 西西 提交于 2019-12-19 11:25:38
问题 How do you scroll to the bottom of a TextBox for a UWP app? With my transition to UWP, this has been one of the questions that hasn't been straight-forward. I used to be able to use this: textBox.SelectionStart = textBox.TextLength; textBox.ScrollToCaret(); But, this doesn't work for UWP apps 回答1: Using the answer from https://code.msdn.microsoft.com/windowsapps/How-to-scroll-to-the-a8ea5867 sometimes caused lines to be deleted when scrolling up. To fix that, try this: private void

App keeps crashing during certification when using Microsoft Advertising SDK for XAML

廉价感情. 提交于 2019-12-19 10:42:47
问题 In my already published app, I tried adding ADs using “Microsoft Advertising SDK for XAML” (tried adding reference via both NuGet and msi). On my dev machine both debug and release builds work fine, even .appxbundle created as part of packaging works as expected, but the app always crashes at launch for the reviewer when submitted for review/certification (.appxupload file). Note: The app is a Desktop Bridge app. There is a UWP app which communicates with a win32 exe. The call to launch

Verify signature generated with RSA 2048-bit key, SHA256 algorithm and PKCSv1.5 padding

假装没事ソ 提交于 2019-12-19 10:38:28
问题 I have a UWA (Universal Windows Application) signing some data with the KeyCredential.RequestSignAsync method. The signature is created with: RSA 2048-bit key (public portion can be retrieved with KeyCredential.RetrievePublicKey) Hashing algorithm used is SHA256 Padding used with the signature is PKCSv1.5 And can be validated in the same UWA with the following code: public static bool VerifySignature( IBuffer buffPublicKey, IBuffer buffMessageData, IBuffer buffSignature) { bool b = false; //

UWP app on Xbox

家住魔仙堡 提交于 2019-12-19 09:54:04
问题 During the events and promotions around Windows 10, I always see that the UWP apps can run on all devices from Microsoft family. To confirm that, when I am browsing for UWP apps on my browser and I click to see the source code from an app page, I am able to see the following meta data: <meta name="description" content="Download this app from Microsoft Store for Windows Phone 10, Windows 10, Surface HUB, HoloLens, other Windows devices, Xbox. See screenshots, read the latest customer reviews,

UWP - binding Enum differences

只愿长相守 提交于 2019-12-19 09:24:00
问题 I have come across a very interesting issue. Suppose you have the following XAML page content in a UWP app: <ContentControl Content="{x:Bind ApplicationDataLocalityEnum}" /> <ContentControl Content="{x:Bind FontStyleEnum}" /> And in the code-behind of the page contains the following properties: public ApplicationDataLocality ApplicationDataLocalityEnum { get; } = ApplicationDataLocality.Local; public FontStyle FontStyleEnum { get; } = FontStyle.Normal; Expected result would be, that the app