2,860 questions with .NET MAUI tags

Sort by: Updated
1 answer

Native Android .so files that are part of a nuget package are not copied to android simulator when deploying MAUI application

I am trying to use a .Net Nuget package that contains native Android .so files. However, the Linux versions of the .so files are included in the built Android .apk file and not the Android versions. When deploying to the Android Simulator, this causes…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,367 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,602 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,860 questions
asked 2023-10-31T17:09:01.89+00:00
Anonymous
commented 2023-11-20T19:05:55.7833333+00:00
Anonymous
1 answer One of the answers was accepted by the question author.

Changing Visual state of an Entry from code behind

0 I have been trying to change Visual State of an Entry from CodeBehind. so if the entry is disabled , background color should be changed to Grey and if its normal , it should be white which is clearly defined in styles.xaml ,Based on User input, I make…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,860 questions
asked 2023-11-15T13:27:13.34+00:00
Manickam, Suraj 220 Reputation points
commented 2023-11-20T09:39:34.38+00:00
Manickam, Suraj 220 Reputation points
1 answer One of the answers was accepted by the question author.

MAUI: Save contact to device

I am trying to save a phone number to the local device in MAUI by Conditional Compilation. Below is my code: #if ANDROID using Android.App; using Android.Content; using Android.OS; using Android.Provider; using Android.Runtime; using…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,860 questions
asked 2023-11-15T13:25:38.8733333+00:00
Sreejith Sreenivasan 691 Reputation points
commented 2023-11-20T08:51:06.65+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 68,491 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

How to Exclude my App from a list of Sharing Targets when my app is the data source?

My App is a Sharing Target to accept simple text data such as web addresses from external apps such as YouTube, Facebook, etc. For this, my app appears in the list of target apps when a user invokes a Share command from an external app. If my app is…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,860 questions
asked 2023-11-17T10:49:03.9633333+00:00
dg2k 1,386 Reputation points
accepted 2023-11-20T08:46:26.9933333+00:00
dg2k 1,386 Reputation points
1 answer

Maui net 8 for android castomizing keyboard

hello all. please is maui net 8 last version has a keyboard customizing. thank you very much

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,860 questions
asked 2023-11-16T10:55:01.6033333+00:00
Haviv Elbsz 1,886 Reputation points
commented 2023-11-20T07:29:32.2333333+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 35,291 Reputation points Microsoft Vendor
2 answers

How to use map clustering features in .maui?

Hi Team , I am not able to find map clustering features in ms docs. Can you please help me to use clustering in my maui project.

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,860 questions
asked 2023-06-22T05:23:30.19+00:00
Thombre, Ashish 105 Reputation points
edited an answer 2023-11-20T05:46:38.5666667+00:00
Thombre, Ashish 105 Reputation points
1 answer

How to upgrade Maui from .NET 7.0 to 8.0

Can someone please explain the secret to upgrading in Maui? XF, although painful, had a workflow that I could get the solution to move up, but with Maui, it is oddly even harder now. I can't seem to select 8.0 from 7.0 on the property page because to…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,860 questions
asked 2023-11-18T21:57:15.1533333+00:00
David Friedel 6 Reputation points
answered 2023-11-20T05:19:03.04+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 35,291 Reputation points Microsoft Vendor
0 answers

.net maui bug visualState on CollectionView

Hello, In my Maui Android mobile application, I have a collectionView that contains ItemTemplates. Each ItemTemplate has a state. I've defined a visualState for the Disabled state on the ItemTemplates. When it's in a certain state, it must be Disabled…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,860 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,234 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.
762 questions
asked 2023-11-17T14:57:12.7133333+00:00
Antoine 0 Reputation points
commented 2023-11-20T04:14:19.5866667+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 68,491 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Download sqllite db from MAUI Blazor App

Here is a MAUI App that uses SQLLite , https://github.com/KalyanAllam/SQLiteDemoWithBlazorApp/ private async void SetUpDb() { if (_dbConnection == null) { string dbPath =…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,860 questions
asked 2023-11-18T17:09:33.68+00:00
Anonymous
accepted 2023-11-19T09:05:40.77+00:00
Anonymous
2 answers One of the answers was accepted by the question author.

Create a MAUI application that lives in the system tray (Windows)

Hi, We want to create an application that essentially lives in the system tray. When a user wants to do something, they right-click on the icon, choose what they want to do from the context menu of system tray, and that starts the GUI with the choice…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,860 questions
asked 2023-03-08T05:03:30.4633333+00:00
Sanket Vinod Solanki 30 Reputation points
commented 2023-11-19T04:12:18.0033333+00:00
Sanket Vinod Solanki 30 Reputation points
1 answer One of the answers was accepted by the question author.

How to setup a Splash Screen when an Android Maui App is started by an external app?

I have a working app which I am now enhancing it by making it a Sharing Target. Consider that I am sending a simple text data such as a website link to my app. For this, I have added an Intent Filter as shown in the code below. Everything works as…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,860 questions
asked 2023-11-16T18:24:10.2833333+00:00
dg2k 1,386 Reputation points
accepted 2023-11-18T16:33:04.65+00:00
dg2k 1,386 Reputation points
1 answer One of the answers was accepted by the question author.

Read json file inline in Blazor (MAUI)

The below code was given in this forum and it works fine in Blazor but it doesn't work in MAUI. Can someone help me refactor code to read the JSON inline and not from "sample-data/employees.txt" Like assign it to some variable and load the…

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,385 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,860 questions
asked 2023-11-04T09:25:35.9566667+00:00
Anonymous
accepted 2023-11-17T16:41:59.6+00:00
Anonymous
1 answer

Net Maui Net 8 Handler is not working as expected ? how to fix ?

I have handler like as above but only titleBar.backgroundColor is not showing as expected (still showing gray color ) the others working well any idea to fix ? thanks.. // windows app.css WindowHandler.Mapper.AppendToMapping(nameof(IWindow),…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,860 questions
asked 2023-11-14T04:46:20.5433333+00:00
Sami 856 Reputation points
edited a comment 2023-11-17T12:59:33.6233333+00:00
Sami 856 Reputation points
1 answer One of the answers was accepted by the question author.

Windows Title Bar in .NET MAUI (Win UI 3)

Hello, I have a question that I always wanted to ask related to Windows Title bar (i'm talking about this one): When .NET 8 released, I saw that it switched the WinUI to 3 version, which support Title Bar customization. My question is how to modify this…

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
10,609 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,860 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,234 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
8,150 questions
asked 2023-11-16T14:51:31.3433333+00:00
J0nathan550 20 Reputation points
accepted 2023-11-17T09:39:44.5333333+00:00
J0nathan550 20 Reputation points
0 answers

Image control not working properly

I have implemented the image in the collection view. In the following scenario image is not reflected. scenario : capture image using the "Camera.MAUI.CameraView" plugin save in the app private location access captured image, it is working…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,860 questions
asked 2023-11-16T08:09:35.2033333+00:00
Vijay Palave 0 Reputation points
commented 2023-11-17T06:25:49.9466667+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 68,491 Reputation points Microsoft Vendor
1 answer

MAUI app crashes when deployed through TestFlight

I have a MAUI app that up until recently was working when published and deployed through TestFlight. Now it just crashes on launch. Incident Identifier: 4*** Beta Identifier: *** Hardware Model: iPhone15,2 Process: …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,860 questions
asked 2022-09-28T15:30:02.793+00:00
Tomas McGuinness 16 Reputation points
commented 2023-11-16T12:06:41.0533333+00:00
Suman Chava 1 Reputation point
1 answer One of the answers was accepted by the question author.

CollectionView API image loading

Hello I am calling an API, for getting some images public async Task GetCardNamesAsync(string deckName) { CardList.Clear(); IsBusy = true; var cards = await…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,860 questions
asked 2023-11-13T14:14:06.5066667+00:00
Eduardo Gomez 3,416 Reputation points
accepted 2023-11-16T11:08:06.8466667+00:00
Eduardo Gomez 3,416 Reputation points
1 answer

Error with .net Maui app

Good morning, I'm using Visual Studio 2022 Community updated to version 17.8 on Windows 11. I created a simple .net Maui app as suggested by the Microsoft learning videos. However, when I want to run the application it gives me this error that I don't…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,602 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,860 questions
asked 2023-11-15T14:42:16.7433333+00:00
Marco Dell'Oca 41 Reputation points
answered 2023-11-16T10:41:43.45+00:00
Marco Dell'Oca 101 Reputation points
1 answer

Naui for android entry focus

hello all. how to remove entry focus if possible without setting focus to other control. note that set focus to non text input not work I tried to set focus to a button but that not work. thank you very much.

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,860 questions
asked 2023-11-16T09:24:43.2166667+00:00
Haviv Elbsz 1,886 Reputation points
answered 2023-11-16T10:07:56.4733333+00:00
Haviv Elbsz 1,886 Reputation points
1 answer

Share a video from Youtube to iOS maui app

Hi, I am trying to make my .net Maui app available on the share menu so that I can let users share video urls from Youtube and then open my app at a certain page with that url already showing in one of the fields on the page. I was able to do it in…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,860 questions
asked 2023-11-15T10:36:14.6066667+00:00
yaron kadman 81 Reputation points
edited an answer 2023-11-16T09:47:10.5033333+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 26,221 Reputation points Microsoft Vendor