How to convert a UWP app to an .exe or .msi file.
How to convert a UWP app to an .exe or .msi file.
I get error AuthHost disallowed UrlAction: 0x2101 for URL: https://challenges.cloudflare.com/turnstile/v0/g/dc6b543c1346/api.js
I have UWP app. Recently I have moved from google captcha to cloudflare turnstile for one website. In the application I use WebAuthenticationBroker to perform oauth2 like this: WebAuthenticationResult webAuthenticationResult = await…
How to determine Original BLE device from ScanResponse packet
Hello, I am trying to filter for a certain list of devices based on Service UUIDs available from the BLE advertising data. From what I understand, this is possible to do by enabling a watcher's scanner mode to be Active. By doing this, I am able to see…
How to know if a WiFi adapter can be used with a "WiFiDirectAdvertisementPublisher"
I am using the WiFiDirectAdvertisementPublisher to provide a hotspot functionality that prevents internet access, how can I tell if a WiFi adapter supports this API or not? This is the API I am referring…
Azure Communication Services Calling SDK for Unity doesn't support for Video Calling
Hi, I'm developing an immersive application for HoloLens by Unity. I have a requirement of integrate Azure Video Calling feature to the application. Video call should be establishe between HoloLens and PC. I tried this…
x:bind - notify object change, after button is clicked
Hello, I have a problem with x:bind, UI isnt notified when object is created. I have such XAML: <TextBox Text="{x:Bind myClass.Name, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"></TextBox> <Button…
Bluetooth LE - Prevent Windows from automatically discovering & reading from all characteristics after PairAsync
This method to pair and exchange bond keys results in the Windows BLE stack automatically enumerating and reading a bunch of characteristic values. We want to prevent this behavior and only have the application read from characteristics we ask it to or…
How to resize HoloLens 2D application window size via code
I want to customize windows size of my 2D HoloLens UWP application. I have tried below code in my .NET application. This doesn't work in HoloLens, but it works in Windows PC. ApplicationView.PreferredLaunchViewSize = new Windows.Foundation.Size(950,…
[UWP] Is it possible to remove maximize and mimize button from UWP app?
Is it possible to have a UWP app without maximize and minimize button, only the "X" button will be there??
mru.CheckAccess() confirms acces to not existing file
Hello, I have an ListView where I show recently used files. Now wehen user clicks on any item i read selected file. I use such code. private async void lvRecentlyUsedFiles_ItemClick(object sender, ItemClickEventArgs e) { if…
On my visual studio community 2022 I have this error on my uwp app on Design on MainPage.xaml
On my visual studio community 2022 I have this error on my uwp app on Design on MainPage.xaml System.Exception The app didn't start. (Exception from HRESULT: 0x8027025B) at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at…
Windows.Devices.Bluetooth.dll crash when exit app.
I use BluetoothLEAdvertisementWatcher.Received() to register scan callback and start scan LE, after scanning, I free the callback and stop scan. It works well, but when exit app, below crash will happend, it seems an inner crash in…
Trying to open a device using HidDevice FromIdAsync in UWP always returns null unless using FileAccessMode.Read
I can confirm that my HID device can have read and write capabilities, because this has been verified in WPF application, where one Endpoint can read and the other can read and write. I thought it might be a permissions issue, but I defined almost every…
Add ellipsis in placeholder UWP
Hi everyone. I have a textbox with a placeholder and a button inside. I'd like to add an ellipsis at the end of the placeholder text but before the button. If the placeholder text is longer than the area available, the ellipsis must be added. The image…
ESim class usage and instantiation
Hello. I need to instantiate the ESim class to be able to use it for the purpose of profile handling. I am trying to run the UWP application from Visual Studio 2022 and to instantiate ESimWatcher using ESimManager.TryCreateESimWatcher() method. This…
Bluetooth LE - Programmatically determine if a peripheral has lost its side of the bond keys
A common scenario in Bluetooth LE is for one side of a bonded pair of devices to lose their side of previously exchanged bond keys. The Bluetooth LE spec states that the peripheral shall send a LL_REJECT_EXT_IND with error code 6, "PIN or Key…
How to use TextBlock focus to allow Screen reader / Narrator application reads the content
We are using custom TextBlock control in our app to display the descriptions to our users. Using Keyboard 'tab', the focus is not received, and the screen reader / Narrator application does not read the content. Are there any solutions to address this…
Closed captions of MediaPlayerElement causes video lags on some displays
Basic information We do use MediaPlayerElement within UWP platform to play the videos. However, on some display devices, using closed captions (subtitles) leads to video lagging. Specifically, I was able to confirm that issue occurs on: Epson…
Changing ListViewItemTemplate on user click
Hello, I have a ListView with item template selector. Now user clicks on any item, DataTemplate of clicked item should change, without reading items source again. How to improve my code to meet such task. <Page ... > <Page.Resources> …
Microsoft store UWP App
Hello UWP experts, How can we identify from the UWP code that the user has installed from the Microsoft store or from the sideload packages or dev build process from VS? Thanks