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

Sort by: Updated
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,294 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 14,751 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 14,751 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,249 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,826 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,826 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.
679 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.
380 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,751 Reputation points
accepted 2024-03-22T16:00:07.6066667+00:00
BitSmithy 1,751 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,618 questions
Universal Windows Platform (UWP)
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
8,166 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,375 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,249 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.
380 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,751 Reputation points
accepted 2024-03-20T11:26:12.8+00:00
BitSmithy 1,751 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,618 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,607 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
8,166 questions
asked 2023-11-21T12:21:49.9766667+00:00
Luke Ferguson 46 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,249 questions
asked 2024-03-14T21:17:24.3+00:00
Anderson Rodrigues Cavalcante 271 Reputation points
commented 2024-03-15T19:30:48.6533333+00:00
Anderson Rodrigues Cavalcante 271 Reputation points
0 answers

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…

Universal Windows Platform (UWP)
asked 2023-10-31T15:31:07.2833333+00:00
Verica Radulovic 0 Reputation points
commented 2024-03-12T06:17:54.7466667+00:00
Yaguang Ruan 20 Reputation points
1 answer One of the answers was accepted by the question author.

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…

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
10,618 questions
Universal Windows Platform (UWP)
Windows API - Win32
Windows API - Win32
A core set of Windows application programming interfaces (APIs) for desktop and server applications. Previously known as Win32 API.
2,422 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
8,166 questions
asked 2024-03-06T21:13:47.2233333+00:00
EricP-8687 60 Reputation points
edited a comment 2024-03-11T22:06:41.6566667+00:00
EricP-8687 60 Reputation points
1 answer One of the answers was accepted by the question author.

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…

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,249 questions
XAML
XAML
A language based on Extensible Markup Language (XML) that enables developers to specify a hierarchy of objects with a set of properties and logic.
764 questions
asked 2024-03-06T13:16:03.9066667+00:00
Arunachalam, Senthil (External) 20 Reputation points
accepted 2024-03-11T09:31:06.3466667+00:00
Arunachalam, Senthil (External) 20 Reputation points
0 answers

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…

Universal Windows Platform (UWP)
asked 2023-09-06T00:42:24.53+00:00
Jan 6 Reputation points
commented 2024-03-11T03:55:58.5033333+00:00
Tamotsu Takahashi 0 Reputation points
1 answer One of the answers was accepted by the question author.

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

Universal Windows Platform (UWP)
asked 2024-03-07T12:56:35.4366667+00:00
BitSmithy 1,751 Reputation points
commented 2024-03-08T09:49:10.5733333+00:00
Junjie Zhu - MSFT 14,751 Reputation points Microsoft Vendor
2 answers

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

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
10,618 questions
Universal Windows Platform (UWP)
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
8,166 questions
asked 2024-03-04T13:40:27.6733333+00:00
DotNET Fan 191 Reputation points
commented 2024-03-08T08:49:16.6066667+00:00
Junjie Zhu - MSFT 14,751 Reputation points Microsoft Vendor