5,318 questions with Xamarin tags

Sort by: Updated
1 answer

how to use .a file in .net ios?

I am using .net ios. what should I do next? I am not using xamarin.ios and maui. I am using .net ios.

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,318 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,114 questions
asked 2024-06-29T08:38:12.6066667+00:00
mc 3,986 Reputation points
answered 2024-06-29T10:03:29.9233333+00:00
tejaswini 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,318 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
918 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,552 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) 59,721 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,318 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,318 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,318 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
0 answers

Xamarin ACR.Userdialogs not working on app.Xaml page

Hi, I have a xamarin app which uses Acr.Userdialogs nuget package for showing loading screen. It works fine on views, but throws an error when used in app.xaml.cs or other libary classes which are not associated with any view.

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,318 questions
asked 2024-06-23T22:30:15.73+00:00
Gurmeet Khalsa 0 Reputation points
commented 2024-06-25T05:10:23.2966667+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 71,281 Reputation points Microsoft Vendor
2 answers One of the answers was accepted by the question author.

Xamarin Forms builds

Hello, I wanted to know if I can release the Xamarin Forms App for iOS till April 2025 as the Visual Studio Mac support ends in September 2024. Can I publish Xamarin Forms Android APK and IPA till April 2025?

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,318 questions
asked 2024-06-19T10:47:59.4666667+00:00
Chinmay Dole 100 Reputation points
answered 2024-06-24T17:42:52.2666667+00:00
Bruce (SqlWork.com) 59,721 Reputation points
0 answers

Horizontal Viewpager2 and Vertical Recyclerview issue

I am using a horizontal viewpager2 and a vertical Recyclerview inside. So sometimes when i scrolling to the end or to the top of recyclerview (Vertical) it changes page in viewpager2 . How is this possible to fix it? In my main page xml …

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,318 questions
asked 2022-02-10T10:33:40.967+00:00
Dimitris Christoforidis 301 Reputation points
commented 2024-06-23T18:18:23.5633333+00:00
Satyendra Singh 0 Reputation points
1 answer One of the answers was accepted by the question author.

how can play backgound music (mp3) in xamarin?

Hi, how can play backgound music (mp3) in xamarin, can you help me.

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,318 questions
asked 2024-06-21T09:45:33.4866667+00:00
ONUR ELBASANLI 20 Reputation points
edited a comment 2024-06-21T13:48:27.5633333+00:00
ONUR ELBASANLI 20 Reputation points
1 answer One of the answers was accepted by the question author.

How to migrate the FCM v1 in xamarin forms apps as xamarin got migrated

Hey Team, We got a mail from Firebase team that legacy http is going to be deprecated . When i checked in the documentation, all i could find is xamarin is not supporting FCM v1. We have azure notification hubs common library for android and iOS and…

Azure Notification Hubs
Azure Notification Hubs
An Azure service that is used to send push notifications to all major platforms from the cloud or on-premises environments.
288 questions
Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,318 questions
Azure
Azure
A cloud computing platform and infrastructure for building, deploying and managing applications and services through a worldwide network of Microsoft-managed datacenters.
1,065 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,813 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,552 questions
asked 2024-05-16T03:05:07.0633333+00:00
Sri Gayathri Gopalakrishnan 40 Reputation points
commented 2024-06-19T15:55:21.5266667+00:00
Junior Saravia 20 Reputation points
1 answer One of the answers was accepted by the question author.

How to use asset folder in class

Hello in android app xamarin project I try to use the asset.open method in class A but Asset is not recognized class ClassA { private List<string> listsunrisetlvastro = new List<string>(); private void readfile() …

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,318 questions
asked 2024-06-16T18:52:24.7533333+00:00
Shay Wilner 1,746 Reputation points
accepted 2024-06-17T18:19:43.3766667+00:00
Shay Wilner 1,746 Reputation points
1 answer

RenderTargetBitmap renders low quality image of the UIElement

Hi, I have a Xamarin.Forms application deployed in UWP, in which I have added Xamarin.Forms.Image to the page and trying to convert the UIElement to image using RenderTargetBitmap, the converted image quality is reduced. Again I have added the converted…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,318 questions
Universal Windows Platform (UWP)
asked 2023-01-17T14:53:16.2+00:00
Imman Kumar 6 Reputation points
commented 2024-06-13T08:12:21.0333333+00:00
Castorix31 82,661 Reputation points
1 answer One of the answers was accepted by the question author.

how to write code in cs file in xamarin.ios?

I create xamarin.ios. there is tabbed application in the default file. there is Main.storyboard some of it code is : <rect key="frame" x="0.0" y="0.0" width="600" height="600"/> <autoresizingMask…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,318 questions
asked 2024-06-10T07:25:54.96+00:00
mc 3,986 Reputation points
accepted 2024-06-12T12:42:31.8933333+00:00
mc 3,986 Reputation points
3 answers

MediaElement plays video/audio with no sound on real iPhone

I used Xamarin Community Toolkit's MediaElement to play video/audio on my app. But on my real device, there's no sound. But when I used an iPhone simulator, it played with sound. My iPhone was set to the highest volume. If I open video on the internet…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,318 questions
asked 2021-11-07T21:31:22.753+00:00
Wei Wen 1,096 Reputation points
commented 2024-06-11T09:34:35.4233333+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 28,246 Reputation points Microsoft Vendor
0 answers

C:\Program Files\Microsoft Visual Studio\2022\Enterprise\MSBuild\Microsoft\NuGet\17.0\Microsoft.NuGet.targets(198,5): Error : Your project does not reference "MonoAndroid,Version=v8.1" framework. Add a reference to "MonoAndroid,Version=v8.1" in t

When I am running the my Xamarin. Android project using Azure pipeline I am unable to build solution due to above error. Please see attached Release configuration of my project <PropertyGroup Condition=" '$(Configuration)|$(Platform)' ==…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,318 questions
asked 2024-06-06T09:37:51.6433333+00:00
Sk 61 Reputation points
commented 2024-06-11T06:03:59.41+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 38,066 Reputation points Microsoft Vendor
3 answers One of the answers was accepted by the question author.

Unable to access Files(PDF) in Subfolder of Download folder of Android phone.

Hi, I'm trying to access a pdf saved under "/storage/emulated/0/Download/Testfolder/sample.pdf" ie Download/Testfolder (Subfolder in Downloads) But i'm getting the path as below and hence unable to get the actual pdf file path Wrong…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,318 questions
asked 2021-10-27T16:05:47.977+00:00
Raghavendra G R 121 Reputation points
answered 2024-06-08T16:38:39.9566667+00:00
Miguel Jesus ROMERO Ramos 0 Reputation points
1 answer

Can These iOS and Java Libraries Have Bindings to a Xamarin.Forms App?

Hi Xamarin Experts, Coming from a purely Windows/.NET background, I'm struggling to work out if the following two iOS and Java/Android libraries can have bindings to a Xamarin.Forms app: mcumgr-ios Android-nRF-Connect-Device-Manager I…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,318 questions
asked 2021-09-24T03:28:03.237+00:00
Phil Wherrett 11 Reputation points
answered 2024-06-06T07:48:59.07+00:00
Emanuele Di Emanuele 0 Reputation points
1 answer

Problem pairing Mac M1 with Visual Studio on Windows

I'm running Visual Studio 17.10.1 as a virtual machine in VMware Fusion Player Version e.x.p. (22068932) on a MacBook Pro M1. When trying to pair Visual Studio with the Mac, I get this error message: zsh:1: command not found: printenv I have verified…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,318 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
8,735 questions
asked 2024-06-05T08:08:05.72+00:00
Hrafn Loftsson 0 Reputation points
answered 2024-06-06T03:04:19.08+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 38,066 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Placing uneven height items horizontal/vertical in a Layout without spacing in Xamarin forms

Placing uneven height items horizontal/vertical in a Layout without spacing in Xamarin forms For ex: Below is the example items should be placed. There should not be space between Item1 & Item3. If we place in Grid or FlexLayout there will be…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,318 questions
asked 2021-12-16T12:35:39.147+00:00
Thejesh Pushpala 21 Reputation points
accepted 2024-06-05T05:33:28.0766667+00:00
Thejesh Pushpala 21 Reputation points
0 answers

Can't install UWP app, fails with codes 0x800701c5 / 800700B7

Hello everybody. We want to publish our app, that is made with Xamarin Forms, to the Microsoft Store. WACK does not report any problems with the uploaded app. Installation fails for all betatesters, the store app reports error 0x800701c5. So I tried…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,318 questions
Universal Windows Platform (UWP)
asked 2024-06-04T12:30:12.4366667+00:00
M. Bäurle 0 Reputation points
edited the question 2024-06-05T01:07:58.2766667+00:00
Roy Li - MSFT 32,721 Reputation points Microsoft Vendor