uwp

What are those installed unknown programs?

荒凉一梦 提交于 2019-12-08 04:59:07
问题 Does anyone know what are these programs (GUIDs)? I belive they are part of UWP programming because when I run debug at Visual Studio, these programs appear in "Installed Programs". Also, can't see in Windows 10's Installed Programs but CCleaner. Thanks! 回答1: As you have guessed, most of these "unknown programs" are generated form Visual Studio when you deploy or debug UWP apps. And some of them are created by XAML Designer to provide synchronized Design view. These apps won't be listed in

Xamarin UWP - How to get rid of border that appears when hovering over button

故事扮演 提交于 2019-12-08 04:57:02
问题 I'm working on a Xamarin.Forms mobile app. In the UWP version, when I hover over a button, a ~2px gray border appears: The problem is: when not hovering, the border goes away, leaving that amount of space now empty (or perhaps the border becomes transparent), causing the button to look slightly out of alignment with elements above it. How do I get rid of that border altogether (when hovering and not hovering)? I'm using a custom renderer ( ButtonExt : Button ), and in the default styles in

Win 10 app: remove toast notification

南笙酒味 提交于 2019-12-08 04:52:31
问题 I show toast notification that it then appears on notification center. I want then to programatically remove that notification from notification center. How can I do this? The app may be closed and restarted between time the notification is shown and when I need to remove it. 回答1: You can programmatically remove notifications from the action center by using one of the various methods of the ToastNotificationHistory class. For example: ToastNotificationManager.History.Remove("toast-tag");

How to launch .exe app with parameter uwp

别等时光非礼了梦想. 提交于 2019-12-08 04:52:28
I know we can use LaunchFullTrustProcessForCurrentAppAsync(String) method and <desktop:Extension Category="windows.fullTrustProcess" Executable="fulltrustprocess.exe"> <desktop:FullTrustProcess> <desktop:ParameterGroup GroupId="SyncGroup" Parameters="/Sync"/> <desktop:ParameterGroup GroupId="OtherGroup" Parameters="/Other"/> </desktop:FullTrustProcess> to launch and send parameter to win32 app. But my big question is: How to receive that parameter in my win32 app (in my case win32 app is my Console Application). Does anyone has any help. thank you. Update for Stefan answer in win32 app always

How to invoke javascript in WebView Windows 10 UWP?

╄→гoц情女王★ 提交于 2019-12-08 04:32:42
问题 I am trying to load a javascript in WebView to do some calculations and get the output in a string. I tried to use following code string htmlFragment = "<html><head><script type='text/javascript'>" + "function doubleIt(incoming){ " + " var intIncoming = parseInt(incoming, 10);" + " var doubled = intIncoming * 2;" + " document.body.style.fontSize= doubled.toString() + 'px';" + " return doubled.toString());" + "};" + "</script></head><body>" + "<div id = 'myDiv'>I AM CONTENT</div></body></html>

UWP application not going to suspend state

点点圈 提交于 2019-12-08 04:23:31
问题 In my UWP application I am using app service as in process background task to communicate with the win32 application to get the information.My application is not even going to suspend state. It always stays in the running state.But when i kill my win32 application it is going to suspend state. For making application to suspend state followed steps in How to make UWP app to suspend and resume state I also tried with the Samples provided by microsoft in git https://github.com/Microsoft

Trying to get Heart Rate Variability from Polar H10 [Bluetooth Low Energy Sample UWP]

我怕爱的太早我们不能终老 提交于 2019-12-08 04:17:47
问题 I am working with Polar H10 to get the Heart Rate Variability from it. I am running Bluetooth Low Energy Sample from Microsoft. I have used this sample to get the heart rates from another polar device (Polar OH1) and it worked fine. But now I want to get the HRV from Polar H10. But BLE sample code is not really showing me the HRV Characteristic which it should just like heart rate. These are the only characteristics I am seeing: // first layer keys are serviceUuid's // second layer keys are

HTML to PDF in a Windows universal app (UWP)

老子叫甜甜 提交于 2019-12-08 03:52:27
问题 Is it possible to convert an HTML string to a PDF file in a UWP app? I've seen lots of different ways it can be done in regular .NET apps (there seem to be plenty of third party libraries), but I've yet to see a way it can be done in a Universal/UWP app. Does anyone know how it can be done? Perhaps there is some way to hook into the "Microsoft Print to PDF" option, if there is no pure code solution? Or is there a roundabout way of doing it, maybe like somehow using Javascript and https:/

UWP Unpaired Paired Bluetooth devices

偶尔善良 提交于 2019-12-08 03:36:47
问题 I am developing in Visual Studio 2015 in C# for a Raspberry PI 2 device running Windows IoT Core. For my application I need to pair and unpair Bluetooth devices. Can I get a list with paired / unpaired / all Bluetooth devices? Like what can be seen on the Bluetooth page of the built-in management website (http://[deviceip]:8080/bluetooth.htm) I found a example (https://github.com/Microsoft/Windows-universal-samples), but this is to much for me! For now I just want to get a list with paired /

Sign data using CMS based format in UWP

偶尔善良 提交于 2019-12-08 03:30:18
问题 I need to transfer data between WCF service and UWP app. So I sign and verify data after receive data. I have a problem. The signed data result in WCF is differences in UWP app.(Of course, I can't verify data) This is my source code: // WCF private String Sign(string Message) { ContentInfo cont = new ContentInfo(Encoding.UTF8.GetBytes(Message)); SignedCms signed = new SignedCms(cont, true); _SignerCert = new X509Certificate2("Path", "Password"); CmsSigner signer = new CmsSigner(_SignerCert);