3,207 questions with .NET MAUI tags

Sort by: Updated
1 answer

How to create custom control using Element and ElementHandler instead of View and ViewHandler?

Full code here. Check Menu folder in Handlers folder. I want to create a custom control Menu which is Android.Widget.PopupMenu on Android level. But I cannot use ViewHandler because PopupMenu inherits from Java.Lang.Object instead of…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,207 questions
asked 2022-05-06T10:54:00.653+00:00
Igor Kravchenko 281 Reputation points
commented 2022-05-20T08:19:21.397+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 71,931 Reputation points Microsoft Vendor
1 answer

what is the difference between FlyoutIcon and Icon

what is the difference between FlyoutItem.FlyoutIcon and FlyoutItem.Icon

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,207 questions
asked 2022-05-18T15:01:24.557+00:00
景 胡 1 Reputation point
commented 2022-05-20T02:32:44.47+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 71,931 Reputation points Microsoft Vendor
2 answers One of the answers was accepted by the question author.

How to create ios handler?

I have created a Card control and handlers for it (CardHandler, CardHandler.Android and CardHandler.iOS). PlatformView in Android handler is Google.Android.Material.Card.MaterialCardView. In iOS handler PlatformView is UIView. But something is wrong…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,207 questions
asked 2022-05-16T19:56:19.117+00:00
Igor Kravchenko 281 Reputation points
accepted 2022-05-19T08:00:04.023+00:00
Igor Kravchenko 281 Reputation points
1 answer One of the answers was accepted by the question author.

Getting Display Info with .NET MAUI on Windows Platform

I want to get Display Info in my .NET MAUI app such as screen width, height, pixel density, etc. A similar question was answered by @Anonymous about 4 months ago here but I get no values for the display parameters (only default 0's for int and…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,207 questions
asked 2022-05-16T07:59:11.867+00:00
dg2k 1,391 Reputation points
accepted 2022-05-18T09:51:36.457+00:00
dg2k 1,391 Reputation points
1 answer One of the answers was accepted by the question author.

Why icon from material font is not visible?

Hi! I have added fonts MaterialIcons-Regular.ttf and MaterialIconsOutlined-Regular.otf to my project and trying to show icon. <Image> <Image.Source> <FontImageSource…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,207 questions
asked 2022-05-09T13:06:27.097+00:00
Igor Kravchenko 281 Reputation points
accepted 2022-05-17T15:09:13+00:00
Igor Kravchenko 281 Reputation points
2 answers One of the answers was accepted by the question author.

How to get native image (bitmap) from ImageSource?

I need to get native bitmap from ImageSource. In Xamarin Forms we have a LoadImageAsync method in IImageSourceHandler. And for example to get bitmap from FontImageSource we needed to create FontImageSourceHandler and call LoadImageAsync. How to get…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,207 questions
asked 2022-05-06T14:30:44.387+00:00
Igor Kravchenko 281 Reputation points
answered 2022-05-17T15:08:16.287+00:00
Igor Kravchenko 281 Reputation points
1 answer One of the answers was accepted by the question author.

MSIX of MAUII app does not installed on Window server 2012 R2

Hi, I publish the MAUI project using this link: https://learn.microsoft.com/en-us/dotnet/maui/windows/deployment/overview and later install it on my computer window 10 and it works. But when I tried to install it on window server 2012 R2 is…

Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,599 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,207 questions
asked 2022-05-11T08:30:06.337+00:00
Dani_S 3,316 Reputation points
accepted 2022-05-17T09:22:59.817+00:00
Dani_S 3,316 Reputation points
1 answer One of the answers was accepted by the question author.

is runtime needed to be installed on android or ios device if running MAUI application on this device?

Is the answer is not, does it mean the MAUI application also contains the dotnet components for supporting running on device? I`m worrying about the application size if each MAUI application contains the shared dotnet components. thanks! -William

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,207 questions
asked 2022-05-14T02:44:39.86+00:00
William Liu 326 Reputation points
accepted 2022-05-17T00:20:53.36+00:00
William Liu 326 Reputation points
0 answers

MAUI installation - see all files in realse mode

Hi, I publish MAUI app in release mode using Version 17.2.0 Preview 5.0 + MAUI RC2=> create MSIX I run the MSIX and go to Task Manger on processes tab and choose the running exe Later I go to details and you see all dlls and images…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,207 questions
asked 2022-05-12T11:04:25.737+00:00
Dani_S 3,316 Reputation points
commented 2022-05-16T01:04:17.483+00:00
Rob Caplan - MSFT 5,437 Reputation points Microsoft Employee
1 answer

Upgrading from Xamarin to .Net Maui - Customizing Webview

Upgrading from Xamarin to .Net Maui - Customizing Webview I need a webview that has a bridge between front-end and the webview. This was the original guide I used for such an approach -…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,326 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,207 questions
asked 2022-05-09T14:27:22.443+00:00
Dallas Fraser 1 Reputation point
commented 2022-05-12T09:27:50.53+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 38,906 Reputation points Microsoft Vendor
1 answer

MAUI - Publish with my apx file

Hi, I want to publish MAUI app using my apx file. How is done ? Thanks in advance.

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,207 questions
asked 2022-05-11T11:05:30.57+00:00
Dani_S 3,316 Reputation points
answered 2022-05-12T06:17:19.6+00:00
Dani_S 3,316 Reputation points
1 answer One of the answers was accepted by the question author.

How to get handler of virtual view and it's platform view?

In Xamarin Forms we can do this: IVisualElementRenderer renderer = Platform.GetRenderer(sharedView); var platfromView = renderer.View; What is the equivalent in maui? Thanks.

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,207 questions
asked 2022-05-05T15:39:02.947+00:00
Igor Kravchenko 281 Reputation points
accepted 2022-05-06T08:03:18.557+00:00
Igor Kravchenko 281 Reputation points
1 answer One of the answers was accepted by the question author.

Build error MT0057 for .Net Maui iOS, Mac Catalyst builds with no problem

I can build and run for Mac Catalyst fine with this command dotnet build -t:Run -f net6.0-maccatalyst MyApp.csproj but when I try to build for iOS using this command dotnet build -t:Run -f net6.0-ios -p:_DeviceName=:v2:udid=********-**************…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,207 questions
asked 2022-05-03T02:37:12.473+00:00
Chris Gonzales 21 Reputation points
commented 2022-05-05T17:55:16.047+00:00
Chris Gonzales 21 Reputation points
1 answer One of the answers was accepted by the question author.

How to register service with platform code and use it?

I need to show material alert dialog. I have created implementation and want to use it in any place of my code. I know that in MAUI we can register class: builder.Services.AddSingleton(typeof(IDialogService), typeof(DialogService)); How to use this…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,207 questions
asked 2022-05-04T19:37:19.207+00:00
Igor Kravchenko 281 Reputation points
accepted 2022-05-05T13:43:00.027+00:00
Igor Kravchenko 281 Reputation points
1 answer

Start && stop worker service at runtime from MAUI

Hi, Worker service is cross platform. We can start/stop worker service on window from MAUI app using ServiceController. How is done with Linux and Mac? which package can start/stop worker service from MAUI app. Thanks,

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,207 questions
.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,140 questions
asked 2022-05-02T03:32:46.62+00:00
Dani_S 3,316 Reputation points
answered 2022-05-03T15:24:16.733+00:00
Bruce (SqlWork.com) 61,186 Reputation points
1 answer

Folder Dialog In MAUI for macOS

Hi, Is there implementation for folder dialog for macOS. There is implementation for window : https://stackoverflow.com/questions/70999773/folder-picker-net-maui

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,207 questions
asked 2022-05-01T08:41:18.473+00:00
Dani_S 3,316 Reputation points
commented 2022-05-02T16:12:07.71+00:00
Rob Caplan - MSFT 5,437 Reputation points Microsoft Employee
1 answer

How to expand (set match_parent) my material Entry in android handler?

I have a custom Entry extended by handler to be material. public class MaterialEntry : Entry { } public interface IMaterialEntryHandler : IViewHandler { new TextInputLayout PlatformView { get; } } public…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,207 questions
asked 2022-04-27T10:11:15.457+00:00
Igor Kravchenko 281 Reputation points
answered 2022-04-29T10:16:25.207+00:00
Igor Kravchenko 281 Reputation points
0 answers

Expansion Files in .Net Maui

Hello, is it possible to upload Expansion Files for Android app in .Net Maui. My application has a lot of pictures and exceeds the 150MB app size limit Best regards

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,207 questions
asked 2022-04-27T11:27:33.237+00:00
A7md 6 Reputation points
commented 2022-04-29T10:14:05.817+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 29,206 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Animations not working in .net maui

I got the following exception when try implement animation in frame System.ArgumentException: 'Unable to find IAnimationManager for 'Microsoft.Maui.Controls.Frame'. (Parameter 'animatable')'

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,207 questions
asked 2022-04-29T03:22:48.147+00:00
tech 21 Reputation points
accepted 2022-04-29T05:36:28.467+00:00
tech 21 Reputation points
1 answer

How to Integrate Firebase remote config on .Net Maui

Hi, I'd like to integrate firebase remote config with my .Net MAUI project. Is firebase remote config support .Net MAUI?

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,207 questions
asked 2022-04-26T06:32:46.353+00:00
tech 21 Reputation points
commented 2022-04-29T03:52:38.233+00:00
Rob Caplan - MSFT 5,437 Reputation points Microsoft Employee