2,810 questions with .NET MAUI tags

Sort by: Updated
0 answers

Selected tab icon not visible in tabbed page

Issues- Selected tab(Resources) icon shows blank, icon should be visible( ref screenshots) Previously selected tab(Details) icon color changes to black its should be white (ref screenshots) Currently using below code for custom handler public class…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,810 questions
asked 2024-04-01T08:33:04.75+00:00
Thombre, Ashish 105 Reputation points
commented 2024-04-08T11:21:54.8233333+00:00
Thombre, Ashish 105 Reputation points
1 answer One of the answers was accepted by the question author.

how to bind this jar file?

how to bind this jar file in maui android? AclasOS2Sdk.log please download this .log file and change the ext to .jar @Leon Lu

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,810 questions
asked 2024-03-30T06:58:30.1633333+00:00
mc 3,601 Reputation points
accepted 2024-04-08T09:30:57.1+00:00
mc 3,601 Reputation points
1 answer One of the answers was accepted by the question author.

search bar in Navbar

On Andriod I have this So I was wondering if there is a way to put the search bar on top, so it would look like this. This is the page that has the search <Grid ColumnDefinitions="*,*,*" …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,810 questions
asked 2024-04-06T02:49:50.63+00:00
Eduardo Gomez Romero 185 Reputation points
accepted 2024-04-08T07:54:13.33+00:00
Eduardo Gomez Romero 185 Reputation points
1 answer One of the answers was accepted by the question author.

two colors in search bar

My collection View has a search. <Grid Margin="10" ColumnDefinitions="*,*,*" RowDefinitions="Auto,*"> <Border Grid.Column="1"> <Border.StrokeShape> …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,810 questions
asked 2024-04-04T09:06:37.3466667+00:00
Eduardo Gomez Romero 185 Reputation points
accepted 2024-04-08T07:53:24.7533333+00:00
Eduardo Gomez Romero 185 Reputation points
1 answer One of the answers was accepted by the question author.

flyout page titles

Is there a way, to get rid or hide the page title in flyouts <Shell x:Class="DemyAI.AppShell" xmlns="http://schemas.microsoft.com/dotnet/2021/maui" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,810 questions
asked 2024-04-06T02:28:10.2533333+00:00
Eduardo Gomez Romero 185 Reputation points
accepted 2024-04-08T07:52:08.44+00:00
Eduardo Gomez Romero 185 Reputation points
1 answer

flyout doesn't adapt to mobile

This is the code for my shell <Shell x:Class="DemyAI.AppShell" xmlns="http://schemas.microsoft.com/dotnet/2021/maui" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,810 questions
asked 2024-04-06T02:13:24.48+00:00
Eduardo Gomez Romero 185 Reputation points
commented 2024-04-08T07:08:18.04+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 67,446 Reputation points Microsoft Vendor
1 answer

Gradient Tabbar Color in .Net Maui

As you can see that is tabbar I am able to create it in .net maui. But, one thing that this tabbar background color is gradient. There is an option for changing color of tabbar but not gradient color. How can I change it? Also, I found one solution that…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,810 questions
asked 2024-04-05T19:14:31.4766667+00:00
Haider Ali Faizi 60 Reputation points
answered 2024-04-08T07:03:11.4666667+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 67,446 Reputation points Microsoft Vendor
0 answers

.net maui mac catalyst app how to specify INSTALL_PATH when app is packed

I use this command to build .net maui mac catalyst .pkg dotnet publish -f net8.0-maccatalyst -c Release -p:MtouchLink=SdkOnly -p:CreatePackage=true -p:EnableCodeSigning=true -p:EnablePackageSigning=true -p:CodesignKey="Apple Distribution: Eigil…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,810 questions
asked 2024-03-01T17:15:48.87+00:00
Eigil Krogh Sorensen 76 Reputation points
edited the question 2024-04-08T06:01:26.33+00:00
Jack J Jun 24,276 Reputation points Microsoft Vendor
1 answer

Implementing Vertical Design for Android and iOS, Horizontal Layout for Windows in MAUI: Guidance Needed

Is it possible to implement a vertical design for Android and iOS, while ensuring a horizontal layout for Windows in a MAUI application? If so, could you guide me on how to achieve this?

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,810 questions
asked 2024-03-29T09:48:02.8933333+00:00
Sarfaraz Sable 20 Reputation points
edited the question 2024-04-08T05:40:01.0466667+00:00
Jack J Jun 24,276 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Maui app for android scrolling not work when Editor has focus

Hello all. VS Ver 17.10 preview 2 and Android Ver 34 My app scrolling not work when the editor has focus. when I unfocused the editor by moving the focus to an entry the scrolling is working. I have working hard to resolve this issue but no…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,810 questions
asked 2024-03-31T16:56:32.17+00:00
Haviv Elbsz 1,886 Reputation points
accepted 2024-04-08T04:55:55.61+00:00
Haviv Elbsz 1,886 Reputation points
2 answers

How to use maui preferences in class library?

Hi, I have created one Maui application and in the same solution created one class library to maintain services.(please refer solution image) Now I need to store one value in preferences in service class. But service class in class library. So how can…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,810 questions
asked 2024-04-05T10:32:14.5766667+00:00
vijay ravuri 0 Reputation points
answered 2024-04-08T04:44:22.29+00:00
vijay ravuri 0 Reputation points
0 answers

MSB4018 The "GenerateStaticWebAsssetsPropsFile" task failed unexpectedly - but the project path name is short

I'm unable to perform a Build or publish a Blazor Hybrid App for iOS Targets. Initially stumbled upon this while working on a bigger app where the IPA should be triggered by a Windows machine calling msbuild.exe (and/or dotnet publish), but it's easily…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,810 questions
asked 2024-04-04T09:18:52.3733333+00:00
Niko Kreuzer 0 Reputation points
commented 2024-04-08T02:09:45.9066667+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 34,226 Reputation points Microsoft Vendor
1 answer

How to debug MAUI.iOS app from VS Windows 2022

Hi, I'm trying to debug the MAUI.iOS app from VS Windows 2022. I connected to the remote mac successfully. This Mac mini is using Xcode 15.2 and have VS Mac 2022 installed. When I ran, I saw it deployed successfully to the Mac, and the app also opened…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,810 questions
asked 2024-04-01T14:27:21.1466667+00:00
Huynh Than 65 Reputation points
commented 2024-04-08T01:52:26.2066667+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 25,446 Reputation points Microsoft Vendor
1 answer

code works in Windows but not in Android , Do you see any issue with Sqllite nugets

@page "/" @using System.Text; @using System.Net.Http.Headers; @using Microsoft.AspNetCore.Components; @using Newtonsoft.Json; @using RateApp.Models; @if (listcount > 0) { <div class="row"> <div…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,810 questions
asked 2024-03-23T13:03:58.1433333+00:00
Maui Learner 400 Reputation points
answered 2024-04-07T12:29:40.2833333+00:00
Maui Learner 400 Reputation points
1 answer

How to Measuring Download and Upload Speed within a .NET MAUI Blazor Application?

I'm working on a .NET MAUI Blazor application and I need to implement functionality to measure both download and upload speeds within the application. I want to display these speeds to the user for network performance monitoring purposes. Could someone…

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,370 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,810 questions
asked 2024-04-04T07:50:06.14+00:00
NIRANJAN CHIGULLA 0 Reputation points
commented 2024-04-06T21:50:29.3766667+00:00
Bruce (SqlWork.com) 54,621 Reputation points
3 answers

App will run through visual studio but not via exe

I am developing a maui app in VS 2022, Debug and Release will run fine when launched via VS. However, when I go to the apps bin folder, it will not launch, I click on the .exe and nothing happens. I tried copying the bin/release and debug folders to…

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
10,511 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,810 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,153 questions
asked 2024-03-03T22:43:14.8333333+00:00
Phunction 201 Reputation points
answered 2024-04-06T13:31:07.41+00:00
Kashif Faraz 0 Reputation points
1 answer One of the answers was accepted by the question author.

Conditional if

I am modifying my app on the widows side I have created a handler for SearchBar and Entry public class BorderlessEntry : Entry { } public class BorderlessSearchBar : SearchBar { } I put this in App …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,810 questions
asked 2024-04-05T12:14:10.0566667+00:00
Eduardo Gomez Romero 185 Reputation points
accepted 2024-04-06T02:10:05.2633333+00:00
Eduardo Gomez Romero 185 Reputation points
0 answers

Barcode to Text in .Net Maui

There are many library available for qrcode/barcode. I found one library, that use camera to scan barcode and then, generate text but it is using camera to do that. But, I want to look for an library that will pick image(qrcode/barcode image) from…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,810 questions
asked 2024-04-04T11:07:12.2766667+00:00
Haider Ali Faizi 60 Reputation points
edited the question 2024-04-05T19:55:47.02+00:00
Rob Caplan - MSFT 5,407 Reputation points Microsoft Employee
1 answer One of the answers was accepted by the question author.

Replace Dispatcher timer with timer

Hi, What is the similar code of dispatcher timer but with timer. private IDispatcherTimer _timer; protected override void OnAppearing() { base.OnAppearing(); MainThread.BeginInvokeOnMainThread(() => { SetIndicatorStatus(); …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,810 questions
asked 2024-04-05T06:32:12.2166667+00:00
דני שטרית 2,626 Reputation points
accepted 2024-04-05T17:27:33.1633333+00:00
דני שטרית 2,626 Reputation points
2 answers One of the answers was accepted by the question author.

"Connectivity.ConnectivityChanged += Connectivity_ConnectivityChanged" will raise exception on android14

.net 8 android14 "Connectivity.ConnectivityChanged += Connectivity_ConnectivityChanged" will raise exception android13 , android 12 run well no exception.

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,810 questions
asked 2024-01-03T04:21:11.2966667+00:00
Fei Xu 490 Reputation points
answered 2024-04-05T09:08:02.88+00:00
Ravi Nalla 106 Reputation points