Questions tagged [maui]

.NET Multi-platform App UI (MAUI) lets you build native apps using a .NET cross-platform UI toolkit that targets the mobile and desktop form factors on Android, iOS, macOS, Windows, and Tizen. .NET MAUI is the successor of Xamarin.Forms and is now part of the .NET ecosystem, rather than a separate library.

Filter by
Sorted by
Tagged with
0 votes
0 answers
3 views

ASP.NET MAUI Request.QueryString

I am building a asp.net maui app that uses a webview. I am trying to capture the Request object when the user navigates in the website. My first question is if this is even possible? I have tried ...
Scott's user avatar
  • 1
0 votes
0 answers
7 views

.NET Maui on mac using Jetbrains Rider Error

This is with the template project for .net MAUI. After selecting new solution, i create a new .net MAUI project using the Jetbrains IDE interface. The default build is pixel 5, and this used to work, ...
Eatenpancreas's user avatar
0 votes
0 answers
7 views

How to fix Error XAGJS7028 :Could not load assembly 'Xamarin.AndroidX.AppCompat.Resources in .NET MAUI?

I'm migrating my Xamarin forms code to .NET MAUI. After migration when I build my Android project I get the following error: Error XAGJS7028 System.IO.FileNotFoundException: Could not load assembly '...
Judson Abraham's user avatar
0 votes
0 answers
12 views

How to fix ShellItemRenderer and TabbedPageRenderer is not abstract error in .NET MAUI?

I'm migrating my Xamarin forms code to .NET MAUI. After migration when I build my Android project I get the following errors: JAVAC0000 error: ShellItemRenderer is not abstract and does not override ...
Judson Abraham's user avatar
1 vote
1 answer
28 views

RCL with pages to use in MAUI app and Blazor server app .Net 8.0

I want to create a Blazor server app and MAUI app both sharing same UI. I have done the following Create a RCL (Razor class library) project Create a MAUI project Create a Blazor server app project ...
udaya kumar's user avatar
-2 votes
0 answers
42 views

.NET Blazor Hybrid app has a weird System.NullReferenceException

I have a Blazor Hybrid app (.NET MAUI) for Android and I am facing a weird issue that I can't pin at all even after trying a lot. It seems I am missing something fundamental and basic. A lot of my ...
Cyril Gupta's user avatar
  • 13.5k
-1 votes
0 answers
35 views

How to write a reminder app that gives an alarm at the appointed time even when the program is closed. in .net MAUI [closed]

I want to create a reminder mobile application in .net MAUI that will run an alarm at a specified time even when the program is closed, and display a screen that has a button to disable the alarm. I ...
Mehdi Khorami's user avatar
0 votes
0 answers
20 views

graphQLHttpClient Connection failure on Android, works on Windows

I have a Maui app which works just fine when I run it with as a Windows Machine, but switching to Android I get a connection failure. Same dev machine, same back-end server. It is running on ...
BumpaRoy's user avatar
0 votes
0 answers
21 views

Unable to run MAUI project on Visual Studio Mac

I have a MAUI project that runs on a Windows Device fine on a windows machine in Visual Studio 2022. Having great difficulty getting it to communicate with my Mac though, so have pulled the code onto ...
Matthew Warr's user avatar
0 votes
1 answer
74 views

Show CarouselView and CollectionView

If I launch the application, it shows me the Carousel View but not the CollectionView. To display it correctly, I have to delete one even though I want to display both at the same time. Part of the ...
Chris Curt's user avatar
0 votes
0 answers
34 views

Maui Numeric Keyboard with flags

I want to show the softkeyboard with numeric keys and without any spell checks and without suggestions. <Entry Text="" Placeholder="123456" HorizontalTextAlignment="Center&...
Adriano's user avatar
  • 1,753
-2 votes
0 answers
29 views

Accessing Car Cam from c# (like VizenCam) [closed]

Can anyone tell me show to access a Wifi Camera using C# (or C++) (mainly for MAUI but also desktop maybe) the App that the camera recommends it VizenCam but I want to do it myself. Thanks in advance....
Ben Emanuel's user avatar
0 votes
0 answers
21 views

MAUI.NET - IOS - Why the Webview shows Blackscreen when ssl certificate is invalid?

I am new to Maui.net and would like to write an app for ios that shows a webview in which websites without a valid ssl certificate are displayed. I have already managed to do it for Androit. ...
Dominik's user avatar
0 votes
0 answers
50 views

Incremental build not working in MAUI for android target in .NET 8?

I have a MAUI application currently running in NET 7. My main workflow is to complie and deploy directly to local android device directly from visual studio. Every time I hit F5 the application ...
Johan's user avatar
  • 1
0 votes
0 answers
28 views

Facing Nullreferenceexception while using embedded web view for MSAL authentication in iOS with .NET Maui

facing " Nullreferenceexception:object reference not set to an instance of the object" at Microsoft.Identity.Client.Platforms.iOS.EmbeddedWebview.EmbeddedWebUI.<>c__DisplayClass10_0.&...
Dev's user avatar
  • 327
0 votes
0 answers
31 views

Vs fails to compile .NET MAUI project

I have tried to run my project Buy it shows an error like this. Severity Code Description Path File Line Column Suppression State Error APT2144 invalid file path 'C:\Prakash\Git\...
MR ᴩ ʜ ᴏ ᴇ ɴ ɪ x's user avatar
0 votes
0 answers
36 views

Android Application allowing BLE Secure Connection pairing authentication using Wrong Passkey

I'm working on an application requirement to create a BLE secure connection between an Android app and a Bluetooth Low Energy (BLE) enabled device. In the process of accessing the Pairing/Bonding API, ...
CoDe's user avatar
  • 11.1k
0 votes
1 answer
29 views

How to use TabLayoutResource and ToolbarResource in .net MAUI?

I'm migrating my Xamarin forms code to .NET MAUI. I need the replacement of the Following code in .NET MAUI: TabLayoutResource = Resource.Layout.Tabbar; ToolbarResource = Resource.Layout....
Judson Abraham's user avatar
0 votes
1 answer
32 views

Android emulator location map is not loading

The location emulator used to work perfectly without any problem all of a sudden the map is no longer loading as seen in the screenshot attached bellow i tried resetting emulator install sdk updates ...
HuSaad's user avatar
  • 78
0 votes
1 answer
49 views

Customize the Windows 10 title bar using .NET MAUI

I have found this excellent resource for how to modify the title bar in Windows 10 and 11 with WinUI: How to change window Title bar Color in WinUI 3 Unfortunately, when using MAUI I can't apply the ...
stack-delay's user avatar
0 votes
1 answer
57 views

MAUI: Pop up page is not loading on Button click (Android Platform)

I am using RGPopup.Maui-Version=1.0.2 NuGet Package to show the pop up pages on the UI and now I am facing a weird issue on a project. When I tap on a button I need to load a pop up page but it is not ...
Matthew Pans's user avatar
0 votes
0 answers
18 views

MAUI Failed Package installation [ workload restore ]

Downloading Microsoft.NET.Runtime.WebAssembly.Sdk.Msi.x64 (7.0.14) Workload installation failed. Rolling back installed packs... Workload installation failed: One or more errors occurred. (Failed to ...
Ibrahim El Aidi's user avatar
-1 votes
0 answers
41 views

I have installed .NET MAUI in my vs code using extensions , created a project but I am unable to build the project

This is the issue I am facing: C:\Program Files\dotnet\sdk\8.0.100\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.ImportWorkloads.targets(38,5): error NETSDK1147: To build this project, the ...
akula nithin's user avatar
1 vote
0 answers
29 views

Maui Error - Screen Recording - Error on StopRecording();

I'm working on attempting to add Android implementation to https://github.com/jfversluis/Plugin.Maui.ScreenRecording I think I checked all bases, but I'm getting this exception on MediaRecorder.Stop();...
berr08's user avatar
  • 126
0 votes
1 answer
60 views

What is clipping the Label text?

What is clipping the top left of my label in this image? Here is the code I am using. <!--Column 1--> <Border Grid.Column="0" WidthRequest="40" StrokeShape=&...
BumpaRoy's user avatar
0 votes
0 answers
51 views

Conditional Rendering in .NET MAUI

I am using .NET MAUI to build a mobile app and I am facing some issues. Essentially what I want to achieve is to get a different view each time a user logs in, depending on a variable in some object ...
Eric NS's user avatar
0 votes
1 answer
26 views

Maui Using Binding in a custom Control inside a CollectionView

I've created a Custom Switch control in a ContentView , I'm trying to Bind the toggled State of this Custom switch , so that it changes according to the binded Value, but I'm getting an error when ...
Gustavo José's user avatar
-2 votes
0 answers
54 views

Geolocation tracking for IOS apps using .net Maui [closed]

I'm working on an in-house iOS app designed to help users accurately track their routes during trips. Currently, I've implemented a method to track users when the app is open in the background. ...
Armand Keulder's user avatar
0 votes
1 answer
53 views

Callback starts a second instance of my app?

I try to use the sumup-android-api. It works fine until the callback is triggered. It somehow starts a second instance of my app inside the sumup app, doesn't it? First instance: Second instance ...
complete_stranger's user avatar
-1 votes
0 answers
33 views

Mapbox with .net MAUI application

How can i use mapbox with .net MAUI application? I have downloaded some jar files related to mapbox and tried to create .net dll from that using Android Java binding library. Unfortunately its not ...
tech_guy's user avatar
1 vote
0 answers
44 views

Create Maui Workload Offline Installer

Im trying to make maui workload offline installer for my publish server. What ive done so far is to make offline cache of installed package in my pre production server like this : First ive run this : ...
graph User's user avatar
0 votes
2 answers
83 views

How do I select and perform actions upon selected text in a .NET MAUI Editor?

I'm building a word processor with the .NET MAUI framework. I would like to be able to a) detect when a user has selected text, and what that selected text is, within the Editor control, and b) ...
coyotesword's user avatar
-2 votes
0 answers
41 views

Sending push-notifications with custom icons / images in iOS using .NET MAUI

I want to send custom push-notifications in a .NET MAUI app. Example of Custom Notifications is when you receive a notification on WhatsApp or iMessage, it has a custom app icon / image of the sender'...
Ishan Sharma's user avatar
0 votes
1 answer
73 views

.NET MAUI modify Android Toolbar

This is my first MAUI app attempt and I haven't built any apps with Xamarin. At the time of posting this my project is still using .NET 7 and I am focusing on developing Windows and Android platforms. ...
GJM's user avatar
  • 3
0 votes
1 answer
58 views

Adding a button with a fixed position, over a CollectionView, in .NET MAUI

Adding elements to a CollectionView causes the page/view to expand, which in turn pushes the button to the bottom. How can I have it 'hover' in a fixed position on the page? I've tried this (updated): ...
eengstroem's user avatar
0 votes
0 answers
10 views

USB camera on .net maui camera.maui

does anyone have any idea how could i connect to usb camera on android using .net maui framework. I did tried camera.maui and i can not see it in the id list... I only get the front and a back camera. ...
vrho94's user avatar
  • 9
0 votes
0 answers
18 views

How can we call C# method when javascript table cell onclick in MAUI webview [duplicate]

Hi I am trying to call MAUI C# method to read inner html string of Table td click event. in Td onclick event i want to call MAUI C# method. Is it possible, Can you please help me how to do that?
Srinivas Ch's user avatar
  • 1,212
1 vote
1 answer
58 views

AbsoluteLayout controls on a modal page only position horizontally in .NET MAUI

Is there any way to position an AbsoluteLayout control on the center of the screen, or at least on the center of the page as an overlay, on a modal page? Is this possible in any way or why does this ...
DPC's user avatar
  • 657
0 votes
1 answer
30 views

MAUI - alter programmatically child objects

I wanna alter via code behind some properties (taking data from a DB)... As a test, I've tryid this solution View v = this.Content; List<IVisualTreeElement> elements = (List<...
Denis De Pauli 's user avatar
0 votes
0 answers
44 views

.NET MAUI 7 Barcode Scanner Issue with ZXing.Net.Maui on a TabbedPage

I am experiencing an issue with the barcode scanner on ZXing.Net.Maui in a TabbedPage. On the TabbedPage, I am trying to open a page with barcode recognition. Here is the XAML code: <?xml version=&...
viroff's user avatar
  • 1
0 votes
1 answer
56 views

I don't want my elements to be reassigned when the element set as IsVisible="false" has been changed to IsVisible="false"

I'm creating a mobile app using .net MAUI I'm hiding one element and making it visible in button action. That time other elements got rearrange. <VerticalStackLayout VerticalOptions="...
Subin A's user avatar
0 votes
1 answer
65 views

How can I pass a navigation parameter value to 2 tabs in Maui?

New to Maui. Here is my AppShell code: <ShellItem x:Name="entryForm"> <ShellContent ContentTemplate="{DataTemplate local:EntryForm}" Route="EntryForm" /> &...
Costas's user avatar
  • 481
2 votes
0 answers
63 views

Getting errors when I update to .NET 8.0

After I updated to .NET 8.0, I encountered an error when creating a new project or reopening an old one. I will list the errors after when using the Visual Studio template. Template: ASP.NET web ...
Khayal Ads's user avatar
3 votes
1 answer
125 views

MAUI .NET 8 Images doesn't fit in button anymore

I'm creating a multiplatform MAUI application for Windows and Mac platforms. I've updated project to .NET 8 recently and I'm having some issues with buttons now. There is no property for controlling ...
Erdogan's user avatar
  • 298
1 vote
0 answers
22 views

Plugin.LocalNotification not working in release mode on Android

I've added Plugin.LocalNotification to my .NET 7 MAUI project. It work perfectly on iOS (tested in iOS 17), but on Android it only works on API <=33 in debug mode. On API 34 in debug and <=33 in ...
crymuch's user avatar
  • 11
-1 votes
0 answers
76 views

Entity Framework - File Not Found Exception during Startup

I have a .NET MAUI App and recently, I was migrating it to EF Core During Startup of my App (running on Android Emulator), I get a FileNotFoundException at items.And() in the following Code-Snippet: .....
OXO's user avatar
  • 596
0 votes
1 answer
35 views

Assigning Static Resources to a Custom control

In .NET MAUI, I have a custom control (Label), which could not be derived from Label itself as this did not work with the Bindings. I then went for a ContentView which creates the Label in its ...
OXO's user avatar
  • 596
0 votes
2 answers
47 views

MAUI XAML - Can't reference property value of custom control nested inside another custom control from outside

I would like to set the Text property from MyCustomContentPage in XAML: File 1: <Grid x:Name="MyCustomControl" x:Class="MyCustomControl"> <Label Text={Binding Text} /&...
Sebastian Reyes's user avatar
0 votes
1 answer
45 views

How can I change the background color of the title bar in an android emulator in VS 2022

I'm writting a .NET MAUI solution that is suppose to run on android, and currently has two pages. When I start it up the program runs fine and looks like this: I also added a Flyout menu which I ...
BobG's user avatar
  • 1
1 vote
0 answers
69 views
+100

How to set up XAML bindings properly in a MAUI app

I wrote a simple dictionary app with a single XAML page, then I decided to put the entries and translations into separate views with their own ViewmModels and the fun began. Basically I managed to ...
Movsar Bekaev's user avatar

1
2 3 4 5
109