3,177 questions with .NET MAUI tags

Sort by: Updated
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,177 questions
asked 2022-05-11T11:05:30.57+00:00
Dani_S 3,276 Reputation points
answered 2022-05-12T06:17:19.6+00:00
Dani_S 3,276 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,177 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,177 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,177 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,177 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,137 questions
asked 2022-05-02T03:32:46.62+00:00
Dani_S 3,276 Reputation points
answered 2022-05-03T15:24:16.733+00:00
Bruce (SqlWork.com) 60,866 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,177 questions
asked 2022-05-01T08:41:18.473+00:00
Dani_S 3,276 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,177 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,177 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.) 28,876 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,177 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,177 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
1 answer One of the answers was accepted by the question author.

.net maui cross platform

I'm looking to make an app in .net maui with VS 2022. The company needs it to be android and IOS. I got the Android simulator to work in VS 2022, is there a way to get the IOS to simulate on a PC or will I need a mac of some form for that? Without a mac…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,177 questions
asked 2022-04-28T01:29:16.573+00:00
mark lefler 41 Reputation points
accepted 2022-04-28T12:26:57.367+00:00
mark lefler 41 Reputation points
1 answer One of the answers was accepted by the question author.

How to set hint (placeholder) color for material entry in android handler?

I want to set placeholder color for my material entry. public static void MapPlaceholderColor(IMaterialEntryHandler handler, IMaterialEntry entry) { if (entry.PlaceholderColor == null) return; handler.PlatformView.DefaultHintTextColor = ??? …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,177 questions
asked 2022-04-27T15:56:28.307+00:00
Igor Kravchenko 281 Reputation points
commented 2022-04-28T09:32:13.027+00:00
Igor Kravchenko 281 Reputation points
1 answer

"Only releases with status draft may be created on draft app"

I have been successfully publishing my Maui app to the Google Play Store. However, something changed recently (I’m assuming it was moving to RC1) and now when I try to publish I get the message “Only releases with status draft may be created on draft…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,177 questions
asked 2022-04-22T14:58:08.667+00:00
Bradley Plett 36 Reputation points
answered 2022-04-28T04:29:23.98+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 28,876 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

How to create my own control?

I want to create my own control using platform control. For example, I have a MaterialEntry inherited from Entry. public class MaterialEntry : Entry { } But on handler level I want to handle to…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,177 questions
asked 2022-04-26T14:18:37.567+00:00
Igor Kravchenko 281 Reputation points
commented 2022-04-27T10:26:29.537+00:00
Igor Kravchenko 281 Reputation points
1 answer

Is it possible to customize the keyboard in .net maui for android application?

Hello , I know there are many ways to customize keyboard in xamarian forms, but is it possible to do it in the latest .net Maui, Can you share some sample code for it. Thanks in advance .

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,177 questions
asked 2022-04-21T00:47:54.027+00:00
Roshan Bashyam 1 Reputation point
commented 2022-04-27T09:20:06.203+00:00
Senthil K 1 Reputation point
0 answers

DOTNET Maui playing audio

I've been trying to find how to play audio files to the user in Maui, I've tried several solutions and none have worked for me. Currently I'm developing for windows.

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,177 questions
asked 2022-04-23T15:29:18.443+00:00
MrScopes 1 Reputation point
commented 2022-04-25T02:26:26.04+00:00
James Montemagno 1 Reputation point
1 answer One of the answers was accepted by the question author.

Microsoft.maui.Essentials

I'm uisng VS 2022 17.2.0 preview 3.0 with the standard MAUI template. If I add "using Microsoft.Maui.Essentials;" I get the error: Error CS0234 The type or namespace name 'Essentials' does not exist in the namespace 'Microsoft.Maui' (are…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,177 questions
asked 2022-04-20T12:32:10.707+00:00
phil ciraolo 86 Reputation points
commented 2022-04-25T02:25:27.693+00:00
James Montemagno 1 Reputation point