3,231 questions with .NET MAUI tags

Sort by: Updated
2 answers

Connection string issue

Hi, What kind of file can be inserted, regarding Connection string, into Maui App?

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,648 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,231 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,648 questions
asked 2024-07-16T06:07:51.48+00:00
Peter_1985 2,586 Reputation points
commented 2024-07-25T09:54:09.04+00:00
Peter_1985 2,586 Reputation points
0 answers

ERROR: An error occurred when writing to the output stream.

My iOS game gets always terminated when I try to debug it on my iPad OS version 17.5.1. I use Visual Studio Community 2022 (64-bit) Version 17.10.4 on my Windows 11 laptop. My iPad is connected to my iMac and I paired my iMac with VS. When I click on the…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,231 questions
asked 2024-07-16T11:36:33.8033333+00:00
Kim Strasser 876 Reputation points
edited a comment 2024-07-25T07:41:50.45+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 29,381 Reputation points Microsoft Vendor
1 answer

An ImageButton with rounded corners does not display well

I am developing an application in .NET MAUI using Visual Studio 2022. Generally it works fine, but at some point something got corrupted and a particular button on a screen is not displayed correctly. The XAML code would be as follows: <StackLayout…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,231 questions
asked 2024-07-18T10:58:16.9666667+00:00
Jalza 761 Reputation points
commented 2024-07-25T06:07:15.98+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 72,251 Reputation points Microsoft Vendor
1 answer

How can I use the Android Exoplayer to play videos?

Currently I use the Xamarin MediaManager to play videos: https://github.com/Baseflow/XamarinMediaManager Is it possible to use the Android Exoplayer instead to play videos? I want to find out if the black screen that appears before a video is played will…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,231 questions
asked 2024-07-17T12:28:29.27+00:00
Kim Strasser 876 Reputation points
commented 2024-07-25T06:02:28.9+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 72,251 Reputation points Microsoft Vendor
3 answers

Which nuget package to use for Android billing Library

I got this email from Google: From Aug 31, 2024, all apps must use version 6.0.1 or later. I am migrating my Xamarin app to Maui. Which nuget package should I use to qualify the above requirement while using Maui. Is this the correct one:…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,231 questions
asked 2024-07-24T04:50:16.03+00:00
khatauli 1 Reputation point
edited an answer 2024-07-25T05:57:07.2066667+00:00
UIF Login 0 Reputation points
1 answer One of the answers was accepted by the question author.

How to switch audio output between bluetooth and speaker? (Both Android and IOS)

Is there a way to choose or switch audio output between bluetooth and speaker before playing and audio file ? (Both IOS and Android) Thx.

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,888 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,231 questions
asked 2024-07-23T16:31:34.9333333+00:00
Luiz Arruda 20 Reputation points
commented 2024-07-25T03:19:06.5166667+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 39,391 Reputation points Microsoft Vendor
1 answer

Microsoft.Maui version 8.0.70 NuGet packages automatically switch back to 8.0.61

I have updated the NuGet packages Microsoft.Maui.Controls, Microsoft.Maui.Controls.Compatibility and Microsoft.Maui.Essentials from version 8.0.61 to 8.0.70. Then I got the following error when I tried to build my iOS project: Error MSB4019 The imported…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,888 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,231 questions
asked 2024-07-23T20:52:20.9+00:00
Kim Strasser 876 Reputation points
answered 2024-07-24T18:04:50.28+00:00
Bruce (SqlWork.com) 61,731 Reputation points
1 answer One of the answers was accepted by the question author.

How to add continuous speech/talk - .NET MAUI Speech

I have the below .Net MAUI code that works great. I want to add continuous speech, I mean when I speak, the recorder must not stop until I press stop button. In the below code, when I stop speaking, or I pause for like 2-3 sec, it stops itself, so I…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,648 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,231 questions
asked 2024-07-19T12:58:44.29+00:00
Johnson 81 Reputation points
commented 2024-07-24T16:07:19.32+00:00
Johnson 81 Reputation points
1 answer

Maui Hybrid Power Bi embeded report ios issue

What is a proper way to configure power bi reports on ios for Maui blazor hybrid app. My current solution works in web, win, android but not in IOS, on IOS it opens power bi report iframe in safary(instead of rendering in app web view) and does not show…

Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,500 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,231 questions
asked 2023-08-29T11:41:43.5266667+00:00
Sergey 5 Reputation points
commented 2024-07-24T13:44:03.13+00:00
Brendan Daunt 0 Reputation points
1 answer One of the answers was accepted by the question author.

Build Configurations to change MAUI Settings like ApplicationId

We have a MAUI app that I build for iOS and Android. We use this same code base for 5 different apps that talk to different bluetooth hardware we sell. Each time I switch mobile apps I go into the project properties / App Info and change the Application…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,648 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,231 questions
asked 2024-07-23T15:33:44.9333333+00:00
Tony Pitman 80 Reputation points
accepted 2024-07-24T13:29:23.39+00:00
Tony Pitman 80 Reputation points
1 answer

MAUI MediaElement: How to Include Access Token in Subsequent Video Requests?

I'm using MAUI's MediaElement to stream a video from a server. The video is being served as a static resource, and it's protected, so I need to send an access token when requesting the video. I have the initial URL to fetch the .m3u8 file as…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,648 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,231 questions
asked 2024-07-18T01:59:48.6966667+00:00
Manjunath Vadigeri 0 Reputation points
commented 2024-07-24T09:19:34.2933333+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 39,391 Reputation points Microsoft Vendor
1 answer

How to convert memory stream to FileResult

I had asked to compress the image file in the following link:…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,231 questions
asked 2024-07-22T11:35:58.1533333+00:00
Chinmay Dole 140 Reputation points
commented 2024-07-24T09:16:51.31+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 39,391 Reputation points Microsoft Vendor
1 answer

MAUI .NET 8 iOS - Span TapGestureRecognizer not working

I have created a new MAUI .NET 8 project and migrated the Xamarin forms project code. In iOS, the span text TapGestureRecognizer is not working. gesture_Tapped event is not triggered. var sp2 = new Span { Text = "Click here"…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,231 questions
asked 2024-07-19T05:10:43.3166667+00:00
Aneetha 45 Reputation points
commented 2024-07-24T06:55:08.55+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 29,381 Reputation points Microsoft Vendor
0 answers

How to fix the code sign key not found issue in Azure pipeline in MAUI .net 8.0-iOS?

I have enterted the code provision profile and code sign key in my cs proj like below <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|iPhone'…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,648 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,231 questions
asked 2024-07-23T12:40:55.7433333+00:00
Kumar.S, Ajith (Cognizant) 1 Reputation point
commented 2024-07-24T06:30:37.67+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 29,381 Reputation points Microsoft Vendor
0 answers

Remote connection to Mac installs CorePackage.pkg and MobileDevices.pkg every time.

Every time I launch Visual Studio (17.10.4) and try to connect to my Mac machine remotely to deploy and debug iOS applications using MAUI, it re-installs CorePackages.pkg and MobileDevices.pkg files, which take around 8-9 minutes to finish. It's pretty…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,231 questions
asked 2024-07-18T09:17:36.1966667+00:00
Burak Kose 0 Reputation points
commented 2024-07-24T05:36:59.06+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 29,381 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

net maui windows platform carouselview acting like collectionview how to fix it ?

<CarouselView ItemsSource="{Binding Images}" > <CarouselView.ItemsLayout> <LinearItemsLayout Orientation="Horizontal" …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,231 questions
asked 2024-07-22T20:54:58.3766667+00:00
Sami 901 Reputation points
accepted 2024-07-23T20:27:49.2633333+00:00
Sami 901 Reputation points
1 answer One of the answers was accepted by the question author.

How can I play a local video in my Android project?

I have created a new folder named Assets in my Android project. Then I have added the file Testvideo1.mp4 to this folder and set the build action to AndroidAsset. But the video is not playing when I use this code. How can I play a local video in my…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,231 questions
asked 2024-07-22T10:21:03.7933333+00:00
Kim Strasser 876 Reputation points
accepted 2024-07-23T10:44:25.74+00:00
Kim Strasser 876 Reputation points
1 answer

Only one app running in MAC?

Hi, Does this code work on MAC, only one app running ? Thanks, public partial class App : Application { private static Mutex mutex = new Mutex(true, Assembly.GetEntryAssembly().GetName().Name); public App() { if…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,231 questions
asked 2024-06-26T12:02:14.2933333+00:00
Dani_S 3,336 Reputation points
commented 2024-07-23T10:33:06.4+00:00
Dani_S 3,336 Reputation points
1 answer

Trouble accessing custom field properties in ObservableCollection

I created an ObservableCollection in my ViewModel and defined a CustomField class that implements INotifyPropertyChanged. However, when I try to access the properties of the CustomField model in the view, I get an error saying that the members cannot be…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,888 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,231 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,648 questions
asked 2024-07-17T18:43:00.8866667+00:00
Mirai Dinelli 0 Reputation points
commented 2024-07-23T08:59:17.2366667+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 72,251 Reputation points Microsoft Vendor
1 answer

MAUI .NET 8 - Xamarin Migrated project

I have created a new MAUI .NET 8 project and migrated the Xamarin forms project code. In my project, I used RelativeLayout for UI design on all the pages, now this RelativeLayout is outdated in MAUI. I used the Compatability namespace to use…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,231 questions
asked 2024-07-19T05:31:32.3766667+00:00
Aneetha 45 Reputation points
commented 2024-07-23T08:37:18.45+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 72,251 Reputation points Microsoft Vendor