Questions tagged [maui-android]
40 questions
0
votes
1 answer
Change the app icon for android and iOs in MAUI
I am trying to change the app icon in a MAUI project but I am unable to do it.
I have added two images to the AppIcon folder ( I tried png and svg but none of them work)
And changed the csproj file to the new icons

Coolco
- 3
- 1
- 3
0
votes
0 answers
Picker automatically opens when ContentView is displayed by TabView
I'm developing an Android-only app using MAUI.NET. I'm using the DevExpress library, in particular the TabView control. I've split my editing forms into ContentView objects to be displayed by the tabs.
Item.xaml:

Michael Itzoe
- 1,949
- 4
- 29
- 49
0
votes
1 answer
.NET MAUI Crashes on PROD
I'm currently developing a .NET MAUI app, everything works fine on DEBUG mode but when publishing the app I'm getting:
System.InvalidCastException
Arg_InvalidCastException
exception on launch making iOS and Android apps unusable.
According to stack…

Asfiroth
- 62
- 1
- 1
- 6
0
votes
1 answer
.NET MAUI cuts off Border after 300 units
I'm currently developing a MAUI app, and I use the a lot, but when tried to use it inside a Grid that's 335 units of width it gets cut, here's my code:

Asfiroth
- 62
- 1
- 1
- 6
0
votes
1 answer
Permissions Bluetooth Android Maui
Is there a possibility to allow Bluetooth for Android when starting the app in Maui. Not with a button. Thank you .
I made an app with a button to authorize Bluetooth .
0
votes
1 answer
Getting the list of running processes in Android OS using Net Maui
I'm trying the access the list of Processes that are running on Android OS ( I'm talking about API 27 ), using NET MAUI (NET 6) but now the list returns null. I don't know how am I supposed to access this.
I tried on Xamarin using the below method…

aquari93
- 3
- 1
0
votes
2 answers
Error trying to update migration .NET Maui with EFcore
In my .Net MAUI project I'm trying to change update my migration. I added a property to my model and did;
Add-Migration AddBlogCreatedTimestamp in the packet manager console
Update-Database in the packet manager console
It tells me 'build…

Woetroe
- 55
- 5
0
votes
2 answers
Maui Filter Content based on button, update UI
I'm trying to filter the content based on some buttons like this
I have the XAML setup as this

Safin Ahmed
- 560
- 4
- 12
0
votes
0 answers
Save Excel file on Android device using .NET MAUI Blazor
Note: I am not an app developer and if what I am about to say doesn't make sense, please guide me.
I have developed a cross-platform (Windows and Android) app using .NET MAUI Blazor. Previously, I used TableToExcel.js library to save files in a…

Zubair Khakwani
- 328
- 5
- 18
-1
votes
1 answer
Do Xamarin.Forms and MAUI loose state on Android screen rotation?
In Android when one rotates the screen, components like a Checkbox loose their state (except you consider this in your architecture by keeping the state in the ViewModel etc.). How is that in Xamarin.Forms and MAUI, where is the state kept? Do they…

stefan.at.kotlin
- 15,347
- 38
- 147
- 270