5,272 questions with Xamarin tags

Sort by: Updated
0 answers

Error in MainActivity.cs screen for platform specific code after updating Xamarin.Forms to latest version.

I have an app built that was using 'Xamarin.Forms 4.1.0.778454' and 'Xamarin.Forms.GoogleMaps 3.0.4'. In one of the recent build the Google map stopped loading. I verified the 'Api Key' which was correct. I came across an article which suggested to…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,272 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,514 questions
asked 2024-01-19T10:11:20.84+00:00
DN 0 Reputation points
edited a comment 2024-01-23T08:03:31.58+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 33,381 Reputation points Microsoft Vendor
1 answer

Is the Google components binding libraries for iOS still supported / maintained?

Nuget packages prefixed Xamarin.Google.iOS.* and Xamarin.Firebase.iOS.* are built from this repository: https://github.com/xamarin/GoogleApisForiOSComponents The native libraries these bindings are built on are 2+ years old and are becoming unusable.…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,272 questions
asked 2024-01-12T21:25:38.47+00:00
AdamEssenmacher 0 Reputation points
commented 2024-01-22T05:30:45.68+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 66,561 Reputation points Microsoft Vendor
1 answer

Drag n Drop in Xamarin

Hi! Anyone know if there is some way to speed up the interaction with drag n drop in Xamarin Forms? Im developing a puzzle game for kids and the way it works by default, where you have to hold on the "image" a while before you can start drag it…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,272 questions
asked 2024-01-10T09:40:28.7233333+00:00
Magnus Wallon 0 Reputation points
commented 2024-01-19T01:38:14.6+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 66,561 Reputation points Microsoft Vendor
1 answer

Callback URL scheme not working with WebAuthenticator for Xamarin app with Azure portal reg.

Hi, I am trying to authenticate my Xamarin app with Azure authentication. I am using Xamarin Essentials WebAuthenticator class for this. I have registered my app on Azure, and also added iOS platform var url = new…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,272 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,689 questions
asked 2024-01-11T08:52:17.27+00:00
Anish Kamble 0 Reputation points
answered 2024-01-18T17:49:38.1333333+00:00
Ryan Hill 25,141 Reputation points Microsoft Employee
1 answer

What will happen to my xamarin form project after the xamarin support ends ?

Currently it will take time for me to migrate xamarin forms project to maui. So i want to know what will happen to my project if i don't migrate ?

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,272 questions
asked 2024-01-17T10:55:42.6233333+00:00
Dev 0 Reputation points
edited the question 2024-01-17T18:00:46.7733333+00:00
Rob Caplan - MSFT 5,407 Reputation points Microsoft Employee
2 answers

Migrate UWP App to MAUI Windows: Error after update with MSIX

I currently have a Xamarin Forms UWP App in the Microsoft Store. In the next months I want to update it to MAUI. For testing purposes and ensuring that all stored data are still available within the app, I want to simulate the Update of the Xamarin…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,272 questions
Universal Windows Platform (UWP)
Windows App SDK
Windows App SDK
A set of Microsoft open-source libraries, frameworks, components, and tools to be used in apps to access Windows platform functionality on many versions of Windows. Previously known as Project Reunion.
711 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,747 questions
asked 2022-09-09T10:33:57.39+00:00
Reinhard Lackner 6 Reputation points
edited an answer 2024-01-17T14:49:39.68+00:00
Reinhard Lackner 6 Reputation points
1 answer

error MT1007: Failed to launch the application

I am working in Xamarin.forms application. I have been getting this error message. Severity Code Description Project File Line Suppression State Error error MT1007: Failed to launch the application…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,272 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,514 questions
asked 2024-01-12T16:23:27.3033333+00:00
Rutul Mehta 0 Reputation points
commented 2024-01-17T09:05:04.5666667+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 66,561 Reputation points Microsoft Vendor
0 answers

Xamarin Forms: Installation of the app failed

Being unable to run the Xamarin project on Visual Studio. When I tried to run the Xamarin project on Visual Studio version 17.9.0 preview 2.0, I could not run it on Visual Studio. I am facing the below error. Severity Code Description Project File Line…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,272 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,514 questions
asked 2024-01-15T15:30:19.7666667+00:00
Aleena George 20 Reputation points
edited a comment 2024-01-16T08:22:26.0166667+00:00
Tianyu Sun-MSFT 26,306 Reputation points Microsoft Vendor
0 answers

Errors after migrating from Xamarin.Android to MAUI (using VS Upgrade tool)

I am doing a migration from Xamarin.Android to .NET MAUI. I used the upgrade tool. Afterwards, when I rebuild the project, I get these errors:    > **Error  APT2259 **  'textEnd' is incompatible with attribute iconGravity (attr) flags [start=1,…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,272 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,747 questions
asked 2024-01-15T16:36:35.8033333+00:00
Andrew S Bissada 5 Reputation points
commented 2024-01-16T05:59:24.37+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 66,561 Reputation points Microsoft Vendor
0 answers

Navigation Problem In Xamarin Forms

I am using Xamarin Forms in Visual Studio Community 2022 version 17.7.5 I have many screen in my app , After splash there are onboarding screen and then dashboard screen , in dashboard screen there are two option one is signup and second is login.…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,272 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.
756 questions
asked 2024-01-09T05:56:28.9+00:00
Md Mosabbir Alam 0 Reputation points
commented 2024-01-16T02:40:39.9233333+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 33,381 Reputation points Microsoft Vendor
0 answers

Xamarin.Essentials.Vibration.Vibrate(milliseconds) not working.

We have upgraded our device to Android 13 but our app is still targeting to Android Api 29. There is some dependencies due to which we are not targeting the 33 API version. After upgrade Vibration stops working which was working with Android 10 OS is…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,272 questions
asked 2023-12-07T17:54:09.0166667+00:00
anubhav tyagi 0 Reputation points
edited a comment 2024-01-11T15:24:11.79+00:00
anubhav tyagi 0 Reputation points
0 answers

Xamarin - SMPT OFFICE365: sending emails has stopped working for me

I developed an application with xamarin, a few months ago, to send emails, here a piece of my code: public Email(string To, string CC, string Subject, string Body) Server = new SmtpClient { Host = "smtp.office365.com", …

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,272 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,077 questions
asked 2024-01-09T13:37:15.5066667+00:00
Joan Martínez 0 Reputation points
commented 2024-01-11T02:54:08.45+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 33,381 Reputation points Microsoft Vendor
0 answers

Nuget Package for Cropping Images

I have ImageCropper.Forms. Fix.v2 NuGet Package installed in my Xamarin Project and is working fine but it is not working as Iexpect it to work. It supports only 4 points rectangle Image Cropper. I would like to know if there are any other NuGet Package…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,272 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,097 questions
asked 2024-01-09T19:44:43.4133333+00:00
Asgar Ali 86 Reputation points
edited a comment 2024-01-10T16:45:00.82+00:00
Asgar Ali 0 Reputation points
4 answers

XA0137: The 'run-as' command failed with 'run-as: couldn't stat /data/user/0/com.test.demo: No such file or directory '.

Hi all, My app not installing in release mode, Even I tried generating apk and installing but app is crashing every time. I'm getting following error Start debugging Android application failed Start debugging Android application ... am start -a…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,272 questions
asked 2021-09-17T16:33:28.817+00:00
Nagarjuna Gadikota 1 Reputation point
commented 2024-01-08T14:30:07.98+00:00
Kaio Pereira 0 Reputation points
1 answer One of the answers was accepted by the question author.

Xamarin.Android: Opening an Excel document using Intents in Android 10+ fails

I have the following code for exporting an Excel file. The final result is opened in the Excel App. This is the code for opening the file: if (file.Exists()) Intent intent = new Intent(Intent.ActionView); if (Build.VERSION.SdkInt <…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,272 questions
asked 2021-05-26T21:14:21.873+00:00
Federico Navarrete 616 Reputation points
edited the question 2024-01-08T11:51:19.57+00:00
Federico Navarrete 616 Reputation points
1 answer

Xamarin Android apply Google AdMob

I am trying to add Google AdMob in my Xamarin Android C# project. and following this video, the link is given below. https://www.youtube.com/watch?v=WvZlOI9u2Sc&t=2s&ab_channel=KEISoft and The nugget package is …

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,272 questions
asked 2024-01-07T21:56:36.4233333+00:00
Ibrar Tariq 20 Reputation points
edited a comment 2024-01-08T07:28:31.3666667+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 66,561 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

How to fix the Error "Connection Closed" when opening Xamarin XML Designer

When I am trying to design an Android interface using the Xamarin XML Designer, the designer reports a "Connection closed" error. How do I fix it

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,272 questions
asked 2024-01-05T12:10:36.9366667+00:00
Bobby Lin 20 Reputation points
accepted 2024-01-07T09:31:28.89+00:00
Bobby Lin 20 Reputation points
0 answers

Xamarin Android Native debug symbols file

In Xamarin project, I want generate a debug symbols file and upload to google play store but how can i generate it in visual studio 2019 Note: project builds an APK https://support.google.com/googleplay/android-developer/answer/9848633?hl=en-GB#

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,272 questions
asked 2021-08-30T07:26:12.247+00:00
commented 2024-01-06T05:30:12.72+00:00
Devron Blatchford 10 Reputation points
1 answer

Lost in the Transition to .NET MAUI and Maui Graphics

Hello everyone, I am writing to seek help with creating a graphics using .NET MAUI with Maui Graphics or SkiaSharp. I have recently migrated from Xamarin Forms to .NET MAUI and from SkiaSharp to Maui Graphics. Unfortunately, I have lost some of my…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,272 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,747 questions
asked 2023-09-14T03:34:39.9666667+00:00
Yusuf 681 Reputation points
commented 2024-01-05T09:01:19.0333333+00:00
Caner AKAR 20 Reputation points
3 answers

How to draw a hole into an arc ?

Hello in platform xamarin android i draw 3 arc to get a disk with 3 colors.I try now to draw a hole i set paint colo thepaint.Color = Android.Graphics.Color.DarkOrange; thecanvas.DrawArc(0, 0, diameter, diameter, 0, 120, true, thepaint); …

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,272 questions
asked 2023-12-28T12:07:50.35+00:00
Shay Wilner 1,726 Reputation points
commented 2024-01-04T20:13:37.27+00:00
Shay Wilner 1,726 Reputation points