All Questions
685 questions
1
vote
1
answer
42
views
Do UWP Apps have a Windows product key?
I am currently developing an UWP app and I want to register an uninstall routine for it using the registry editor from windows.
I saw that I need to register the routine using the product key of the ...
0
votes
0
answers
23
views
UWP Project in Xamarin Forms Works on C Drive Only in VS 2019
If I create an empty Xamarin Forms project on the C drive, the UWP empty GUI opens. If the solution is created on any other drive get an Exception in System.Private.CoreLib.dll. Cannot get the symbols ...
0
votes
1
answer
69
views
How to copy file in UWP
I use database in my UWP application. I want to peak a database file using FilePeaker and then copy it into application folder. But application refuses to copy file and exception "Access to the ...
1
vote
0
answers
74
views
Xamarin Forms App freezes on Windows (UWP) when using Frame
I have a Xamarin Forms app that has always worked without any problems. Now problems have suddenly occurred on certain hardware when I want to enter data in an entry - the app freezes completely. ...
0
votes
1
answer
147
views
How can I get my C# UWP app to REFRESH my browser page, instead of opening a new tab?
A partner company has a web app that opens my Xamarin UWP app using a URI to perform a function. When this function completes, my app will open a URL that the web app provides, which is the same URL ...
0
votes
1
answer
244
views
Is it safe in general to use spaces between specific thickness values (e.g. Margin or Padding) in XAML elements?
Recently one of my colleagues started using spaces instead of commas as separators for specific values in Thickness fields like Margin and Padding:
<Label Margin="0 1 2 3"/>
While ...
1
vote
1
answer
702
views
How To Detect That Microphone Is In The Use Using C#
I have one UWP application in which I am trying to detect if microphone is used by any application or not.
Here is the code to get the microphone from my system.
namespace CallDetector
{
public ...
0
votes
0
answers
71
views
How to get App_StoreKey.pfx file for Xamarin UWP application?
Before in Visual Studio 2019, when I associate my app with the Microsoft Store, it would automatically generate an App_StoreKey.pfx file for my application, however now it just generates a Package....
0
votes
0
answers
158
views
GattLocalCharacteristic WriteRequested & ReadRequested events stop responding
I have been developing BLE peripherals on UWP. I have to send a file to the mobile client. I divide the file into chunks on the server and ask the client for a WriteAsync request. The chunks are ...
0
votes
1
answer
205
views
UWP WebView not showing Google Maps markers
We are facing an issue related to the UWP WebView inside a Xamarin Forms application. Until lately, Google Maps markers were shown correctly on the native UWP WebView, but suddenly, they are not shown ...
0
votes
1
answer
474
views
Asynchronous script dialog prompts in WebView2 on Windows
I'm developing a MAUI application in C# that implements a WebView2 and I need to change the style of the alert, prompt, and confirm dialogs. In WinUI applications everything is very modern, avoiding ...
0
votes
1
answer
163
views
How to restrict scrolling and panning with single finger and enable with two fingers in UWP ScrollViewer?
In a UWP application, I am having a scroll view, in which there are multiple canvas as children.
I need to restrict scrolling and panning when interacted with single finger and to enable them with two ...
3
votes
1
answer
5k
views
Only loopback redirect uri is supported, but urn:ietf:wg:oauth:2.0:oob was found, Getting this error when trying to log into MS account using WAM
I am trying to implement MSAL to a xamarin windows app. When im trying to use AcquireTokenInteractive it gives me this error.
" {"Only loopback redirect uri is supported, but urn:ietf:wg:...
0
votes
0
answers
56
views
How to prevent the mirror imaging issue on Xamarin UWP
Hi I have a Xamarin application, I need to scan some items(Debit card, Id card) through camera and upload the same to server. Implemented the camera functionality through Xamarin.Essential.Media and ...
1
vote
0
answers
218
views
System.InvalidOperationException: 'You must call Xamarin.Forms.Forms.Init(); prior to using this property.'
I created a new UWP app, something I've never done before, and copy and pasted a bunch of code from another Xamarin Forms project, code that did work there. Now I run into the error:
System....