2,925 questions with .NET MAUI tags

Sort by: Updated
0 answers

CarouselView & IndicatorView issue in .Net MAUI?

<VerticalStackLayout HeightRequest="50" BackgroundColor="AliceBlue"> <CarouselView Loop="False" IndicatorView="indicatorView" VerticalScrollBarVisibility="Never"…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,925 questions
asked 2024-05-11T10:35:56.85+00:00
Sowndarrajan Vijayaragavan 330 Reputation points
1 answer

Change height of the snackbar in dotnet MAUI Android

Hi, Does anyone know how can i change the height and the padding of the snackbar in dotnet maui Android? var snackbarOptions = new SnackbarOptions { BackgroundColor = Colors.LightGray, TextColor = Colors.Green, CornerRadius = new…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,925 questions
asked 2024-05-11T10:08:49.3533333+00:00
ALEXANDRUSTEFAN CRACEA 0 Reputation points
answered 2024-05-11T10:26:02.3666667+00:00
sleka salkas 0 Reputation points
0 answers

Touch Events in .NET MAUI

Hi I'm working on a piano keyboard app in .NET MAUI, and I'm encountering an issue with implementing a specific feature. I want users to be able to slide their finger across the keys, triggering a note for each key they pass over. However, I'm only…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,925 questions
asked 2024-05-10T01:53:53.1+00:00
Yusuf 691 Reputation points
commented 2024-05-11T10:24:38.2333333+00:00
Yusuf 691 Reputation points
0 answers

Google Play In-Apps are always refunded after 3 days in Xamarin.Android/.NET 8

I have built an app originally with Xamarin.Android that uses the NuGet/Lib, Plugin.InAppBilling. I recently migrated it to .NET 8, but I noticed that a couple of days after the users had paid, I lost the sales since they were auto-refunded. I read in…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,415 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,925 questions
asked 2024-05-09T08:43:41.3633333+00:00
Federico Navarrete 616 Reputation points
edited the question 2024-05-11T07:53:31.97+00:00
Federico Navarrete 616 Reputation points
0 answers

Android Emulator waiting for debugger to attach in .net maui app

I upgraded my .net maui app from .net 7 to .net 8 and updated my nuget packages. I built the output solution but deployment was not successful as I had received the error message:- Xaml XC002 erro: Binding could be compiled if x:datatype is specified…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,925 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,309 questions
asked 2024-05-11T02:31:41.49+00:00
wire_jp 201 Reputation points
edited the question 2024-05-11T02:35:56.7466667+00:00
wire_jp 201 Reputation points
0 answers

Shadow Offset issues in .Net Maui

Hello, I am following this official documentation:"https://learn.microsoft.com/en-us/dotnet/maui/user-interface/shadow?view=net-maui-8.0" and it is working fine. But, I am facing one issues, when I try to set y-offset value to negative…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,925 questions
asked 2024-05-07T11:34:24.3033333+00:00
Haider Ali Faizi 80 Reputation points
commented 2024-05-10T17:45:21.89+00:00
Haider Ali Faizi 80 Reputation points
1 answer

iOS build getting a crash with a report

In iOS I am getting a crash in stimulator after launching splash screen. After it crashed i can see a crash report and it mentioned as signal 6 abort trap : 6 as Termination Reason.

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,925 questions
asked 2024-05-09T10:24:55.66+00:00
Vinothkumar Swaminathan 20 Reputation points
answered 2024-05-10T17:27:48.7666667+00:00
Bruce (SqlWork.com) 56,931 Reputation points
1 answer

Unauthorized error when logging in with IdentityModel.OidcClient in MAUI

I am responsible for the development of a cross-platform application that must log in with OpenID. This application is developed in Xamarin.Forms, but I have to migrate it to MAUI. To log into the application I use the IdentityModel.OidcClient library.…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,415 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,925 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,309 questions
asked 2024-05-09T07:10:13.6466667+00:00
Jalza 736 Reputation points
commented 2024-05-10T15:02:27.53+00:00
Jalza 736 Reputation points
0 answers

MAUI Android App fails to load the API calls in RELEASE mode

I have a MAUI project that functions well on both Android and iOS platforms. The project involves consuming API calls using a DLL called TRIMModel.dll to make GET/POST requests. While the app operates smoothly in iOS for both debug and release modes, I'm…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,925 questions
.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,126 questions
Microsoft Intune Android
Microsoft Intune Android
Microsoft Intune: A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.Android: An open-source mobile platform based on the Linux kernel, developed by Google, and maintained by the Open Handset Alliance.
239 questions
asked 2024-05-10T14:55:51.3866667+00:00
Dharunkumar A 0 Reputation points
0 answers

Whenever I deploy my .NET MAUI application to my Android phone, it exits the code, producing an error "GetVersionTask" failed unexpectedly". What could be the solutions for this?

Whenever I deploy my application to my Android phone, it produces the error called ""GetVersionTask" failed unexpectedly." When I run it using Windows Machine, it runs completely normal. What could be the solution to this?

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,643 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,925 questions
asked 2024-05-10T12:55:17.3633333+00:00
John Ivan D. Bachiller 0 Reputation points
1 answer One of the answers was accepted by the question author.

Zindex dosent work

I am trying to make a custom control that resembles a Material Design textbox My app is almost there ContentView x:Class="CustomEntry.Controls.CustomEntry" xmlns="http://schemas.microsoft.com/dotnet/2021/maui" …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,925 questions
asked 2024-05-08T23:17:02.51+00:00
Eduardo Gomez Romero 225 Reputation points
accepted 2024-05-10T12:53:21.3033333+00:00
Eduardo Gomez Romero 225 Reputation points
0 answers

Entry Visible text is different in maui as compared to xamarin if text is long.

In xamarin Entry text is visible from starting like- In Maui Entry ending text is visible like- Code - Is there any way to make maui entry visible text as xamarin(from starting) or to display entry text in 2 lines(without using editor)?

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,925 questions
asked 2024-05-10T06:24:47.58+00:00
SADANA Vansh 0 Reputation points
1 answer

.NET MAUI Community Toolkit Popup page is breaking

I am using the .NET Community toolkit for the Popup page. When we try to load the popup page the entire UI is breaking on iOS platform but it is working fine on Android platform. On the popup page I am using listView. Screenshot: I am using below codes…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,925 questions
asked 2024-04-29T14:15:29.71+00:00
Sreejith Sreenivasan 691 Reputation points
commented 2024-05-10T05:02:14.2066667+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 26,751 Reputation points Microsoft Vendor
0 answers

Reopening the app from background is crashing with an exception of "Window was already created" from base.onresume().

When I try to reopen an app from background it is crashing when I am using base.onresume() in mainactivity. It gave an exception "Window was already activated". I saw some work around of adding launchmode as singletop or singletask would work…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,925 questions
asked 2024-05-08T07:28:42.4233333+00:00
Keerthana Krishna 40 Reputation points
commented 2024-05-10T04:17:21.9433333+00:00
Keerthana Krishna 40 Reputation points
1 answer One of the answers was accepted by the question author.

[MAUI]When I use the AudioTrack.Write() ,it stuck the main thread

I created an AudioTrack object named audioTrack, and use the audioTrack.Play(), Then in an Event I use the audioTrack.Write() method, and it stuck the MainThread, I have try to use the async, but it doesn't help. I also try to use Task.Run() to created…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,925 questions
asked 2023-08-30T22:46:07.1933333+00:00
studio XFE 45 Reputation points
accepted 2024-05-10T01:53:16.3933333+00:00
studio XFE 45 Reputation points
1 answer

Login with Keycloak integartion on MAUI application

Is it possible to integrate the login feature with keycloak? Currently we are using back end API for login and after that we are redirecting the user to home page. Instead we need to add a login button on the UI and when tapping on it we need to open the…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,925 questions
asked 2024-05-09T11:11:20.79+00:00
Sreejith Sreenivasan 691 Reputation points
answered 2024-05-10T01:14:47.9633333+00:00
Bruce (SqlWork.com) 56,931 Reputation points
1 answer

How to perform a pivot grid in maui?

Hi, i want to display data from observablecollection in a pivotgrid using .Net Maui 8 like in the picture below. the columns are generated programatically. i write this code in the viewmodel: Stockstcviews =…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,925 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,309 questions
asked 2024-05-03T16:24:46.6+00:00
Kaouthar GR AOUICHAOUI 40 Reputation points
commented 2024-05-10T01:13:54.4233333+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 36,231 Reputation points Microsoft Vendor
1 answer

building simple MAUI app causes an error

Type "Shell" was not found. Verify .... It is literrally the first line in AppShell.xaml. I have just created a new application and not edited any pages. The defult pages should be correct and buildable in sample app.

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,925 questions
asked 2024-05-06T22:11:05.73+00:00
Tariq Roshan 0 Reputation points
commented 2024-05-10T01:13:36.39+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 36,231 Reputation points Microsoft Vendor
1 answer

How To used stored location in database with location calculate distance method

I am working on MAUI to calculate distance between two locations. I have stored the first et of location in an sqlits database. Using Location calculate distance method, I got error Severity Code Description Project Path File Line Suppression…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,925 questions
asked 2024-05-09T13:07:16.15+00:00
Gbenga Banuso Odumosu 20 Reputation points
edited the question 2024-05-09T16:44:21.4+00:00
Rob Caplan - MSFT 5,422 Reputation points Microsoft Employee
2 answers One of the answers was accepted by the question author.

ViewModel Inheritance

Hi friends, I am trying to use inheritance in my ViewModel Class by adding the viewmodel EmployeeEditViewModel but I get a compilation error stating Class 'PayerEditViewModel' cannot have multiple base classes: 'ObservableObject' and…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,925 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,309 questions
asked 2024-05-08T15:24:59.8466667+00:00
Tom Meier 120 Reputation points
accepted 2024-05-09T14:04:00.5966667+00:00
Tom Meier 120 Reputation points