3,019 questions with .NET MAUI tags

Sort by: Updated
0 answers

How to disable back button long press?

Is there a way to disable the long press functionality of the navigation page back button?

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,019 questions
asked 2024-01-08T13:57:34.9366667+00:00
Aaron 0 Reputation points
commented 2024-01-09T07:31:12.6233333+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 27,356 Reputation points Microsoft Vendor
0 answers

Getting issue while view pdf in .net maui webview for android platform

InitializeComponent(); Microsoft.Maui.Handlers.WebViewHandler.Mapper.AppendToMapping("MyCustomization", (handler, view) => { #if ANDROID handler.PlatformView.Settings.JavaScriptEnabled = true; …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,019 questions
asked 2024-01-09T06:24:42.1566667+00:00
Thombre, Ashish 105 Reputation points
1 answer

Opening with my app

I am developing an app like Microsoft teams, where you can schedule a Metting and send emails to the meeting. In the future I will implement a web app, but let's ignore this for now. Look at this. if you send an invitation to a meeting in teams, the…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,019 questions
asked 2023-12-29T00:08:40.6433333+00:00
Eduardo Gomez 3,416 Reputation points
edited a comment 2024-01-08T22:28:48.65+00:00
Eduardo Gomez 3,416 Reputation points
1 answer One of the answers was accepted by the question author.

.Net Maui, how to run method after page is shown?

Hi, I am trying to find a way to run a method after a contentpage is showing on the screen. OnAppearing() does not work as it fires before the page is actually loaded. Is there any way to do this without using a timer? It seems strange there is no built…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,019 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,424 questions
asked 2023-02-05T22:31:22.9633333+00:00
Phunction 206 Reputation points
edited a comment 2024-01-08T19:58:14+00:00
iPaul 0 Reputation points
0 answers

How to configure Auto update in MAUI application ?

Hi, Consider we have developed a MAUI application. For deployment of this MAUI application in multiple machine we created a setup file / package following this link -…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,019 questions
asked 2023-03-08T07:34:42.23+00:00
Sanket Vinod Solanki 30 Reputation points
commented 2024-01-08T14:04:54.3933333+00:00
Dan Lawrence 0 Reputation points
0 answers

using Xamarin.Firebase, .NET MAUI app can't create IPA

I have gotten around a lot of issues related to long paths using Xamarin.Firebase in .NET MAUI but the latest on the AppData directory seems uncrackable. When trying to deploy to the Local IOS Device I get the following error (I am using the Windows…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,019 questions
asked 2023-12-27T17:46:31.13+00:00
luz colvin 0 Reputation points
commented 2024-01-08T09:25:33.4066667+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 27,356 Reputation points Microsoft Vendor
1 answer

Requesting Guidance on Referencing a Method in .NET MAUI within Visual Studio 2022

I'm currently working with .NET MAUI in Visual Studio 2022 and have encountered an issue while attempting to reference a method I created within my code. The method is intended to be invoked upon clicking a button. However, I'm facing difficulties…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,728 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,019 questions
asked 2024-01-05T07:24:25.75+00:00
Sarfaraz Sable 20 Reputation points
edited the question 2024-01-08T09:02:49.96+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 27,356 Reputation points Microsoft Vendor
1 answer

How to load page like frame in WPF?

I wanna know if there any control can show a page,when i set frame‘s content as a page,it only show its name,but in wpf the frame is work directly.

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,019 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.
773 questions
asked 2023-12-22T02:01:23.3833333+00:00
尼龟 杰 150 Reputation points
answered 2024-01-08T08:59:07.0566667+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 37,191 Reputation points Microsoft Vendor
1 answer

MAUI : Dark mode is hiding visual element in IOS

On IOS whenever I am changing system, Light mode to Dark mode, and visit to my maui application , some visual elements are getting dark due to which some labels and other visuals are also hiding. see below attachments for the reference. download.png…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,019 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,424 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.
773 questions
asked 2024-01-03T09:50:23.45+00:00
Pratap Singh, Ayush 20 Reputation points
commented 2024-01-08T07:56:06.1+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 27,356 Reputation points Microsoft Vendor
0 answers

MAUI fails to deploy Android app

buildoutput.pdf Hi, Ia m trying to deploy my MAUI Android app to my device but keep getting Build Failed and not sure what is the reason. Attached is the build log.. Kindly help.. Thanks, Jassim

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,019 questions
asked 2023-03-29T19:26:50.53+00:00
Jassim Al Rahma 1,531 Reputation points
commented 2024-01-08T04:32:55.2566667+00:00
Gite, Akhil 0 Reputation points
2 answers One of the answers was accepted by the question author.

Temporarily hide Android controls and/or notifications bar temporarily in .net maui 7

Disclosure: I am a student, and this is for my final project. I am pushing a page with Navigation.PushAsync() I would like this page to open while hiding the bottom 3 Android buttons (Back, home, and tray), and the top notifications bar that…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,019 questions
asked 2022-12-11T06:42:29.187+00:00
Sebastian Amyotte 21 Reputation points
commented 2024-01-07T18:25:40.38+00:00
Christian Roberto Zaragoza 116 Reputation points
1 answer One of the answers was accepted by the question author.

What type of project template is used to store entity classes and repository?

If a solution includes separate projects - 1 for entity classes, 2 - infrastructure, and the 3rd project is MAUI app, what types of projects should first two layers be? Is it correct to make database layer as another MAUI project in the solution, remove…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,019 questions
asked 2023-12-14T04:26:53.81+00:00
MSCollege3000 120 Reputation points
accepted 2024-01-07T16:29:56.6433333+00:00
MSCollege3000 120 Reputation points
1 answer

Maui android label text property problem issue

Hello all. Maui Ver 17.9 preview 2 Android Ver 34. In my app I have a label with the property Text problem (label.txt = string) as shown in the following code: private void ShowText() { if(String.IsNullOrEmpty(pattern)) { …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,019 questions
asked 2024-01-03T06:35:08.5333333+00:00
Haviv Elbsz 1,966 Reputation points
answered 2024-01-07T14:30:41.17+00:00
Haviv Elbsz 1,966 Reputation points
1 answer One of the answers was accepted by the question author.

Load Questions during Initialize method

I want to call the LoadQuestionsAsync() method only once when it is getting Initialized. This code should be called in the method IncrementCount() on click Random rand = new Random(); number = rand.Next(minumber, maxnumber); var…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,019 questions
asked 2024-01-06T10:33:06.39+00:00
Maui Learner 500 Reputation points
accepted 2024-01-07T04:44:49.7233333+00:00
Maui Learner 500 Reputation points
1 answer One of the answers was accepted by the question author.

I want to display an Action Sheet from the ViewModel

I am trying to display an action sheet from the viewmodel when the user taps on an Item in the ListView using commanding. Currently I have this in my Xaml. But I get a compiler error message stating that Event ItemTapped can only be bound to properties…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,019 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,424 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.
773 questions
asked 2024-01-04T15:48:51.6366667+00:00
Ronald Rex 1,666 Reputation points
accepted 2024-01-05T21:24:49.7933333+00:00
Ronald Rex 1,666 Reputation points
2 answers One of the answers was accepted by the question author.

Download/Copy SQLLite from Android to desktop

I am using SQLite in Android application , the code here stores the DB in memory , please suggest how to download MCQ.db3 to desktop and view the data.Do I need to create a folder and use a physical path(i.e Data). SQLiteAsyncConnection Database; …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,019 questions
asked 2024-01-03T15:25:37.3066667+00:00
Maui Learner 500 Reputation points
accepted 2024-01-05T12:24:39.03+00:00
Maui Learner 500 Reputation points
1 answer

Lost in the Transition to .NET MAUI and Maui Graphics

Hello everyone, I am writing to seek help with creating a graphics using .NET MAUI with Maui Graphics or SkiaSharp. I have recently migrated from Xamarin Forms to .NET MAUI and from SkiaSharp to Maui Graphics. Unfortunately, I have lost some of my…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,307 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,019 questions
asked 2023-09-14T03:34:39.9666667+00:00
Yusuf 711 Reputation points
commented 2024-01-05T09:01:19.0333333+00:00
Caner AKAR 20 Reputation points
1 answer

Generate an html template for email

Hello everyone, happy new year I have a viewModel, that generates mettings [RelayCommand] async Task StartMeeting() { if(string.IsNullOrEmpty(RoomName)) { await appService.DisplayAlert("Error", "You cannot create a…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,019 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,424 questions
asked 2024-01-03T01:49:01.3866667+00:00
Eduardo Gomez 3,416 Reputation points
answered 2024-01-05T07:58:48.3266667+00:00
akash pant 0 Reputation points
1 answer One of the answers was accepted by the question author.

Maui picker for Android selecteditem issue

Ver 17.9 preview 2 android Ver 34 Hello how I can change the text of a selecteditem. <x: string> item 1<x: string> <x: string> item 2<x: string> <x: string> item 3<x:…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,019 questions
asked 2024-01-04T19:51:48.2566667+00:00
Haviv Elbsz 1,966 Reputation points
accepted 2024-01-05T07:43:57.1666667+00:00
Haviv Elbsz 1,966 Reputation points
1 answer One of the answers was accepted by the question author.

Locate Sqllite Database on Windows App

I deployed MAUI App to Windows 10 where could I find The MCQ.db3 I searched in deployment folder C:\Users\allam\destination\ public const string DatabaseFilename = "MCQ.db3"; async Task Init() { string dbPath = …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,019 questions
asked 2024-01-04T11:09:58.1333333+00:00
Maui Learner 500 Reputation points
accepted 2024-01-05T06:42:03.7433333+00:00
Maui Learner 500 Reputation points