2,895 questions with .NET MAUI tags

Sort by: Updated
4 answers

How to fix Error DEP0700 Maui .NET7.0

Can someone please help sort this deployment error once updated to .NET7.0 Error        DEP0700: Registration of the app failed. [0x80073CF6] AppxManifest.xml(33,27): error 0x80070003: Cannot install or update package chhlvl.designIT7_xzp7k71ajzmr6…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,895 questions
asked 2023-02-08T00:06:19.36+00:00
Anjalee Gamage 10 Reputation points
commented 2024-04-17T17:19:53.22+00:00
Ibrahima Sow 0 Reputation points
2 answers

KeepScreenOn throws error on Android

Hi, I am trying the following: DeviceDisplay.KeepScreenOn = true; inside the App,xaml.cs and it's working fine on iOS but when I run it on Android I get below error: System.NullReferenceException: The current Activity can not be detected. Ensure that you…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,895 questions
asked 2023-03-15T19:56:19+00:00
Jassim Al Rahma 1,526 Reputation points
edited an answer 2024-04-17T14:40:03.21+00:00
Auto 46 Reputation points
0 answers

Could you suggest anti-tampering solution for .NET MAUI mobile application ?

Hi all, Our team is facing with a challenge that applying anti-tampering solution for our .NET MAUI mobile application on both Android and IOS. We tried checksum bytes from assembly but it's not work on Android (IOS is normal working). Also, we tried…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,895 questions
asked 2024-04-08T07:46:33.6033333+00:00
Thinh Nguyen Viet 0 Reputation points
commented 2024-04-17T09:28:42.5533333+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 35,726 Reputation points Microsoft Vendor
0 answers

Moving xamarin.ios to new SKD style issues

I am trying to move my xamarin.ios project to the new SDK style as MS is no longer supporting the previous methods. I am following the steps at https://learn.microsoft.com/en-us/dotnet/maui/migration/?view=net-maui-8.0 But I get multiple…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,895 questions
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,271 questions
asked 2024-04-15T17:54:17.71+00:00
Phunction 206 Reputation points
commented 2024-04-17T06:42:22.71+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 26,446 Reputation points Microsoft Vendor
2 answers

Issues with using EventToCommandBehavior in .Net Maui

The issue that I am having is that the Name property length is always 0 no matter how many characters I type in the Entry Control. The TextChanged event is firing because when I type a character execution breaks at the NameChanged RelayCommand, but again…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,895 questions
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,271 questions
asked 2024-04-16T19:06:12.9066667+00:00
Tom Meier 80 Reputation points
answered 2024-04-17T06:16:36.6733333+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 35,726 Reputation points Microsoft Vendor
0 answers

How to make .aar workable in maui project ?

Hi all, I am trying integrate a android native sdk into maui, Made a project with Android Java Library Binding, By looking into the docs. But after that total of 3 error are occuring. 1. The type or namespace name 'ProgressStateEventArgs' does not…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,895 questions
asked 2024-04-15T13:20:13.0366667+00:00
Manu Michael Samuel 131 Reputation points
commented 2024-04-17T05:39:04.2466667+00:00
Manu Michael Samuel 131 Reputation points
1 answer One of the answers was accepted by the question author.

AddMutableTrack mediaType string value

I'm using Swift AVFoundation in MAUI to perform audio file manipulation. As part of that I need to use the AddMutableTrack method. Swift's documentation says to use: let compositionAudioTrack = composition.addMutableTrack(withMediaType:…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,895 questions
asked 2024-04-16T21:54:22.5166667+00:00
Kevin O'Brien 20 Reputation points
commented 2024-04-17T04:41:39.5566667+00:00
Kevin O'Brien 20 Reputation points
1 answer One of the answers was accepted by the question author.

iOS Splashscreen not showing up

I am upgrading a Xamarin.Forms project to MAUI. I have a splash.png image in the Resources\Splash folder. It is 414x720 in size. I have the correct entries in the project file as shown on this…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,895 questions
asked 2024-04-15T21:54:03+00:00
Tony Pitman 40 Reputation points
accepted 2024-04-16T15:06:37.8566667+00:00
Tony Pitman 40 Reputation points
1 answer One of the answers was accepted by the question author.

Maui app crach

Hi, App fall after runing one week, what is the reason ? Fault offset: 0x00000000000fc1b9 Faulting process id: 0xf34 Faulting application start time: 0x01da8671c6d536eb Faulting application path:…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,895 questions
asked 2024-04-10T10:21:06.85+00:00
Dani_S 2,726 Reputation points
accepted 2024-04-16T10:05:22.3633333+00:00
Dani_S 2,726 Reputation points
3 answers

When running the [await SecureStorage. SetAsync] command in the MAUI IOS simulator, an error is reported: Error adding record: MissingEntity

An error is reported when running the [await SecureStorage. SetAsync] command in the MAUI IOS simulator. The error is [Error adding record: MissingEntitlement]. Is this not a permission in IOS? How should it be set?

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,895 questions
asked 2022-10-21T03:09:00.747+00:00
hm w 11 Reputation points
answered 2024-04-16T09:53:14.43+00:00
Thabo mashaba 0 Reputation points
1 answer One of the answers was accepted by the question author.

Add Validator in Blazor

I want Location text box to accept only alphabets both cases,number and comma 1)a-z 2) A-Z 3) 0-9 4) comma(,) So Location can be like 125 Harkness Ave,Pasadena or London,Ontario Location shouldnt accept %![ etc. Please suggest how do I add Validator in…

Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,395 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,895 questions
asked 2024-04-12T18:16:54.3033333+00:00
Maui Learner 440 Reputation points
accepted 2024-04-16T09:24:50.7966667+00:00
Maui Learner 440 Reputation points
1 answer

How to use. net8 for VS2022 for Mac? I only have. net6 and. net7 options, but I have installed the. net8 package locally. Thank you for your help!

How to use. net8 for VS2022 for Mac? I only have. net6 and. net7 options, but I have installed the. net8 package locally. Thank you for your help!

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,895 questions
asked 2024-04-15T12:40:46.0233333+00:00
于晏 彭 5 Reputation points
commented 2024-04-16T08:46:06.5533333+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 68,656 Reputation points Microsoft Vendor
0 answers

How to Make Span Text/content Wrapped if it exceeds?

Here if my account number exceeds the numbers from last get cut/disappear. So I used LineBreakMode to WordWrap in label but this is also not working here. <Label FontFamily="InterstateRegular"> …

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,295 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,895 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.
766 questions
asked 2024-04-15T09:49:12.2+00:00
Pratap Singh, Ayush 20 Reputation points
commented 2024-04-16T05:44:37.45+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 35,726 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

can I change the splash screen when run it?

in android MAUI when I run the APP and will get data from server and I will get one image how to set the image to splash screen then I next open the APP it can show in the slpash screen?

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,895 questions
asked 2024-04-11T11:15:15.4+00:00
mc 3,701 Reputation points
commented 2024-04-16T01:22:45.0433333+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 68,656 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Looking to remove underline from Android Entry and Pickers in .NET Maui

I need to remove the underline in my .NET Maui application for entry and picker handlers. In addition to this, I need to set the background color to a custom color that I have. I have found ways to set the background color to transparent to remove the…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,895 questions
asked 2024-04-08T18:00:56.82+00:00
Isspro-eng 40 Reputation points
accepted 2024-04-15T21:01:02.3866667+00:00
Isspro-eng 40 Reputation points
1 answer

How do I know if there is an update to .NET Maui?

I have an android app which has been created using .net MAUI  My requirement is to update the android app when an update becomes available Is there a way to have Azure email me or a group when that specific .net application has an update?

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,895 questions
asked 2024-04-15T19:21:14.2366667+00:00
Gregg Lazzara 0 Reputation points
answered 2024-04-15T20:20:21.1366667+00:00
Bruce (SqlWork.com) 56,686 Reputation points
1 answer One of the answers was accepted by the question author.

.NET Maui App Crashes on Android Emulator After Upgrading to .NET 8

After upgrading my project to .NET 8 Maui, authentication type code examples (MSAL or Auth0) cause my app (running on Android 34) to crash the emulator but with no specific error message. Other than: Failed to clear debug property on device Unable to…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,895 questions
asked 2024-04-11T09:41:30.4866667+00:00
Matt Lovell 20 Reputation points
accepted 2024-04-15T08:00:27.3766667+00:00
Matt Lovell 20 Reputation points
1 answer One of the answers was accepted by the question author.

Maui Android how to get position of the tap gesture position?

I am trying to develop an Maui Android app that lets user draw a line on a view using tap gesture. Could you tell me how to get the position of the tap gesture from user so that I can draw a line from that? Thanks. Dung Huynh.

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,895 questions
asked 2024-04-12T13:34:30.37+00:00
Dung Huynh 121 Reputation points
accepted 2024-04-15T07:08:17.6366667+00:00
Dung Huynh 121 Reputation points
2 answers

VS 2022 for Mac publish issue

dotnet publish /usr/local/share/dotnet/dotnet publish "/Volumes/ExternalApps/Project/LichCongGiaoBMTMaui/LichCongGiaoBMT/LichCongGiaoBMT.csproj" --configuration "Release" --framework "net7.0-ios" --output…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,895 questions
asked 2022-12-21T00:23:22.387+00:00
Banh Thanh Vi 1 Reputation point
commented 2024-04-15T06:44:25.87+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 26,446 Reputation points Microsoft Vendor
0 answers

Open Activity When FCM notification received without user interaction

0 I am working on a project. The project requirement is that, when FCM notification arrives a specific activity opens without user interaction. This means I don't want to open the activity by notification clicking instead I want to open the activity as…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,895 questions
asked 2024-04-13T07:53:29.6666667+00:00
conrado.torres@inovaweb.com.mx 0 Reputation points
commented 2024-04-15T06:26:14.9+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 68,656 Reputation points Microsoft Vendor