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

Sort by: Updated
0 answers

UWP application hangs at splash screen

We are using a UWP application and it hangs on splash screen intermittently while launching and not proceeding towards landing page. No issues with Windows.Activate method as per the logs neither the event viewer is giving any hint of failure

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,646 questions
Universal Windows Platform (UWP)
asked 2024-07-23T12:34:29.7933333+00:00
Naik, Ratan Kumar 0 Reputation points
commented 2024-07-26T02:37:34.7466667+00:00
Roy Li - MSFT 32,731 Reputation points Microsoft Vendor
1 answer

An unexpected behavior occurs when set a long string in the TextBox

Hello, This problem happens when I try to put a string with a length greater than 15.684 characters. The height of TextBox increases abruptly and the TextBox turns into non-editable. Please, help me handle it Example

Universal Windows Platform (UWP)
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.
790 questions
asked 2024-07-23T20:12:29.08+00:00
commented 2024-07-26T02:37:11.8166667+00:00
Roy Li - MSFT 32,731 Reputation points Microsoft Vendor
0 answers

AcquireTokenInteractive with WithUseEmbeddedWebView stopped working after upgrading library.

Hi, [Urgent] One of my live Microsoft Store App (Written in UWP) is using Microsoft.Identity.Client nuget library. Following code was working perfectly well until i upgraded library from version 4.58.1 to 4.62.0 …

Microsoft Identity Manager
Microsoft Identity Manager
A family of Microsoft products that manage a user's digital identity using identity synchronization, certificate management, and user provisioning.
661 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,646 questions
Universal Windows Platform (UWP)
asked 2024-07-24T17:32:54.5866667+00:00
Jiya desai 51 Reputation points
edited a comment 2024-07-26T02:36:42.38+00:00
Junjie Zhu - MSFT 16,701 Reputation points Microsoft Vendor
0 answers

Opening an app from other app using protocol

Hello, I am trying to open app from other app where the opened app has a protocol defined in its manifest. I use such code: public async void OpenOrShowInStore(string customCampaignId) { //if not instaled go to …

Universal Windows Platform (UWP)
asked 2024-07-25T18:55:44.9433333+00:00
BitSmithy 1,976 Reputation points
0 answers

Tree View witch different data templates for master and child items

Hello, I am trying to implement Tree View where I can show master and children data (two level data structure). I have such data structure: public class Master { public string Name { get; set; } public string Desc { get; set; } …

Universal Windows Platform (UWP)
asked 2024-07-25T07:54:58.41+00:00
BitSmithy 1,976 Reputation points
commented 2024-07-25T18:41:24.57+00:00
BitSmithy 1,976 Reputation points
1 answer One of the answers was accepted by the question author.

Effective file search solution in UWP

Hi, I need to search for files based on their type, creation date, and size (something like in windows). What are the options for an efficient search? I tried to use the Storage API, but the search is quite slow, in turn, System.IO can access folders…

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.
5,096 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,645 questions
asked 2024-07-25T15:52:39.7766667+00:00
123244 0 Reputation points
accepted 2024-07-25T18:31:58.18+00:00
123244 0 Reputation points
0 answers

UWP eSimManager download profile fails

Hello, i am trying to use the eSimManager to mange eSim in Windows 11. my code is var result = await _eSim.DownloadProfileMetadataAsync("MY ESIM PROFILE ACTIVATION CODE"); but i get result of "cardGeneralFailure" the eSim…

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,645 questions
asked 2024-07-23T15:00:04.3+00:00
mgal 0 Reputation points
commented 2024-07-25T10:53:36.15+00:00
mgal 0 Reputation points
1 answer One of the answers was accepted by the question author.

Adding custom fields to Windows Settings for my app?

In some OSes there is a way to create custom settings for the app being developed, that are accessible from outside the app itself. Is this possible in Windows 10 (or even UWP)? My thought was to be able to open the Windows settings; for my app and in…

Universal Windows Platform (UWP)
asked 2020-05-19T14:27:47.75+00:00
BananaTie 21 Reputation points
commented 2024-07-25T04:14:07.9466667+00:00
Alegni 0 Reputation points
2 answers One of the answers was accepted by the question author.

App testing error

Hello, I attached my app with Windows Store (using option in VS). Next, I made a package. Next, I try to validate It (runing test in VS). I get such error. How to solve such problem. I think that my app is already signed, and I dont know how to sign it…

Universal Windows Platform (UWP)
asked 2024-06-24T19:28:11.2266667+00:00
BitSmithy 1,976 Reputation points
accepted 2024-07-24T13:55:38.33+00:00
BitSmithy 1,976 Reputation points
0 answers

Strange line appears when Hover in ARM pc

Hi there. I created a UWP application with a command bar and I'm using it on an ARM computer. There is a tiny diagonal line when hovering the icon and in other buttons happen the same error: My code: <StackPanel x:Name="grid"> …

Universal Windows Platform (UWP)
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.
790 questions
asked 2024-07-12T15:03:04.1233333+00:00
Anderson Rodrigues Cavalcante 316 Reputation points
commented 2024-07-23T19:51:36.5833333+00:00
Anderson Rodrigues Cavalcante 316 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 5 Reputation points
commented 2024-07-23T12:44:20.78+00:00
mgal 0 Reputation points
1 answer

How to get the geolocation position based on the WiFi source always instead of the IPAddress

Hi, I would like to know how can I get the geolocation based on the WiFi source instead of the IP address. I was getting the geolocation based on the WiFi in last month in my Windows 11 system, but it started giving the geo location based on the IP…

Universal Windows Platform (UWP)
C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,635 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
8,984 questions
asked 2024-07-19T10:46:29.9333333+00:00
67883078 41 Reputation points
edited the question 2024-07-23T09:22:07.28+00:00
Tianyu Sun-MSFT 29,446 Reputation points Microsoft Vendor
1 answer

UWP App support Windows Notifications for Sideload or Non-Store Apps

We built two packages for the UWP app , one is a sideload and another a windows store package. Windows store app support windows notification because its used same publisher id which has configured in App store. But side load app does not receive windows…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,646 questions
Universal Windows Platform (UWP)
asked 2024-07-17T18:34:06.3+00:00
Saravanan Rajaram 0 Reputation points
commented 2024-07-23T07:03:30.54+00:00
Roy Li - MSFT 32,731 Reputation points Microsoft Vendor
1 answer

Handling of UWP child window closing behavior

Hello UWP experts , I create the child windows from the main app using the below code. The requirement is at the start dont allow the user to close of window and allow only after 10 to 20 seconds. I couldn't find any pre close event for the child…

Universal Windows Platform (UWP)
asked 2024-07-05T14:15:02.29+00:00
DotNET Fan 191 Reputation points
commented 2024-07-23T03:27:33.9833333+00:00
DotNET Fan 191 Reputation points
1 answer

How to hide package label display name which is showing in first lunch the application.

I want to hide the windows title of my first launch application. There is Package.appxmanifest. where I have display name. which is showing in first lunch of my application. And the same name also showing when I go to the start/search menu. I want to…

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
11,192 questions
Universal Windows Platform (UWP)
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
8,984 questions
asked 2024-07-10T04:35:28.3733333+00:00
Arvind Kumar 0 Reputation points
commented 2024-07-23T01:41:00.66+00:00
Roy Li - MSFT 32,731 Reputation points Microsoft Vendor
1 answer

Selecting text across the elements

I am working on a UWP app where i will get the text content and their respective X and Y coordinates. I need to render this text in UI in the respective coordinates, I have achieved this through canvas panel and text block but here i face another…

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,645 questions
asked 2024-07-08T05:50:54.8466667+00:00
shriram 90 Reputation points
commented 2024-07-23T01:39:14.0233333+00:00
Roy Li - MSFT 32,731 Reputation points Microsoft Vendor
2 answers One of the answers was accepted by the question author.

UWP re-Add-ProvisionedAppxPackage error 183

hello everyone I developed UWP packages and get 2 version appxupload_Windows10_PreinstallKit package from store like test_UWP_1.0.0.1 and test_UWP_1.0.0.2 and here's dism Provision cmds: test_UWP_1.0.0.1_pre_install.bat dism /online…

Universal Windows Platform (UWP)
Windows Server PowerShell
Windows Server PowerShell
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.PowerShell: A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
5,462 questions
asked 2021-08-03T23:47:06.463+00:00
Divyns Lin 41 Reputation points
commented 2024-07-19T13:24:50.88+00:00
Rich M 0 Reputation points
1 answer

Uwp App crashes with faulting module names ntdll.dll or ucrtbase.dll or kernelbase.dll

My UWP app running on Windows 10 with build version 2004 (Build 19041) crashes with either one of the faulting module names: KERNELBASE.dll : Faulting application name: UwpApp.exe, version: 1.0.0.0, time stamp: 0x62a3c35e Faulting module name:…

Universal Windows Platform (UWP)
asked 2024-05-15T16:23:49.07+00:00
Ela Jegenathan 0 Reputation points
commented 2024-07-18T16:34:45.71+00:00
Ela Jegenathan 0 Reputation points
0 answers

Issues with Access Permissions in PhoneLineTransportDevice API on Windows 11

I am currently working on a hands-free application on Windows and using the PhoneLineTransportDevice API. To utilize the features of this API, I initially request access permissions using the PhoneLineTransportDevice.RequestAccessAsync() method. 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,645 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
8,984 questions
asked 2024-07-07T03:07:39.5133333+00:00
Taylor Yi 0 Reputation points
commented 2024-07-15T01:36:57.5833333+00:00
Roy Li - MSFT 32,731 Reputation points Microsoft Vendor
0 answers

Deeplinks using app URI handlers does not open the app

We have followed https://learn.microsoft.com/en-us/windows/uwp/launch-resume/web-to-app-linking#register-to-handle-http-and-https-links-in-the-app-manifest to enable deep linking into our app. However, we can't seem to get it to work. We've made sure …

Universal Windows Platform (UWP)
asked 2024-05-23T06:52:55.9566667+00:00
Michal Šrůtek 0 Reputation points
commented 2024-07-12T08:59:34.0733333+00:00
Michal Šrůtek 0 Reputation points