3,231 questions with .NET MAUI tags

Sort by: Updated
0 answers

What is the replacement of Android.Support.V7.Graphics.palette in Maui world

I am using the following lines of code to extract the theme color of the bitmap image in Xamarin, and I am not able to find how to replace this with the working code in Maui. palette = Android.Support.V7.Graphics.Palette.From(bitmap).Generate(); var…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,231 questions
asked 2024-07-26T16:18:06.6166667+00:00
khatauli 1 Reputation point
0 answers

What is the replacement of Android.Support.V7.Graphics.palette in Maui world

Hi Maui experts, I have a following piece of code in Xamain app, which I want to port over to Maui, but don't seem to find the alternative. The intent is to extract the main theme color from the bitmap image. Any ideas? palette =…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,231 questions
asked 2024-07-26T16:13:10.8666667+00:00
khatauli 1 Reputation point
0 answers

How to save files into Specific folders in Android

I am working on migrating the Xamarin Forms App to .NET MAUI 8. I wanted to save files in the Android folder as given in the below Package for backward compatibility. https://github.com/jamesmontemagno/MediaPlugin How can I achieve this in Maui .NET 8?

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,231 questions
asked 2024-07-26T13:21:47.3433333+00:00
Chinmay Dole 140 Reputation points
1 answer

Unnessary folders after pulish in windows

Hi, Which folder are no need after publish : dotnet publish -f net8.0-windows10.0.19041.0 -c Release -p:WindowsPackageType=None -p:WindowsAppSDKSelfContained=true /p:PackageCertificateThumbprint="c01ba45666762f3615cf6813aeb4dc4b1919541d"…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,231 questions
asked 2024-07-17T08:51:34.1133333+00:00
Dani_S 3,336 Reputation points
commented 2024-07-26T12:19:33.36+00:00
Dani_S 3,336 Reputation points
1 answer

Dotnet Maui iOS app occasionally crashes on TestFlight on some devices

The MAUI app works fine on Android and most iOS devices, but a few users have reported that it crashes immediately after launch. However, I couldn't reproduce the error in my local environment. It is built with the latest: Xcode: 15.4 .Net 8.0.7 MAUI…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,231 questions
asked 2024-07-24T16:32:53.43+00:00
MT 5 Reputation points
edited a comment 2024-07-26T11:54:51.1233333+00:00
MT 5 Reputation points
1 answer

net maui windows platform when maximaze or minimize the page I want to hide and show contents ?

net maui windows platform when maximaze or minimize the page I want to hide and show contents ? when my listing s detailpage opened small size how can i create events for my seconwindow page. maximize show some contents and then minimize back again…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,231 questions
asked 2024-07-23T00:58:52.5833333+00:00
Sami 901 Reputation points
commented 2024-07-26T11:36:57.62+00:00
Sami 901 Reputation points
1 answer

Cannot switch from one tabbed page to other tabbed page, NotSupportedExceptionUnable to find the default constructor on type Microsoft.Maui.Controls.Platform.FragmentContainer.Please provide the missing constructor.

Hi In my project the Main page is a tabbedpage and when we switch from the main page to another page which is also a tabbed page we are seeing System.NotSupportedException: 'Unable to find the default constructor on type…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,231 questions
asked 2024-07-19T13:57:05.1266667+00:00
dedeepya yarlagadda 40 Reputation points
commented 2024-07-26T10:44:25.1933333+00:00
dedeepya yarlagadda 40 Reputation points
0 answers

Navigation.PopAsync() is giving Java.Lang.IllegalArgumentException: 'No destination with ID 57 is on the NavController's back stack. The current destination is Destination(0x6) class=crc6452ffdc5b34af3a0f.NavigationViewFragment'

Hi, I have pushed a page into navigation stack using private async void OnAddDeviceTapped(object sender, EventArgs e) { Devices = new ObservableCollection<Test.Model.DeviceInfo>(_dbContext.GetAllDevices()); var addDevicePage = new…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,231 questions
asked 2024-07-22T10:11:21.8366667+00:00
dedeepya yarlagadda 40 Reputation points
commented 2024-07-26T09:16:40.7333333+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 39,391 Reputation points Microsoft Vendor
2 answers One of the answers was accepted by the question author.

flayout navigation - how to deal with rasing memory?

Hi, I used flayout navigation. when navigate beween pages it consume alot of memory. In net 8. Not relase the previous page. Does to use GC.Collect()? Is allowed ? Thanks, public void Navigate(string navigateTo) { if (navigateTo ==…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,231 questions
asked 2024-07-14T14:42:45.7166667+00:00
Dani_S 3,336 Reputation points
commented 2024-07-26T07:58:08.7766667+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 72,251 Reputation points Microsoft Vendor
0 answers

Getting foldable device info in Maui such has hinge rect info, and if the device is foldable or not

Hi there, In my xamarin android app, which I am moving to Maui, which relies on some foldable device info such as if the device is foldable or not, and if it is, what is the hinge width (such as surface duo). In Xamarin, I used jetPack apis, but it does…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,231 questions
asked 2024-07-26T02:14:40.1233333+00:00
khatauli 1 Reputation point
commented 2024-07-26T07:23:58.9133333+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 72,251 Reputation points Microsoft Vendor
0 answers

How long has the player tapped on the iOS/Android display screen? How can I measure the time?

In my game the player needs to tap on the iOS/Android display screen to make a gameplay action. I want to find out how long the player pressed his finger against the display screen. For example, if the player pressed his finger 1 second on the screen…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,887 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,231 questions
asked 2024-07-22T14:08:15.7066667+00:00
Kim Strasser 876 Reputation points
edited a comment 2024-07-26T07:16:19.0266667+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 29,381 Reputation points Microsoft Vendor
0 answers

Using Xamarin.Google.UserMessagingPlatform with MAUI for presenting a GDPR consent message

I am trying to present a GDPR consent message in a MAUI app using the Xamarin.Google.UserMessagingPlatform NuGet package. I'm targeting Android 34 on .NET 8. I have used both this: https://stackoverflow.com/a/71299843/7360423 and this:…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,231 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,648 questions
asked 2024-07-25T08:45:20.6933333+00:00
Costas Athan 46 Reputation points
commented 2024-07-26T06:49:15.36+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 39,391 Reputation points Microsoft Vendor
1 answer

Will Azure Face Liveness Detection be available on .NET MAUI ?

We want to use Azure Face Liveness Detection on .NET MAUI, however the only available supported methods are Kotlin/Java , IOS, and JavaScript for Web Application. Is there any upcoming SDK for .NET MAUI ,if so, when is the expected date of release. Thank…

Azure Face
Azure Face
An Azure service that provides artificial intelligence algorithms that detect, recognize, and analyze human faces in images.
158 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,231 questions
Azure AI services
Azure AI services
A group of Azure services, SDKs, and APIs designed to make apps more intelligent, engaging, and discoverable.
2,645 questions
asked 2024-07-24T15:18:32.8233333+00:00
Maroun ElKady 0 Reputation points
commented 2024-07-26T06:43:20.1866667+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 39,391 Reputation points Microsoft Vendor
2 answers One of the answers was accepted by the question author.

Relase of NET 9

Hi, When is the realse of NET 9 ? Thanks,

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,231 questions
asked 2024-07-25T11:46:14.73+00:00
Dani_S 3,336 Reputation points
accepted 2024-07-26T06:27:26.6666667+00:00
Dani_S 3,336 Reputation points
1 answer One of the answers was accepted by the question author.

Programatically restart app on Android - MAUI

Hi to all, As per title I want to programatically restart the app and I am using the below code. The problem is that it is not restarting the app, it is somehow closing it but it remains in background and it does not appear automatically I have to…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,231 questions
asked 2024-07-25T07:49:04.6866667+00:00
vanKraster 181 Reputation points
accepted 2024-07-26T05:31:35.53+00:00
vanKraster 181 Reputation points
2 answers

AppThemeBinding with StaticResource in Codebehind

Hi, How can I set the below TextColor in Codebehind? TextColor="{AppThemeBinding Light={StaticResource FontIconLight}, Dark={StaticResource FontIconDark}}" Thanks, Jassim

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,231 questions
asked 2023-01-05T22:50:44.99+00:00
Jassim Al Rahma 1,556 Reputation points
answered 2024-07-26T04:56:52.58+00:00
Justin Burcaw 0 Reputation points
1 answer

Want to use .net 6 in Visual Studio 2022 maui

I learned that .net 8 is not going to be supported in IOS so I want to start using .net 6 in Visual Studio 2022 Maui. I can't use .net 6 in visual studio because it's not supported anymore. I downloaded .net 6 manually but my .net version is stuck at…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,647 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,400 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,887 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,231 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,141 questions
asked 2024-07-22T06:57:52.2066667+00:00
Ertuğrul Gazi KÖKSALDI 0 Reputation points
edited a comment 2024-07-25T20:49:04.3133333+00:00
Bruce (SqlWork.com) 61,731 Reputation points
3 answers

how to detect edge of paper in ios?

how to do edge-detection in ios? I want to use camera to capture paper and remove the other info. just leave the paper.

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,231 questions
asked 2024-07-13T00:39:35.8+00:00
mc 4,111 Reputation points
answered 2024-07-25T18:36:18.6733333+00:00
Mansoor Khan 0 Reputation points
0 answers

Why are GestureType.Tap and afterwards GestureType.DoubleTap executed when I make a doubletap?

In my game the player needs to tap on the iOS/Android display screen to make a gameplay action. If the player taps once then I want to make a gameplay action. But when the player makes a doubletap then I want to make a different gameplay action. The…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,887 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,231 questions
asked 2024-07-25T13:06:09.25+00:00
Kim Strasser 876 Reputation points
commented 2024-07-25T14:22:15.4366667+00:00
Viorel 114.7K Reputation points
2 answers

Connection string issue

Hi, What kind of file can be inserted, regarding Connection string, into Maui App?

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,647 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,231 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,648 questions
asked 2024-07-16T06:07:51.48+00:00
Peter_1985 2,586 Reputation points
commented 2024-07-25T09:54:09.04+00:00
Peter_1985 2,586 Reputation points