Questions tagged [win-universal-app]

Windows Universal apps target multiple types of devices via a single codebase. Please specify with other tags if you refer to Windows 8.1 or Windows 10.

Filter by
Sorted by
Tagged with
0 votes
0 answers
43 views

Why isn't my UWP ListView showing added items in Win-Universal-App using C#?

In app on UWP ListView doesn't show items (however, when program was launched first time, listview showed added items) xaml of listview: <!-- Expense List --> <...
Anton Boyko's user avatar
-1 votes
1 answer
59 views

Trying to make a Calculator on UWP that does simple addition and multiplication I am having trouble [closed]

I have 2 Checkboxes one for addition and one for multiplication I put the if statement for the checkboxes and The if statement is giving me a error and I don't know how I would rewrite or fix. using ...
Matt Santos's user avatar
0 votes
1 answer
135 views

Access Denied exception being thrown in UWP

I'm trying to save a video file to a specific folder location instead of a library; which is what it defaults saves to. I'm using StorageFolder.GetFolderFromPathAsync to get the location. When it ...
Michael A's user avatar
0 votes
1 answer
69 views

c# Windows Foundation why can't I draw a shape @ coordinates

W11, VS2022 I'm fairly new to UI design in c#. I'm trying to draw a control at runtime and I can't seem to find the way to specify its x & y properties or set it to a Point. xaml <Page x:...
Big Ian's user avatar
  • 163
0 votes
1 answer
60 views

How to get a unique userid in Microsoft Store API

I use the Microsoft Store API (henceforth "API) for enable user for in-app purchases (Addons). For example... public StoreContext storeContext = StoreContext.GetDefault(); GetAppLicenseAsync(); ...
Neha's user avatar
  • 319
0 votes
1 answer
89 views

How to hide elements and reserve its space in UWP

I'm trying to hide elements in UWP but i can't reserve its space. I've tried to change Visibility but there is no option to set Visibility to Hidden. I can only set Visibility to Visible or Collapsed. ...
Ali Teleb's user avatar
0 votes
0 answers
22 views

UWP - Emailing a confidential document without using persistant storage

I want to attach a file to an email client but the document exists on the device in an encrypted format. However DataTransferManager does support only a list of IEnumerable<IStorageItem>. The ...
SurenSaluka's user avatar
  • 1,544
1 vote
1 answer
107 views

How to change reveal effect color in button in UWP?

In my screenshot above, I would like to change the Gray highlight color in the above image to another color. Would anyone know how to do this? This is a Button control in UWP.
Ali Teleb's user avatar
1 vote
1 answer
435 views

API for Live Captions on Windows

I'm build a Win Universal App with capabilities to watch live captions of the lecture which student is currently watching or attending in person. I'm looking for a built-in free solution to do audio ...
krasalexander's user avatar
1 vote
2 answers
190 views

How to find user clicks on a link inside a PDF page

This is regarding UWP PDFNet Sdk. I need to capture an event when a user clicks on an embedded link in a PDF document. I need to capture the embedded link's data as well. Any help would be appreciated....
SurenSaluka's user avatar
  • 1,544
0 votes
1 answer
74 views

Regarding Windows-universal-samples of Microsoft

Could any one tell me this code 1 , is this function runs every time when it gets a new video frame, if yes then I made a thread after line 188 which basically make a TCP connection with the server ...
Ab Danyia's user avatar
0 votes
1 answer
55 views

c# Universal Windows console App, Camera error "This object must be initialised... "

When I start debugging a Universal Windows console application and initialise the camera I get the following error. When excute this line: (I execute it in Program.Main ) await mediaCapture....
Crainar's user avatar
  • 23
0 votes
1 answer
99 views

Winjs project - use File picker to select audio file and play it

I'm working with Visual Studio 2017, winjs project. How to use FilePicker to open file dialog and pick an audio file, then play that file? Thanks guys.
Mai Reynolds's user avatar
0 votes
0 answers
158 views

UWP ease in animation on grid size change

I have the following Ui and clicking on the "Admin login" button will extend the grid by adding another field ("Device owner") below the password field. When this happens the ...
SurenSaluka's user avatar
  • 1,544
3 votes
1 answer
131 views

How can I add "related" tag/keyword to search from start menu for an UWP app

To search a windows app from start menu search or windows search we type the display name of an app. However, I wanted to add customized keyword/tags to search my UWP app from that search. For some ...
Mohibul Hossain's user avatar
0 votes
0 answers
278 views

IdentityModel RefreshToken impementation issue

I use the following code to log in via OIDC. This is a UWP app with IdentityModel.OidcClient 5.0.0 LoginRequest loginRequest = new LoginRequest { FrontChannelExtraParameters = new IdentityModel....
SurenSaluka's user avatar
  • 1,544
0 votes
1 answer
137 views

How to preserve passwords/appdata locally without roaming even if the app is uninstalled - using Credential manager

In UWP Credential manager is a good place to store sensitive information between application uninstallations and installations. I see that the Credential Manager by default enable roaming between ...
SurenSaluka's user avatar
  • 1,544
0 votes
1 answer
99 views

Refer multiple Resource Dictionaries in the UWP project

My UWP app has a resource dictionary used for localization named "Resources.resx" and now I want to add another "ResourcesXaml.resx". I want to know how to access both files like ...
SurenSaluka's user avatar
  • 1,544
0 votes
1 answer
135 views

uwp dynamic storyboard target name

I have a Button in inside a ListView.ItemTemplate which mimicks the behavior of a dropdown button. And I want to give the button a rotation animation by using a StoryBoard. <Storyboard x:Name="...
Seaky Lone's user avatar
0 votes
1 answer
46 views

Windows Store: One of your Packages can’t be encrypted because the targeted device family MinVersion doesn’t support encryption

When I´m uploading a package to the Windows store I´ll get the following error message: One or more of your packages can’t be encrypted because the targeted device family MinVersion doesn’t support ...
harryh100's user avatar
0 votes
1 answer
133 views

Monogame-uwp package can´t be published to the Windows Store because it still targets Windows.Mobile and can´t be enrypted because of that

I´m trying to publish a package (which is build with the normal uwp-template from monogame) to the Windows Store and it shows the following message: The package abcdefg_1.0.8.0_x86_x64_bundle....
harryh100's user avatar
0 votes
1 answer
219 views

Test push notifications using Universal Windows App

I have been using this MSDN tutorial (Tutorial: Send notifications to Universal Windows Platform apps using Azure Notification Hubs) to test the notification hub. The issue is it is asking me to ...
Ayush Saxena's user avatar
0 votes
1 answer
286 views

Logging out from IdentityServer does not close the webview popup

I have used IdentityModel.OidcClient with a UWP app and connected to Azure AD. Login webview opens and automatically closes but the logout popup does not automatically close. My implementation is ...
SurenSaluka's user avatar
  • 1,544
0 votes
1 answer
95 views

OIDCClient "The specified protocol is unknown" exception in UWP when connecting to Azure AD

UWP app connecting to Azure AD via IdentityModel.OidcClient generates an error as below. Exception Message = "The specified protocol is unknown. (Exception from HRESULT: 0x800C000D)" Noting ...
SurenSaluka's user avatar
  • 1,544
0 votes
2 answers
346 views

How prelaunch works?

Looking for some feature that can make my app start up even fast, I found the prelaunch feature in the Microsoft documentation that would help open the app faster. But even if I register the app to ...
Renée Bolivar's user avatar
2 votes
3 answers
616 views

Localize strings in XAML UI in UWP

I have a resource entry named info_278 in the Resources.resw file on my UWP app. I have 3 scenarios where I need to use this resource but looks like I need to duplicate this to cater to different ...
SurenSaluka's user avatar
  • 1,544
0 votes
1 answer
313 views

GetFileFromApplicationUriAsync throws "The system cannot find the file specified"

I really don't get why I am getting this exception: "The system cannot find the file specified". Please check the code below. I was able to get file test3 but unable to get test2. I am ...
Seaky Lone's user avatar
0 votes
1 answer
119 views

UWP UserNotification from Chrome - how to get source domain info?

In my UWP app, when getting toast notifications from google services such as Gmail or Calendar, I can see the FQDN reflected within notification UI: see toast notifications I am getting However, I can'...
Greg's user avatar
  • 1
0 votes
0 answers
78 views

Tab navigation in content editable webview freezes the UI after closing a secondary window

Issue: In latest OS builds higher than 17763, UWP apps which uses a content editable webview freezes the UI in a particular scenario. Prerequisites: OS build version should be higher than 17763. ...
Razor's user avatar
  • 669
0 votes
1 answer
149 views

C# Run Function When UWP is Closed (CancelEventHandler)

I am writing a Speech To Text App that Captures Audio from the User's Microphone, Sends Audio Stream to the Server, and Receives Text from the Server. I am using WebSockets to communicate with the ...
jo_ham's user avatar
  • 11
0 votes
1 answer
222 views

Why does Visual Studio create a new certificate every time I publish a UWP packaging project?

When publishing, a Test folder is created with an msixbundle file for installing the app on my computer to test the app. It also creates a cer file. As far as I remember, the certificate didn't use to ...
ispiro's user avatar
  • 26.6k
0 votes
1 answer
256 views

Where are windows universal application registry changes saved?

I have a windows desktop application which uses the msix system with sideloading for deployment. This means that the application accesses %appdata%..\Local\Packages<packageId>_ when I try to ...
user3190036's user avatar
2 votes
0 answers
2k views

How to enable a UWP app open via a hyperlink (Deep-linking)

I have followed this link and implemented "apps for websites using app URI handlers". However, the link only works when it's embedded in another app like Mail app, Microsoft Teams or Skype, ...
SurenSaluka's user avatar
  • 1,544
0 votes
1 answer
53 views

SecondaryTile.DisplayName not getting updated

I have the following code, which is supposed to update the text of a SecondaryTile. async Task UpdateTile(SecondaryTile tile, string text) { tile.DisplayName = text; await tile.UpdateAsync(); }...
ispiro's user avatar
  • 26.6k
0 votes
1 answer
325 views

How to update cell value in UWP Microsoft Toolkit DataGrid?

i am trying to update the cell value from the datagrid but i dont know how to set the new celll value private async void GridViewAccount_CellEditEnded(object sender, Microsoft.Toolkit.Uwp.UI....
Ari Fariq's user avatar
0 votes
1 answer
483 views

How to get install location of UWP app in C?

In the past I wrote a game using the C programming language. Recently I was exploring the idea of porting it to the Universal Windows Platform, and potentially to the Windows Store. After reading the ...
TomTsagk's user avatar
  • 1,484
0 votes
2 answers
320 views

UWP TextBox resize issue with a long text

I have a chat app developed and have an issue with the Chat TextBox. When I try to paste the following text to that TextBox it resizes instead of wrapping it in the given space. You can see in the ...
SurenSaluka's user avatar
  • 1,544
0 votes
2 answers
201 views

Restrict user inputs to alphanumerics and special characters on UWP textboxes

I want to allow alphanumeric, special characters and restrict other content like emojis on UWP input fields. Is there a proper way of doing this? Windows has so many not just emojis but like Kaomoji ...
SurenSaluka's user avatar
  • 1,544
0 votes
0 answers
871 views

Failed to install UWP application

I need help with the scenario below I have a UWP application that is being installed from a service run by the local system user (user SID S-1-5-18) The service executes the following command in ...
mribeiro's user avatar
  • 197
0 votes
0 answers
52 views

Play Flask Video Feed in UWP Application using WebView/Media Source

I'm attempting to stream a video feed in a UWP application from a webpage created on another machine using flask. The page loads in MS Edge however when the webView is pointed to the page it gets ...
DoppleGangster's user avatar
1 vote
1 answer
104 views

UWP Item Navigation

I'd like to achieve this kind of behavior and layout which control is best suited to do this on UWP. The next button should go scrolling forward and the back button goes to the previous item(content)
Josh's user avatar
  • 107
0 votes
1 answer
303 views

How to select an already selected gridview item again

I need to select an already selected Gridview item. But once selected it won't trigger PropertyChanged for the second time. I have tried resetting SelectedIndex to -1 and SelectedItem to null. No luck....
SurenSaluka's user avatar
  • 1,544
0 votes
1 answer
77 views

UWP how to get shorcuts from folder

So I've been messing around to add an explorer functionality to an UWP app I'm working on for a school project and was able to get mostly everything I needed working. One thing I wasn't able to figure ...
Tofuu's user avatar
  • 45
1 vote
0 answers
227 views

Portaudio opens stream but no sound at all

My unity project includes an unmanaged dll that links to portaudio dll which I've built, everything is configured and built for x86_x64 architecture. My unmanaged dll uses portaudio to open an ASIO ...
omar abushaban's user avatar
1 vote
2 answers
533 views

Different Dispatcher methods in C# / UWP

I've found 3 different ways of using the dispatcher await Windows.UI.Core.CoreWindow.GetForCurrentThread().Dispatcher.RunAsync(Windows.UI.Core.CoreDispatcherPriority.Normal, () => { // ... }); ...
andy's user avatar
  • 509
0 votes
0 answers
464 views

Suddenly unable to use Microsoft.UI.Xaml on UWP app

I'm new to uwp development and I've been messing around for the last couple days. I've been using Microsoft.UI.Xaml just fine until a few minutes ago after I tried cleaning the project. Since then the ...
Tofuu's user avatar
  • 45
3 votes
0 answers
160 views

How to enable Apps For Websites API for uwp apps deployed via the Microsoft Store?

I'm adding this API to my app: https://learn.microsoft.com/en-us/windows/uwp/launch-resume/web-to-app-linking. This API allows websites to open UWP apps instead when the user clicks on a link from ...
Daniel's user avatar
  • 136
0 votes
1 answer
106 views

How to pass "Windows App Certification Kit - Test" of a UWP app which has "Restricted namespace"?

According to Show Confirm Dialog When User Close UWP App, i used namespace "rescap" in my UWP app. <Package xmlns="http://schemas.microsoft.com/appx/manifest/foundation/windows10&...
user avatar
0 votes
1 answer
420 views

How to make PathIcon stretch in UWP

I want to use PathIcon just as same size with the text, like NavigationItem. I tried to use <Image> to implement it like this. image but I want to use icon because it can auto change color in ...
Akiya Xiao's user avatar
0 votes
1 answer
261 views

Open PDF file with page number/index in UWP apps

Is there any option to Open a PDF file that is available in local state folder (inside app installation directory) with the page number. There is one method (launchFileAsync) to open such files but I ...
Kishor Bikram Oli's user avatar

1
2 3 4 5
113