2,782 questions with Universal Windows Platform (UWP) tags

Sort by: Updated
1 answer

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…

Universal Windows Platform (UWP)
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,099 questions
asked 2024-03-13T07:26:14.83+00:00
shriram 55 Reputation points
commented 2024-03-29T06:32:51.72+00:00
Junjie Zhu - MSFT 13,971 Reputation points Microsoft Vendor
0 answers

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…

Universal Windows Platform (UWP)
asked 2024-03-28T10:53:21.83+00:00
MUDIDE Goutham 0 Reputation points
commented 2024-03-29T02:53:48.99+00:00
Junjie Zhu - MSFT 13,971 Reputation points Microsoft Vendor
1 answer

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;…

Universal Windows Platform (UWP)
asked 2024-03-28T16:03:13.4033333+00:00
BitSmithy 1,731 Reputation points
commented 2024-03-29T02:40:29.38+00:00
Junjie Zhu - MSFT 13,971 Reputation points Microsoft Vendor
0 answers

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…

Universal Windows Platform (UWP)
asked 2024-03-22T11:19:48.97+00:00
AW-8090 0 Reputation points
commented 2024-03-27T08:27:40.8633333+00:00
Roy Li - MSFT 31,526 Reputation points Microsoft Vendor
1 answer

How to convert a UWP app to an .exe or .msi file.

How to convert a UWP app to an .exe or .msi file.

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,273 questions
Universal Windows Platform (UWP)
asked 2024-03-26T11:08:05+00:00
Ziya 0 Reputation points
answered 2024-03-27T06:59:14.4433333+00:00
Junjie Zhu - MSFT 13,971 Reputation points Microsoft Vendor
0 answers

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…

Universal Windows Platform (UWP)
asked 2024-03-25T11:24:34.53+00:00
BackNot 46 Reputation points
commented 2024-03-26T03:13:37.54+00:00
Junjie Zhu - MSFT 13,971 Reputation points Microsoft Vendor
0 answers

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…

Universal Windows Platform (UWP)
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,099 questions
asked 2024-03-22T04:45:11.07+00:00
PizzaCake-0876 0 Reputation points
commented 2024-03-25T03:27:58.4633333+00:00
Roy Li - MSFT 31,526 Reputation points Microsoft Vendor
1 answer

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…

Universal Windows Platform (UWP)
asked 2024-03-22T11:30:23.59+00:00
AW-8090 0 Reputation points
answered 2024-03-25T02:54:16.6466667+00:00
Roy Li - MSFT 31,526 Reputation points Microsoft Vendor
0 answers

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:…

Windows
Windows
A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.
4,640 questions
Universal Windows Platform (UWP)
asked 2024-03-21T10:45:45.8+00:00
Rohan Pande 210 Reputation points
commented 2024-03-25T02:01:26.2266667+00:00
Roy Li - MSFT 31,526 Reputation points Microsoft Vendor
1 answer

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…

Universal Windows Platform (UWP)
Azure Communication Services
Azure Communication Services
An Azure communication platform for deploying applications across devices and platforms.
658 questions
HoloLens Development
HoloLens Development
HoloLens: A family of Microsoft self-contained, holographic devices that enable engagement with digital content and interaction with holograms in the surrounding environment.Development: The process of researching, productizing, and refining new or existing technologies.
378 questions
asked 2023-12-22T06:02:46.9266667+00:00
Sadev Kalubowila 10 Reputation points
commented 2024-03-23T16:13:33.97+00:00
Sadev Kalubowila 10 Reputation points
1 answer One of the answers was accepted by the question author.

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…

Universal Windows Platform (UWP)
asked 2024-03-20T12:08:09.7633333+00:00
BitSmithy 1,731 Reputation points
accepted 2024-03-22T16:00:07.6066667+00:00
BitSmithy 1,731 Reputation points
1 answer One of the answers was accepted by the question author.

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…

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
10,418 questions
Universal Windows Platform (UWP)
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
7,926 questions
asked 2024-02-27T19:44:57.5566667+00:00
EricP-8687 60 Reputation points
accepted 2024-03-21T16:27:09.2133333+00:00
EricP-8687 60 Reputation points
1 answer One of the answers was accepted by the question author.

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…

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
10,418 questions
Universal Windows Platform (UWP)
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
7,926 questions
asked 2024-03-18T20:13:28.65+00:00
EricP-8687 60 Reputation points
commented 2024-03-21T16:24:58.2466667+00:00
EricP-8687 60 Reputation points
1 answer

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,…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,265 questions
Universal Windows Platform (UWP)
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,099 questions
HoloLens Development
HoloLens Development
HoloLens: A family of Microsoft self-contained, holographic devices that enable engagement with digital content and interaction with holograms in the surrounding environment.Development: The process of researching, productizing, and refining new or existing technologies.
378 questions
asked 2024-03-04T11:45:28.4366667+00:00
Sadev Kalubowila 10 Reputation points
commented 2024-03-21T07:17:14.9966667+00:00
Nazariy Otkolenko 0 Reputation points
3 answers

[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??

Universal Windows Platform (UWP)
asked 2021-08-04T04:27:43.027+00:00
Md. Niaz Mahmud 171 Reputation points
answered 2024-03-21T06:21:04.5733333+00:00
Glen Howard 0 Reputation points
2 answers One of the answers was accepted by the question author.

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…

Universal Windows Platform (UWP)
asked 2024-03-08T16:27:02.44+00:00
BitSmithy 1,731 Reputation points
accepted 2024-03-20T11:26:12.8+00:00
BitSmithy 1,731 Reputation points
2 answers

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 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
10,418 questions
Universal Windows Platform (UWP)
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,514 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
7,926 questions
asked 2023-11-21T12:21:49.9766667+00:00
Luke Ferguson 41 Reputation points
answered 2024-03-18T09:27:59.69+00:00
C CB 0 Reputation points
0 answers

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…

Universal Windows Platform (UWP)
asked 2024-03-07T02:17:51.4833333+00:00
frank zhang 121 Reputation points
commented 2024-03-18T03:01:40.9633333+00:00
frank zhang 121 Reputation points
0 answers

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…

Universal Windows Platform (UWP)
asked 2023-02-14T08:32:23.8933333+00:00
Victor Chen 106 Reputation points
commented 2024-03-16T07:30:46.16+00:00
Victor Chen 106 Reputation points
1 answer One of the answers was accepted by the question author.

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…

Universal Windows Platform (UWP)
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,099 questions
asked 2024-03-14T21:17:24.3+00:00
Anderson Rodrigues Cavalcante 251 Reputation points
commented 2024-03-15T19:30:48.6533333+00:00
Anderson Rodrigues Cavalcante 251 Reputation points