3,594 questions with .NET MAUI tags

Sort by: Updated
4 answers

Custom fonts not working when uploading Maui Android project to Play Store

I have added custom fonts in the font directory of my Maui project's Resources directory and updated the MauiProgram.cs file accordingly. The fonts work fine when I deploy the application using Visual Studio, but when I publish the app and upload it to…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,594 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,011 questions
asked 2024-05-21T16:58:13.6333333+00:00
Mujtaba Ali Panjwani 25 Reputation points
answered 2024-11-09T06:46:44.04+00:00
Joaquín Salas 0 Reputation points
0 answers

MAUI - Unable to add android java binding library

Hi, I am trying to add jar files to maui project as android java library. The android java library can built indipendently but when I refer thr library to MAUI project I am getting this exception Error: Project 'SDK/SDK.csproj' targets 'net8.0-android'.…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,594 questions
asked 2024-11-08T12:56:42.1133333+00:00
Bonala, Manohar 0 Reputation points
1 answer

the skbitmap not work why paint on it?

SkiaSharp.SKBitmap bitmap = new SkiaSharp.SKBitmap(309, 60); var canvas = new SkiaSharp.SKCanvas(bitmap); var paint = new SkiaSharp.SKPaint(); paint.TextSize = 12; paint.Typeface = SkiaSharp.SKTypeface.FromFamilyName("Arial"); paint.Color =…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,363 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,594 questions
asked 2024-11-08T04:18:59.33+00:00
mc 4,616 Reputation points
answered 2024-11-08T09:36:56.8033333+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 44,011 Reputation points Microsoft Vendor
1 answer

Issue with Xamarin.Android.Google.BillingClient - Returning Empty Product List in .NET 8 MAUI

Hello, I am currently using .NET 8 with Xamarin.Android.Google.BillingClient version 7.1.1 in my MAUI application. When attempting to retrieve product details from the Google Play Store, the BillingClient returns a successful response…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,919 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,594 questions
asked 2024-11-08T04:30:52.0333333+00:00
KarPreet 20 Reputation points
answered 2024-11-08T08:44:05.36+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 44,011 Reputation points Microsoft Vendor
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,594 questions
asked 2024-09-25T14:36:05.62+00:00
Dani_S 3,786 Reputation points
commented 2024-11-08T07:09:18.0533333+00:00
Dani_S 3,786 Reputation points
0 answers

Selected MenuFlyoutItem is transparent

Hi, In continue of https://learn.microsoft.com/en-us/answers/questions/2079247/how-to-change-the-bacground-and-text-color-of-menu there is another issue with selected MenuFlyoutItem is transparent See : How is can be fixed ?

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,594 questions
asked 2024-11-08T07:08:55.5833333+00:00
Dani_S 3,786 Reputation points
1 answer

Delayed Response in MAUI and Firebase Realtime Database

Here's a clearer version of your message: Hi forum, I'm facing an issue where Firebase Realtime Database doesn't respond immediately in my MAUI app (specifically with the GET method and displaying data on the Home Screen), whereas it responds instantly…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,919 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,594 questions
asked 2024-11-07T20:06:57.2033333+00:00
Michael Phan 0 Reputation points
answered 2024-11-08T06:20:14.4966667+00:00
Michael Phan 0 Reputation points
1 answer

MAUI app crashing with release mode. Works fine with debud mode ?

MAUI app crashes with release mode. Works fine with debug mode. Targeting .net run time is .net 7.0. We are using a few syncfusion controls in our application. Those nuggets were up to date till now. Here are the crash…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,594 questions
asked 2023-12-13T16:27:12.44+00:00
KallemSandeep-8232 36 Reputation points
commented 2024-11-08T05:33:25.43+00:00
Delwar Hossain 0 Reputation points
1 answer

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,594 questions
asked 2024-11-07T09:35:50.1333333+00:00
RATNASOTHY Danister 0 Reputation points
answered 2024-11-08T02:09:34.19+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 44,011 Reputation points Microsoft Vendor
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,594 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.

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,594 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,011 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,594 questions
asked 2024-11-06T08:52:37.01+00:00
KarPreet 20 Reputation points
accepted 2024-11-07T07:25:19.18+00:00
KarPreet 20 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,594 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,919 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,193 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,594 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,594 questions
asked 2024-11-04T10:36:59.62+00:00
mc 4,616 Reputation points
commented 2024-11-07T00:48:59.2+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 44,011 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,919 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,594 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,594 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,594 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,594 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,594 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