Can't deploy Visual Studio Net 9.0 project with Android
While deploying a Visual Studio Net 9.0 project, it occasionally gives a warning: This project is not suitable for Android, check for errors. After deploying the project with Windows, it can be deployed on Android. This situation is repeated from time to…
How to Implement Notification Badge on TabbedPage in .NET MAUI 8?
Hello, I have implemented a TabbedPage in my .NET MAUI application using AppTabbedPage.xaml. It contains 5 pages for tab navigation. One of the tabs is dedicated to notifications, and I need to display a notification badge on this tab. The badge should…
CollectionView API image
For some reason my colletionView doesn't want to show the images <CollectionView Grid.Row="2" Margin="20" HorizontalOptions="CenterAndExpand" ItemsSource="{x:Binding…
MAUI Blazor hybrid - Windows MSIX packaging - Unable to set start menu folder
I am new to MSIX packaging so if this is a naïve question I apologise. I have tried to set the start menu folder of the application shortcut for my latest MAUI-Blazor hybrid app as part of the MSIX package. I have followed the guidance in Group…
34.0 is not a valid TargetPlatformVersion for Android. Valid versions include: 35.0
I changed the Target framework in my Android project properties from .NET 8.0 to .NET 9.0. But then I get this error: 34.0 is not a valid TargetPlatformVersion for Android. Valid versions include: 35.0 Is it necessary to change the Target OS version…
I get the error 'Platform' does not contain a definition for 'Init' in Microsoft.Maui.ApplicationModel.Platform.Init(this, bundle);
I get the following error after updating my NuGet packages: 'Platform' does not contain a definition for 'Init' Activity1.cs: using Android; using Android.App; using Android.Content.PM; using Android.OS; using Android.Views; using Android.Util; using…
Problem with the new Edge-to-Edge requirement in Android 15 when using net9.0-android35
Before modifying my app to support edge-to-edge, I thought I’d first try with one of my sample apps on my GitHub page. The existing sample app didn’t have a fragment with a RecyclerView, so I added a new fragment containing a RecyclerView to test the…
How to change tabbar style (font and size and ...)
i want change the style of tabbar menu item font and size and color how to do it ? AppShell <TabBar > <Tab Title="پروفایل" > <Tab.Icon> <FontImageSource FontFamily="MDReg"…
Slow startup time and collection
I do not know what Microsoft did in .net 9, I am experiencing a weird error, where even if I put a startup time of 2 seconds, and it takes 13 seconds this is my startup page public partial class StartupPageViewModel : ObservableObject { …
combining shell with navigation with window navigation
As you already know, .net 9 is out and with that we have a tithe bar for windows I have my appshell, that enable me to go page to page <!-- Flyout for Desktop --> <FlyoutItem Title="{x:Static rex:AppResource.HomePage}" …
first page to be a windows
Hello In my app I have am MainPage and a MainWindow What I want to do is that if I'm on desktop, the first page to be MainWindow, if not to be the mainPage public partial class App : Application { public App() { …
Double tapping Editor control locks app when deployed to iOS
Double tapping the Editor locks the app when deployed to iOS. This occurs for both net 8 and 9. Entry control works well and does not lock up the app. I added Editor and Entry controls to the demo Maui app as below. Am I missing a setting? Any known…
The program '[20628] MauiBlazorWeb.Maui.exe' has exited with code 2147958009 (0x80073cf9).
My code was successfully launching desktop app, android app, but yesterday onwards[i doubt after windows update] this is not working... and its giving me this error The program '[20628] MauiBlazorWeb.Maui.exe' has exited with code 2147958009…
.NET MAUI app crashing on startup, apparently with an error in DirectUI::PointerAnimationUsingKeyFrames
I am an app developer, working with .NET MAUI. I have a .NET MAUI app published in the store, at **ms-windows-store://pdp/?productid=9WZDNCRFJ43B **which, for some users, is consistently crashing during startup, apparently in a call to…
Tabbed Page - Tab Text truncate issue for MAUI 8.
Hi, I have converted project from Xamarin Forms to MAUI 8. There is a new feature request to Add Tab bar navigation on the app. There are 5 tabs at the bottom of app. I have implemented AppTabbedPage.xaml and added 5 pages. for Tab navigation. One of the…
How to use a svg file as icon in a .net maui class library?
I'm moving some code to a sub project, for better modularity. As I don't want to reference the main app, I want to import the resource to this sub project. Here is the code I need help with: var notificationBuilder = new NotificationCompat.Builder(this,…
how to compress image to width and height?
I have many images. and I want to compress it. If the image is (300,500) I want to compress it to (30,50) to (90,150) to (12,60) how to compress it?
how to pre-load page ?
there is lots of controls and it is slow to open this page. can I pre load it so I can open it very fast? .net version is 8.0. I do not load data but there is controls. there is 300 lines in MyPage.xaml. and about 35 gestureRecognizer in border and Label…
how to custom action sheet?
I can show action sheet using : await Shell.Current.DisplayActionSheet("choose...","cancel",null,["OPT1"]); but how to custom it ?
Argument 1: cannot convert from 'string' to 'string[]'
I get the following error after updating my Plugin.InAppBilling NuGet package from version 7.1.3 to 8.0.5. var resultfin = await billing.FinalizePurchaseAsync(purchase.TransactionIdentifier); Argument 1: cannot convert from 'string' to 'string[]' How…