5,325 questions with Xamarin tags

Sort by: Updated
0 answers

How to fix typemaps.x86_64.ll Xamarin.Android.Common.targets(

Hi. When compiling a project to a virtual android device, an error occurs. It works fine on a physical device. I have used many virutal devices, Api 30-34, x86-64, nowhere works. I installed the Android SDK through Rider. Applications in Android Studio…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,325 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,613 questions
asked 2024-05-22T11:37:21.8733333+00:00
Rinat Sibogatov 0 Reputation points
commented 2024-07-18T19:14:03.7933333+00:00
bpaquin 1 Reputation point
0 answers

Video Recorder using MediaCodec in Xamarin.Android Produces Tiled Video Output

I am working on a video recording feature in a Xamarin.Android app using MediaCodec for encoding. My goal is to record video and save it in H.264 format. However, the output video appears tiled, as shown in the image below. Here is my code: using…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,325 questions
asked 2024-07-17T08:57:06.95+00:00
Gurucharan Vijayakumar 0 Reputation points
commented 2024-07-18T06:35:27.91+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 38,906 Reputation points Microsoft Vendor
2 answers One of the answers was accepted by the question author.

Why MonoAndroid is not supported anymore by some plugins like Firebase?

Hi! I'm not up-to-date with Xamarin. I've got 3 projects in Xamarin.Forms, but I don't actively maintain them. Only from time to time I have to update a few things to meet Google requirements. Usually, I also update all dependencies. However, recently I…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,325 questions
asked 2024-07-16T19:46:25.38+00:00
Wojciech Kulik 20 Reputation points
edited an answer 2024-07-17T21:36:49.8066667+00:00
Bruce (SqlWork.com) 61,181 Reputation points
2 answers

CarouselView throws System.IndexOutOfRangeException when ObservableCollection is changed

I have created a Xamarin Forms Shell App. The app has multiple tabs which route to different pages. On one of the pages I use a CarouselView. The ItemsSource of the CarouselView is an ObservableCollection<ContentView> inside the ViewModel. The…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,325 questions
asked 2021-07-07T14:07:48.41+00:00
Marius A 31 Reputation points
answered 2024-07-16T15:17:45.1466667+00:00
SR 0 Reputation points
2 answers

Visual Studio 2022 Xamarin Forms UWP Create App Package Error: Task 'SignAppxPackage' failed. The application has failed to start because its side-by-side configuration is incorrect.

I am trying to create an app package (for my Xamarin Forms UWP app) to upload to the windows store. I am using Microsoft Visual Studio Professional 2022 (ARM 64-bit) Version 17.8.3. In Visual Studio, I right-click on the UWP project -> Publish ->…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,325 questions
asked 2024-07-02T11:18:30.5366667+00:00
Andrea Christy 0 Reputation points
commented 2024-07-16T06:53:58.52+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 71,921 Reputation points Microsoft Vendor
3 answers

How to pass generic list to activity

Hello i have a list class Classdaysun { public int daysun { get; set; } public int monthsun { get; set; } public DateTime time { get; set; } } private List<Classdaysun> list1= new…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,325 questions
asked 2024-07-11T20:56:34.23+00:00
Shay Wilner 1,746 Reputation points
edited an answer 2024-07-15T17:36:27.2766667+00:00
Bruce (SqlWork.com) 61,181 Reputation points
2 answers One of the answers was accepted by the question author.

VS 2022 can't start Android Emulator

updated Visual Studio from 2019 to 2022. the emulators canot start. Starting emulator pixel_5_-_api_33 ... 1>Waiting for emulator to be ready... C:\Program Files (x86)\Android\android-sdk\emulator\emulator.EXE -netfast -accel on -avd pixel_5_-_api_33…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,325 questions
asked 2023-04-17T12:17:00.44+00:00
Chisa Kogano 50 Reputation points
commented 2024-07-11T10:33:15.8733333+00:00
David langlois 0 Reputation points
1 answer

How to add vertical scroll bar into relative layout

Hello in platform xamarin android I have a relative layout and inside some text view i try to add a scroll bar as parent to the text views but when i debug the app i get an exception android.views.inflateexception scrollview can hosts only one…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,325 questions
asked 2024-07-10T19:59:58.0233333+00:00
Shay Wilner 1,746 Reputation points
answered 2024-07-10T20:23:54.7066667+00:00
Shay Wilner 1,746 Reputation points
4 answers

Xamarin archives not appearing in VS - cannot build archives

I cannot see any archives in Archive Manager, and when commanding "Archive..." project in Solution Explorer, no new archives appear, despite no visible errors. This worked fine a few weeks ago (even though mainaining a seesion with the mac long…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,325 questions
asked 2021-01-09T13:18:09.35+00:00
capsicum 101 Reputation points
answered 2024-07-10T14:54:11.9833333+00:00
SalesOutlook 41 Reputation points
0 answers

Unable to disconnect device on Samsung Android devices when Bluetooth connection is off

I am using the Ble.plugin to connect to BLE devices. However, I am having trouble disconnecting the device when Bluetooth is turned off on Samsung mobile devices. I can successfully disconnect on all other Android devices except for Samsung. Can someone…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,325 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,620 questions
XAML
XAML
A language based on Extensible Markup Language (XML) that enables developers to specify a hierarchy of objects with a set of properties and logic.
789 questions
asked 2024-07-08T13:14:42.7766667+00:00
Sk 61 Reputation points
commented 2024-07-09T01:35:25.4+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 29,041 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Will MAUI ever support WebAuthenticator on Windows

I am trying to convert my app from Xamarin to MAUI. My Xamarin App is released on iOS, Android, and Windows. It performs Authentication using WebAuthenticator. My Server back end supports Google, Apple, Facebook as well as several other OAuth logins. As…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,325 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,200 questions
asked 2024-07-07T23:22:57.42+00:00
Solomon Fried 41 Reputation points
accepted 2024-07-08T15:46:45.8566667+00:00
Solomon Fried 41 Reputation points
1 answer

AppShell- Failed to Navigate Back, Ambiguous routes matched for.... but i've only registered routes once

I am building an Xamarin Forms app for iOS and Android. I registered my routes in AppShell.xaml.cs globally like this: **-AppShell.xaml.cs-** Routes.Add(nameof(HousingFolderPage), typeof(HousingFolderPage)); Routes.Add(nameof(HousingFolderDetailsPage),…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,325 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,408 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,620 questions
asked 2023-03-26T23:28:07.2466667+00:00
Nabil 6 Reputation points
commented 2024-07-07T18:26:48.8433333+00:00
Danilo Barcellos 0 Reputation points
1 answer

Xamarin issue

Hi, Xamarin is being phased out, and those structures like Shell, ResourceDictionary, Style, Setter are parts of Xamarin, right? What is the replacements to "those structures like Shell, Style, Setter" in .Net apps?

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,325 questions
asked 2024-07-03T04:58:43.6733333+00:00
Peter_1985 2,586 Reputation points
commented 2024-07-07T16:51:34.5833333+00:00
Bruce (SqlWork.com) 61,181 Reputation points
1 answer

Xamarin.Forms : change dynamically BarBackgroundColor

In a Xamarin.Forms program, how to dynamically change the BarBackgroundColor? I already changed the app.xaml file like this: <Application.Resources> <ResourceDictionary> <!--Global Styles--> <Color…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,325 questions
asked 2024-07-04T17:47:17.02+00:00
Marcel Delhaye 26 Reputation points
answered 2024-07-05T02:31:49.9466667+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 29,041 Reputation points Microsoft Vendor
3 answers One of the answers was accepted by the question author.

Getting Error: CS0234 The type or namespace name 'Android' does not exist in the namespace 'Xamarin.Forms.Platform' (are you missing an assembly reference?)

i have a Xamarin App (UWP & Android). The UWP still works, but after upgrading Nuget pacjkages i get the errors shown below. All the errors are in the MainActivity.cs File. Am I missing a Nuget Package or other reference? If so, which? Error CS0234:…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,325 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,613 questions
asked 2023-11-22T10:55:00.7566667+00:00
Moshe Raab 21 Reputation points
commented 2024-07-04T11:25:15.44+00:00
Dan Z 0 Reputation points
0 answers

New app to connect to external camera like gDMSS

Hey! I have a more general question, since I'm looking for some possibilities for a new app. I have a camera here at my house and I use the app gDMSS Lite (for Android) to connect to this camera and to watch everything live. Now I want to try to…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,325 questions
asked 2021-01-05T01:50:01.263+00:00
Ganesh Gebhard 366 Reputation points
commented 2024-06-30T10:33:15.0566667+00:00
satraram Bhai 0 Reputation points
1 answer

Scripts inside local html is not working with webview Eval in UWP Xamarin forms

Tried to update the html elements using script with webview Eval, its working fine in android and iOS but it is not working with UWP Xamarin forms. 1.webview.Eval to update the script : Script inside local html :

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,325 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
937 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,620 questions
asked 2024-06-13T05:22:24.0766667+00:00
Keerthana Sathiyanathan 0 Reputation points
answered 2024-06-28T17:12:46.0533333+00:00
Bruce (SqlWork.com) 61,181 Reputation points
1 answer

Back button navigation doesn't work in xamarin android

Hello I have a table of buttons each button displays a number When i click one of them i start a new activity Then if i click the back button i doesn't return to the precedent activity i have to click once again the back button. It depends on which…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,325 questions
asked 2024-06-28T12:27:23.36+00:00
Shay Wilner 1,746 Reputation points
answered 2024-06-28T14:34:26.9366667+00:00
Shay Wilner 1,746 Reputation points
1 answer

Error ADB0010

Error ADB0010: Mono.AndroidTools.InstallFailedException: The package was not properly signed (NO_CERTIFICATES)

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,325 questions
asked 2022-06-16T06:53:18.767+00:00
salisou moussa 6 Reputation points
edited an answer 2024-06-26T12:10:37.96+00:00
Anonymous
1 answer

Get image from SurfaceTexture

Hi to all, Does anyone know how to get image from SurfaceTexture ? I have followed this example https://github.com/xamarin/xamarin-forms-samples/tree/main/CustomRenderers/View and inside void…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,325 questions
asked 2022-08-11T12:53:49.23+00:00
vanKraster 181 Reputation points
edited a comment 2024-06-25T14:21:00.0066667+00:00
Muhammad Umar Hassan 0 Reputation points