how to delete files on internal or external storage in Maui:Andorid
I have seen a couple of posts related to this and it happens on Xamarin Forms similarly 1) open a file picker 2) read file process data 3) delete file var res = await PickAndShowAsync(opt); if (res == "") //user cancelled…
Why does MainActivity base.OnCreate() fail for Android when a Custom Renderer is enabled with UseMauiCompatibility() in MauiProgram.cs?
I am migrating Xamarin code to .NET MAUI and I followed @Anonymous Wiki on Custom Renderers as described here. The custom renderer is for the Shellcontrol and whenUseMauiCompatibility()is activated in MauiProgram.cs, anInvalidCastExceptionis…
Is the Clearing of Microsoft.Maui.Storage.Preferences a bug when updating to Maui 6.0.486?
I noticed all persisted app settings implemented by Microsoft.Maui.Storage.Preferences were cleared when I updated Visual Studio to Version 17.3.0 Preview 6.0 (Maui version 6.0.486). The Preferences Clear() method was never directly used, but after the…
MAUI Android Emulator networking exception - can't resolve hostname
So I have a MAUI application that I'm trying to debug using an Android Pixel 5 emulator. It contains a call to an external URL (https://ts-restapi-dev.greatideaz.com) that it claims that it can't resolve to its IP address (20.116.90.125) I run…
Can Sync Support to Maui SecureStorage be Added, Please?
I can see a plea to @Anonymous for sync SecureStorage to be added from as far back as over 3 years ago (then under Xamarin.Essentials, now Microsoft.Maui.Storage namespace), for example as posted here. As someone commented in that plea, I also find it…
Pair to Mac fail with Error: Could not find ‘.NET Core SDK ‘ with version = 6.0.400-preview.22301.10
Windows VS 2022-17.3.0-Preview-2.0, connect to Mac OS 12.4. When connecting , VS passed SSH to initialize dotnet SDK , I received the message ' --install -dir /User/myMac/Library/Caches/Xamarin/XMA/SDKs/dotnet --version 6.0.400-preview.22301.10…
AppShell render issue in .net maui
I have an application where I have files and folders listed and I can navigate through the folders. I'm trying to moving this app to .net maui now. For now, I haven't done the listing of files and folders, but I'm trying to prepare the AppShell…
What do I need to do to migrate Xamarin-based EventToCommandBehavior command binding to work for .NET MAUI?
I have Xamarin-based reusable controls based on ContentView. One use case is for password input and encryption key input built around a flexible custom control that can be configured for user screen lock password enable/change/disable as well as data…
.NET MAUI Landscape and portraint layouts
Is it possible to have specific layouts for landscape (typically a Windows app) and portrait (Android/IOS app) pages in .Net MAUI? I have found that a page that looks good (and usable) on Android becomes totally unusable on Windows.
Runtime Error in Net Maui Graphics
I am trying to apply Maui Graphics but it's not as easy as Skiasharp and System.Drawing, because the drawing class is separate, and my skills in object programming are low. I've been trying for days to create the simplest example that displays…
.NET Maui File Locations
I've used code that is similar to the following in my UWP programs: string filename = "Northwind.db"; bool isExisting = false; try { StorageFile storage = await…
MAUI B2C Blank Page
I'm using B2C for my MAUI app and the login process works as expected until we after we log in. A blank page is displayed right after log in. The App name is also displayed as the page title so it looks to redirecting back to the app but to a blank…
.Net Maui Windows ListView
Hey Guys! I am currently working on an Windows Application in Maui (i know overkill but nevermind) and would like to change the color of the Selected Item Template (Windows has this little line next to the item). I would like to change that for…
i need to link the ispresented property of the flyoutpage with a command in a viewmodel any suggestions please as i think the property is failing
i need to link the property ispresented from flyoutpage with viewmodel; the code I have is: in the view i have: <ImageButton.GestureRecognizers> <TapGestureRecognizer Command="{Binding…
![](https://techprofile.blob.core.windows.net/images/GW94drSuBkKfT9zOz-Xwxw.png?8D83F9)
How do I get .NET MAUI service releases?
I can see that .NET MAUI has multiple service releases. Currently, Service release 3 is available (v6.0.419). When I list the workloads that I have installed on my development machine I see the following: Installed Workload Ids Manifest…
User interface .net maui
If possible could we get some videos and lessons on user interface and user expierence on net.maui. From creation of ui on say figma to implementation on c# and does .net have a similar ui site like google material.io just moving from google ecosystem…
MAUI Android App Throwing SIGSEGV errors
My app when deployed to emulator after first deployed will throw the error in build output in VisualStrudio: [libc] Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x78 in tid 5184 (WM.task-1), pid 5156 If I delete the app and…
Shell Flyout Menu not showing all the Menu Items All the time in .NET MAUI Windows
I am working with App Shell Menu Flyout to display menu items, but the menu item all are not showing all the times. Steps to Reproduce Step 1 : Created .NET MAUI application and Create page with Shell to display menu flyout below is the code. …
Setting cuookie user preferences in Android/iOS in ifame in MAUI BlazorWebView
I am building a MAUI Blazor app (using BlazorWebView) and have the need to use an iframe on a Blazor page to embed a page from a website. I have control of the site in the iframe and have set the cookie settings for SameSite set to none and Secure to…
MAUI - Navigating from One Shell to Another Shell in ClickEvent
I am trying to navigate from one shell to another different shell in the same MAUI Application. Navigating inside a click event and without using MVVM
![](https://techprofile.blob.core.windows.net/images/bsepFwFAAwAAAAAAAAAAAA.png?8DBB86)