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…
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 =…
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?
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"…
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 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…
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…
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…
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 ==…
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…
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…
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:…
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…
Relase of NET 9
Hi, When is the realse of NET 9 ? Thanks,
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…
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
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…
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.
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…
![](https://techprofile.blob.core.windows.net/images/JiX-lf2_BgAAAAAAAAAAAA.png?8D8532)
Connection string issue
Hi, What kind of file can be inserted, regarding Connection string, into Maui App?