Microsoft Q&A

.NET MAUI

1,862 questions

A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.

Browse all .NET tags

1,862 questions with .NET MAUI tags

Sort by: Updated
1 answer

MAUI: Listview isvisible property is not working from the code behind?

I am trying to show the selected image or file on my UI on a listview. So initially the listview's IsVisible I set to false and after picking item I set the IsVisible property to true. My problem is after picking item the listview is not visible on the…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,862 questions
asked 2023-09-19T14:24:15.5166667+00:00
Sreejith Sreenivasan 371 Reputation points
commented 2023-09-26T19:22:37.93+00:00
Rob Caplan - MSFT 5,212 Reputation points Microsoft Employee
0 answers

How do I programmatically "restart" an Android app in.Net maui?

How do I programmatically "restart" an Android app in.Net maui? I have been trying to restart the application when the system reboot in .net maui app AndroidManifest.xml BootBroadcastReceiver.cs using global::Android.App; using…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,862 questions
asked 2023-09-25T15:57:33.59+00:00
San Sheva Santhanaraj 0 Reputation points
commented 2023-09-26T16:26:16.28+00:00
Rob Caplan - MSFT 5,212 Reputation points Microsoft Employee
2 answers

Help with Microsoft.Graph upon upgrading from version 4.x.x to 5.x.x

I understand that Microsoft Graph Client Library, Microsoft.Graph, API is quite different when upgraded from 4.x.x to 5.x.x. I use this library for accessing OneDrive files. I have no problem with MSAL authentication that precedes file access but would…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
2,078 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,862 questions
asked 2023-03-10T20:04:48.7733333+00:00
dg2k 1,246 Reputation points
answered 2023-09-26T16:02:57.7+00:00
COM-ADD 0 Reputation points
1 answer One of the answers was accepted by the question author.

Property not being set

Hi In my MAUI app I am calling OnItemTapped method from a command. I have implemented IsBusy logic in OnItemTapped to avoid it being executed again until it is done. At the end of OnItemTapped method I am setting IsBusy to false. However IsBusy…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,862 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.
8,978 questions
asked 2023-09-25T02:26:21.6533333+00:00
-- -- 841 Reputation points
accepted 2023-09-26T15:53:15.5733333+00:00
-- -- 841 Reputation points
0 answers

Server 2022 - Maui app with net .7 is not working

Hi, I installed Maui app on server 2019 with this command and its works but on server 2022 its not work: dotnet publish -f net7.0-windows10.0.19041.0 -c Release -p:WindowsPackageType=None -p:WindowsAppSDKSelfContained=true…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,862 questions
asked 2023-09-26T15:03:25.4466667+00:00
דני שטרית 1,181 Reputation points
1 answer

Maui Hybrid Power Bi embeded report ios issue

What is a proper way to configure power bi reports on ios for Maui blazor hybrid app. My current solution works in web, win, android but not in IOS, on IOS it opens power bi report iframe in safary(instead of rendering in app web view) and does not show…

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,105 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,862 questions
asked 2023-08-29T11:41:43.5266667+00:00
Sergey 0 Reputation points
answered 2023-09-26T14:22:46.1866667+00:00
Boorlagadda, Chaitanya 0 Reputation points
0 answers

Steps to upgrade my Xamarin Forms app to .net MAUI using MAC

Hi, I'm trying to upgrade my Xamarin Forms app to .net MAUI using Mac, but i'm unable to add ".net upgrade assistant" into my nuget extension. Could someone please help me with the steps on how to upgrade using Mac system. Thanks in…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,156 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,862 questions
asked 2023-09-26T13:54:00.96+00:00
Raghavendra G R 121 Reputation points
2 answers

Empty space occurs in secondary toolbar item MAUI

Here is my toolbar item In secondary toolbar item, empty space occurs before first element. <Shell.ToolbarItems> <ToolbarItem IconImageSource="fontsize" Order="Primary"/> <ToolbarItem…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,862 questions
asked 2023-09-25T15:16:08.6066667+00:00
Gnana 0 Reputation points
answered 2023-09-26T13:08:08.1766667+00:00
Gnana 0 Reputation points
0 answers

Unable to run MAUI Android app

Hi, Why I am suddenly getting this error when trying to run MAUI's Android app? /Users/jassim/Downloads/MyApp: Error JAVA0000: Error in…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,862 questions
asked 2023-09-24T20:56:07.6633333+00:00
Jassim Al Rahma 26 Reputation points
commented 2023-09-26T09:36:19.6333333+00:00
Jassim Al Rahma 26 Reputation points
1 answer

Is MAUI a production ready to upgrade an iOS/Android Xamarin Forms project to?

We have iOS and Android apps written with Xamarin Forms. We know XF has reached end of life and the upgrade path is to move to MAUI. However, MAUI gets very negative comments and I'm wondering if this upgrade is really a good idea. See the comments at…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,156 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
2,051 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,862 questions
asked 2023-09-25T19:05:54.52+00:00
Scott 0 Reputation points
answered 2023-09-26T09:26:59.0266667+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 22,336 Reputation points Microsoft Vendor
0 answers

Unable to get Tab bar and Flyout together in the shell.

Is there any way to get both Tab bar and Flyout in the Shell in. NET MAUI. Documentation says it is not possible, is there any way to create a custom Flyout or Tab bar in the same Shell.

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,862 questions
asked 2023-09-26T08:36:41.57+00:00
Jibin Jacob 0 Reputation points
1 answer One of the answers was accepted by the question author.

MAUI: Dependency injection is not working

I have a dependency injection in my project for getting the device unique id. It is working fine in my xamarin forms project, but when I add it on my MAUI project the result is blank. My code IDevice public interface IDevice { string…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,862 questions
asked 2023-09-25T15:21:44.31+00:00
Sreejith Sreenivasan 371 Reputation points
accepted 2023-09-26T08:01:54.0133333+00:00
Sreejith Sreenivasan 371 Reputation points
0 answers

How to setup a TabbedPage inside a Flyout after success authentication logic in MAUI?

Is it possible to setup a Tabbed Page inside a Flyout option in MAUI? My code was working fine in XamarinForms, but it is showing some extra white space after the tabbar in MAUI. Tried Code <?xml version="1.0" encoding="utf-8"…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,156 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,862 questions
asked 2023-09-25T12:52:09.0066667+00:00
Ajaykumar P 0 Reputation points
edited a comment 2023-09-26T07:15:58.04+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 22,336 Reputation points Microsoft Vendor
0 answers

MAUI: How to add splash screen in android platform

I am trying to add splash screen on my new MAUI application. I tried the implementation on this blog but the image is in circle (Android 12 device) and only showing black and white color on the icon. Is there anyway to show the real color of the icon on…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,862 questions
asked 2023-09-25T15:20:10.3266667+00:00
Sakshi Poojary 20 Reputation points
commented 2023-09-26T06:48:16.6033333+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 21,196 Reputation points Microsoft Vendor
0 answers

How to use 'manual entry' as the Input type as default from the TimePicker for Android

Hello After clicking on the TimeEdit opens a popup where the default style looks like this But I want to use 'manual entry' as the Input type the default Please help me ti have an option for this!!!!

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,862 questions
asked 2023-09-26T05:45:31.6133333+00:00
Hakob Hovhannisyan 21 Reputation points
0 answers

.NET MAUI Blazor POS App Freezing Issue when Using Physical Barcode Scanner on Android

I'm working on a Point of Sale (POS) application using .NET MAUI and Blazor, specifically targeting Android devices. Everything has been going well so far, but I've encountered a frustrating issue that's got me stumped. Whenever I connect or disconnect a…

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,105 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,862 questions
asked 2023-09-25T10:06:55.7933333+00:00
Lasitha Lankajeewa 0 Reputation points
commented 2023-09-26T05:40:48.62+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 21,196 Reputation points Microsoft Vendor
1 answer

.NET Maui: how do you process low memory notifications from iOS

iOS sends warnings to an app when it approaches its memory limit. How do you process those warnings in a .NET Maui app? (I see that for Android, .NET Maui supports delegates OnApplicationLowMemory and OnApplicationTrimMemory, but I do not see any such…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,862 questions
asked 2023-09-06T02:48:46.1+00:00
Kurt K 96 Reputation points
edited a comment 2023-09-26T03:20:08.5433333+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 22,336 Reputation points Microsoft Vendor
0 answers

How do click events get introduced into the hierarchy in UWP (or Maui in general)? What function puts them in?

I am attempting to design my own click management system based on a WindowOverlay: https://github.com/dotnet/maui/tree/5e77c2a28a278f8e00f31d9692da2543c8086d6e/src/Core/src/WindowOverlay In Windows, this method just adds a W2DGraphicsView _graphicsView…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
2,051 questions
Windows App SDK
Windows App SDK
A set of Microsoft open-source libraries, frameworks, components, and tools to be used in apps to access Windows platform functionality on many versions of Windows. Previously known as Project Reunion.
602 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,862 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.
8,978 questions
asked 2023-09-25T08:44:27.15+00:00
M M 0 Reputation points
commented 2023-09-26T03:08:46.84+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 22,336 Reputation points Microsoft Vendor
1 answer

MAUI: The content page and pop up pages are breaking in normal running

I am facing a weird issue in my new MAUI project. When LIVE running in visual studio all of my pages are working fine. But when I open the app normally, the app is breaking on some of the pages, but no issue in LIVE running. The same pages are working…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,862 questions
asked 2023-09-25T15:29:08.9033333+00:00
Sakshi Poojary 20 Reputation points
answered 2023-09-26T03:04:12.2066667+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 21,196 Reputation points Microsoft Vendor
1 answer

Make Customize splash screen

Can anyone make like this below fully customize splash screen that also runs for android 12 and later versions also? with background images as well

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,862 questions
asked 2023-09-25T13:15:33.3666667+00:00
Haider Ali Faizi 60 Reputation points
answered 2023-09-26T01:44:48.24+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 21,196 Reputation points Microsoft Vendor