UWP App thumbnail preview custom title
I have an UWP app and i have option to open different pages in separate window and i want to each window with different title and i achieve it using "ApplicationView.GetForCurrentView()". But for the thumbnail preview it shows the display name…
UWP Blank app throws error code: The app didn't start.. Activation phase: COM ActivateExtension
I'm trying to integrate a native DLL project (has huge code with 3rd party dependencies) to Blank UWP. The Blank App project build fine but throws error when it is lauched. In Event Viewer, log suggests Error code: The app didn't start.. Activation…
How to get DependencyProperty from PropertyName in Runtime
Hello, How to get DependencyProperty from PropertyName in Runtime. I want to write such code: TextBox tbx = new TextBox(); tbx.SetValue(TextBox.TextProperty, "ssss"); more gerneral. I want to do something like that: TextBox tbx;…
How to know which WiFi adapter will be used with a "WiFiDirectAdvertisementPublisher" when multiple WiFi adapters are available
I am using the WiFiDirectAdvertisementPublisher to provide a hotspot functionality that prevents internet access, if 2 WiFi adapters are connected how can I tell/define which one will/should be used? This is the API I am referring…
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…
Not working as expected web to app Uri Handlers?
Hi, I was trying to launch my application by associating my own website to it. Was following the instructions mentioned in the document, by building a packaged application. Reference:…
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 low energy API improvement request - managing and reading peripheral bonds
We work with BLE programmers that as part of their API provide the ability to serialize, deserialize, and read the bond keys exchanged with a BLE peripheral when paired. This includes things like EDIV/RAND/LTK/CSRK/IRK. I would like to request an API in…
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…