3,589 questions with .NET MAUI tags

Sort by: Updated
0 answers

Learnings from migrating from Xamarin Native apps to .Net

Since Xamarin is coming to the end of its life time Microsofts recommendation is to migrate the Xamarin native apps to .Net applications. https://learn.microsoft.com/en-us/dotnet/maui/migration/?view=net-maui-8.0. We have done the code level migration…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,589 questions
asked 2024-11-07T09:35:50.1333333+00:00
RATNASOTHY Danister 0 Reputation points
edited the question 2024-11-07T18:27:11.5266667+00:00
Rob Caplan - MSFT 5,537 Reputation points Microsoft Employee
2 answers

"Not In Keychain" Issue with Apple Distribution Certificate in Visual Studio, Xcode 16

Hello everyone, I'm having trouble getting my Apple Distribution certificate to show up as valid in Visual Studio 17.11.5 for a Xamarin project. In Xamarin Apple Accounts under Apple Distribution, the certificate appears as "Not In…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,589 questions
asked 2024-11-05T15:59:11.26+00:00
Dan Taxbøl 25 Reputation points
answered 2024-11-07T12:53:50.67+00:00
Dan Taxbøl 25 Reputation points
1 answer One of the answers was accepted by the question author.

How to change the bacground and text color of MenuFlyoutItem?

Hi, How to change the bacground and text color of MenuFlyoutItem? <FlyoutBase.ContextFlyout > <MenuFlyout > <MenuFlyoutItem Text="Load external configurations" Command="{Binding…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,589 questions
asked 2024-09-25T14:36:05.62+00:00
Dani_S 3,786 Reputation points
commented 2024-11-07T10:22:36.4233333+00:00
Dani_S 3,786 Reputation points
1 answer One of the answers was accepted by the question author.

Showing System.Drawing.Bitmap in MAUI form?

Hello, I want to do a MAUI applciation able to read a USB camera from IDS and paint the incoming images in the main form. I'm able already to detect the camera initialise it and receive the incoming images. I'm able, also, to save those incoming images…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,589 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.
11,008 questions
asked 2023-04-18T15:19:52.75+00:00
Raul C 20 Reputation points
commented 2024-11-07T08:40:14.86+00:00
Raúl Cuevas González 0 Reputation points
1 answer One of the answers was accepted by the question author.

MAUI .NET 8 on Android - throwing an exception

MSBUILD : java.exe error JAVA0000: Error in C:\Users\jeeva.nuget\packages\xamarin.androidx.collection.jvm\1.4.3.1\buildTransitive\net8.0-android34.0....\jar\androidx.collection.collection-jvm.jar:androidx/collection/ArrayMapKt.class: 1>MSBUILD :…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,589 questions
asked 2024-11-06T08:52:37.01+00:00
KarPreet 0 Reputation points
accepted 2024-11-07T07:25:19.18+00:00
KarPreet 0 Reputation points
0 answers

How to access usb camera in maui on Android?

How can i access USB camera(web camera) on .net MAUI? The problem is that when if i list all the avalible cameras i only get front and rear one. If i list usb devices i see the cam but it is just the data about vendor and id num...

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,589 questions
asked 2024-02-19T12:45:01.76+00:00
Vrh94 5 Reputation points
commented 2024-11-07T03:33:13.02+00:00
Trying 0 Reputation points
1 answer

'No Matching Profile Found' While Selecting Distribution Profile For MAUI iOS Application In MAUI In Visual Studio MAC

Visiting developer portal of apple Created New App Chosed iOS platform Entered name, language, bundle ID (Same as in the source code), SKU with full access Save Added New Device Go to certificates, identifiers & profiles Chosen iOS…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,916 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,191 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,589 questions
asked 2024-11-05T13:39:27.0066667+00:00
Smit Rathod 0 Reputation points
commented 2024-11-07T02:03:52.57+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 32,386 Reputation points Microsoft Vendor
0 answers

how to drawText by GenericTypographic in winform?

in .net android (android application) I want to draw text which same like winform's GenericTypographic' but there is no such that in android? I create bitmap var bitmap=new Android.Graphics.Bitmap(150,36,Bitmap.Config.Argb8888); var canvas =new…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,589 questions
asked 2024-11-04T10:36:59.62+00:00
mc 4,576 Reputation points
commented 2024-11-07T00:48:59.2+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 43,931 Reputation points Microsoft Vendor
2 answers

Error in adding footer to ListView in .Net MAUI

HI all, Please help as this error cites on code line: listView.Footer = footer; as below: Java.Lang.IllegalStateException Message=The specified child already has a parent. You must call removeView() on the child's parent first. when adding a new…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,916 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,589 questions
asked 2023-09-08T11:19:26.8866667+00:00
TD D 5 Reputation points
answered 2024-11-06T22:11:15.1366667+00:00
Brian Runck 0 Reputation points
1 answer One of the answers was accepted by the question author.

How to change Shell.Title font?

This is the current AppShell.xaml: <?xml version="1.0" encoding="UTF-8" ?> <Shell x:Class="MauiApp1.AppShell" xmlns="http://schemas.microsoft.com/dotnet/2021/maui" …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,589 questions
asked 2024-11-05T21:08:14.7266667+00:00
LuizCarneiro-4620 40 Reputation points
commented 2024-11-06T16:57:51.9933333+00:00
LuizCarneiro-4620 40 Reputation points
0 answers

access tty ports

Hi, I try to access with the tty ports on my tablet but the use of _usbManager = (UsbManager)activity.GetSystemService(Context.UsbService); but the result is just the regular usb ports. i check in terminal ls -l /dev/ttymxc* and i get a complate…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,589 questions
asked 2024-11-05T15:40:30.21+00:00
Luis Curiel 0 Reputation points
commented 2024-11-06T16:48:33.6266667+00:00
Luis Curiel 0 Reputation points
1 answer One of the answers was accepted by the question author.

Borderless editor

I am trying to get rid of the underline for the editor control, for Android, IOS, Mac and Windows this is my code <Grid Padding="10" RowDefinitions="Auto,*,Auto" RowSpacing="20"> <Label …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,589 questions
asked 2024-11-05T21:00:15.8133333+00:00
Eduardo Gomez Romero 845 Reputation points
accepted 2024-11-06T13:58:13.3866667+00:00
Eduardo Gomez Romero 845 Reputation points
1 answer

How to make "RefreshView" friends with "AbsoluteLayout"

public CollectionPage() : base() { collection.SelectionChanged += _OnSelectionChanged; collection.ItemTemplate = GetDataTemplate(); LoadedCollection(); refresh.Command = new Command(LoadedCollection); refresh.Content = collection; var fabButton…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,589 questions
asked 2024-10-08T16:42:53.7533333+00:00
валера карманов 396 Reputation points
commented 2024-11-06T09:23:07.3733333+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 32,386 Reputation points Microsoft Vendor
1 answer

SSlStream Authentication failing in .NET MAUI Android app whereas same is working in Xamarin.forms

have connected to Controller via WiFi from .NET MAUI Android app and TLS is enabled in connected Controller. From .NET MAUI Android project, I am trying to authenticate SSLStream with below code SslStream _secureStream = new SslStream( new…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,589 questions
asked 2024-11-05T11:11:23.7066667+00:00
Venkatareddy Desireddy 0 Reputation points
answered 2024-11-06T02:36:56.7166667+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 43,931 Reputation points Microsoft Vendor
1 answer

realtime update

I have a service, that is uploading to firestore async Task LoadOrInitializeTurbineAsync() { var turbinesRef = _firestoreDb!.Collection(collectionName); var snapshot = await turbinesRef.GetSnapshotAsync(); if (snapshot.Count ==…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,589 questions
asked 2024-11-03T01:07:14.06+00:00
Eduardo Gomez Romero 845 Reputation points
commented 2024-11-06T01:22:34.33+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 32,386 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Can't center Shell Title on Android

Can't for the life of me figure out a way to center the Shell Title on Android as it's on the left (start) on Android vs the center on iOS, I want to make both centered. Original AppSheel.xaml code: <?xml version="1.0"…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,589 questions
asked 2024-11-05T01:52:10.2933333+00:00
LuizCarneiro-4620 40 Reputation points
commented 2024-11-05T14:57:19.64+00:00
LuizCarneiro-4620 40 Reputation points
1 answer One of the answers was accepted by the question author.

XML Xml Serialization error in MAUI iOS

Good afternoon. We are developing a mobile application for iOS on MAUI (.net 9-0). When using the Apple development profile, our application is assembled and deployed on the device without any problems (using the IDE Rider). But when we change the Apple…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,589 questions
Microsoft Intune iOS
Microsoft Intune iOS
Microsoft Intune: A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.iOS: An Apple mobile operating system.
235 questions
asked 2024-10-31T14:22:05.5033333+00:00
Гелимянов Данил 20 Reputation points
commented 2024-11-05T08:04:42.67+00:00
Гелимянов Данил 20 Reputation points
1 answer

Adding Entitlements.plist for securestorage in maui throwing error related to Entitlements.xaml

my Entitlements.plist contents is as follows <?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,589 questions
asked 2024-10-04T11:27:43.0333333+00:00
Jose KJ 0 Reputation points
commented 2024-11-04T07:47:10.85+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 32,386 Reputation points Microsoft Vendor
1 answer

Text localization

I want to add the ability to use languages in my application, but from what is written in the doc. it is not clear at all. I am interested in a couple of questions. In which folder to create resource files. You can use the Resources/Languages folder,…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,589 questions
asked 2024-10-03T11:26:40.09+00:00
валера карманов 396 Reputation points
commented 2024-11-04T07:39:46.9633333+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 32,386 Reputation points Microsoft Vendor
1 answer

It is not clear how the "LineHeight" property works for the "Label" element

Contains code for the class "DataTemplate" var offerPrice = new Label { FontSize = 40, LineHeight = -2, BackgroundColor = Color.FromArgb("#fff") }; offerPrice.SetBinding(Label.TextProperty, "price"); return new Border…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,589 questions
asked 2024-10-03T07:44:35.64+00:00
валера карманов 396 Reputation points
commented 2024-11-04T07:36:44.9766667+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 32,386 Reputation points Microsoft Vendor