5,325 questions with Xamarin tags

Sort by: Updated
0 answers

binding swift libraries giving error " module 'RealmSwift' not found"

Hi All, I am trying bind the native sdk framework to xamarin app. sdk is in swift language. i am following the link https://learn.microsoft.com/en-us/xamarin/ios/platform/binding-swift/walkthrough for same. When i run the below code in terminal: …

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,325 questions
asked 2020-11-23T14:21:00.26+00:00
sheetal naik 1 Reputation point
commented 2020-11-25T08:22:24.553+00:00
Nicole Lu-MSFT 96 Reputation points
1 answer One of the answers was accepted by the question author.

ToolBar Item Not Showing in Secondary (3 Dots) Xamarin.Forms UWP

Hello Everyone I Have Toolbar Items in my Xamarin.Forms Project its Working Good For Android , IOS. But in UWP Project the Toolbar items Not Showing in Secondary (3 Dots) its Showing As Buttons in Navigation Bar. and Toolbar Icon Not Working,But…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,325 questions
Universal Windows Platform (UWP)
asked 2020-11-24T10:54:14.06+00:00
SimonGhost 256 Reputation points
commented 2020-11-25T06:55:51.087+00:00
Nico Zhu (Shanghai Wicresoft Co,.Ltd.) 12,861 Reputation points
1 answer

List<T> to ObservableCollection<T>

Hi In my Xamarin app the page is bound to an ObservableCollection<T> but the remote Api is currently returning List<T>. What is the best way to handle this discrepancy? Should I change the backend Api to return…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,325 questions
asked 2020-11-25T01:50:44.91+00:00
Y a h y a 416 Reputation points
commented 2020-11-25T06:12:27.74+00:00
LandLu-MSFT 21 Reputation points
0 answers

Xamarin ios Location accuracy settings

I am using VS version 8.8.1 (build 37) for Xamarin iOS app development. I want to add iOS 14 location permissions - Privacy - Location Default Accuracy Reduced & Privacy - Location Temporary Usage Description Dictionary. However, I don't see them…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,325 questions
asked 2020-11-23T23:46:06.317+00:00
MobileDev1600 1 Reputation point
commented 2020-11-25T01:30:26.587+00:00
JarvanZhang 23,951 Reputation points
3 answers One of the answers was accepted by the question author.

Permissions.ShouldShowRationale doesn't exist

In the document Xamarin.Essentials: Permissions https://learn.microsoft.com/en-us/xamarin/essentials/permissions?context=xamarin%2Fandroid&tabs=android The following line is included in a code snippet if…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,325 questions
asked 2020-11-24T16:16:51.217+00:00
Don Glover 511 Reputation points
commented 2020-11-24T18:54:09.997+00:00
Don Glover 511 Reputation points
2 answers

How to access the displayCutout (safe Area) on Android in Xamarin Forms

Hey, we are developing a game based on skiasharp and Xamarin Forms. The SKCanvasView is in a Grid in and setup as fullscreen. To use the notch area we inplemented the following piece of code in the MainActivity of the Android project: …

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,325 questions
asked 2020-11-23T19:58:07.22+00:00
Danilo 1 Reputation point
answered 2020-11-24T14:16:41.427+00:00
Danilo 1 Reputation point
1 answer

Unable to build solution using Visual Studio 2019 Xamarin

Hi, I am new Xamarin. I am facing a problem while build the solution. Following error is showing while building the project. Severity Code Description Project File Line Suppression State Error The "ResolveAssemblyReference" task failed…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,325 questions
asked 2020-11-21T15:52:10.253+00:00
Ashish Dhar 61 Reputation points
answered 2020-11-24T05:22:42.417+00:00
Ashish Dhar 61 Reputation points
1 answer One of the answers was accepted by the question author.

error APT1000: Attribute "imageAspectRatioAdjust" already defined with incompatible format.

the following error comes out after changing the target platform from Android 8 to Android 9, 10 or 11. + updating dependencies + migration to AndroidX: \ obj \ Debug \ 110 \ lp \ 64 \ jl \ res \ values ​​\ values.xml (4): error APT1000: Found tag id…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,325 questions
asked 2020-11-23T12:18:53.837+00:00
Александр Р 116 Reputation points
accepted 2020-11-23T23:58:16.113+00:00
Александр Р 116 Reputation points
0 answers

Xamarin.ios app crashes on 14.2 when downloaded via MDM

When xamarin.ios app is downloaded via MDM it crashes immediatedly after startup. The app works fine when downloaded via apple store/testflight

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,325 questions
asked 2020-11-23T15:30:07.74+00:00
coder 1 Reputation point
commented 2020-11-23T21:56:52.9+00:00
Borisoprit 371 Reputation points
2 answers One of the answers was accepted by the question author.

Creating buttons in a for loop

Hi all, I'm new to Xamarin, so sorry if the question is a repeat or explained badly. What I'm aiming to do is to create and display a number of buttons for each keyphrase found in a phrase and then have the selected keyword spoken back out of the device…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,325 questions
asked 2020-11-23T11:11:57.863+00:00
lhtyex123 21 Reputation points
commented 2020-11-23T18:15:29.307+00:00
Ahmad 81 Reputation points
1 answer One of the answers was accepted by the question author.

Multiplatform .NetStandard library with native binding

I'm trying to create a multiplatform .NetStandard library from a Xamarin.Forms application i have made. In the Xamarin.Forms application i used dependency injection, which i'm assuming from what i've read is not available for .NetStandard libraries so…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,325 questions
asked 2020-11-23T15:10:23.163+00:00
noobsoftware 251 Reputation points
accepted 2020-11-23T16:56:44.31+00:00
noobsoftware 251 Reputation points
0 answers

How to communicate with devices using bluetooth without pairing from same Xamarin app

I am new to Xamarin development. I wanted to know is it possible to read data using bluetooth among devices without pairing? I will install Xamarin app on multiple devices. This app will store some data like, user name, email, phone number etc. I want…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,325 questions
asked 2020-11-23T10:41:03.987+00:00
Mihir Yelamanchili 21 Reputation points
2 answers

Can't animate Color property of SolidColorBrush

Hello, Is there a way to animate Color property of SolidColorBrush from color1 to color2? Thanks

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,325 questions
asked 2020-11-19T19:34:38.587+00:00
Polat Pınar 26 Reputation points
commented 2020-11-23T10:31:37.087+00:00
JarvanZhang 23,951 Reputation points
1 answer

dynamic tabbar in xamarin.forms shell?

<ShellContent Title="title" Icon="icon.png" Route="IndexPage" ContentTemplate={DataTemplate local:IndexPage} /> can it be changed dynamiclly? the title icon route and contentTemplate?

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,325 questions
asked 2020-11-23T02:18:59.647+00:00
mc 4,111 Reputation points
answered 2020-11-23T08:10:44.953+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 71,926 Reputation points Microsoft Vendor
1 answer

Find Parent Row and Change the Height

Hi, I have this XAML: <Grid Margin="15"> <Grid.ColumnDefinitions> <ColumnDefinition Width="Auto" /> <ColumnDefinition Width="*" /> </Grid.ColumnDefinitions> …

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,325 questions
asked 2020-11-20T20:17:48.723+00:00
jrahma 111 Reputation points
answered 2020-11-23T06:09:32.95+00:00
JarvanZhang 23,951 Reputation points
2 answers One of the answers was accepted by the question author.

How To Add Reveal Highlight in UWP Xamarin.Forms

Hello Guys I Want to Add Reveal Highlight in Frame Control in UWP Project im Using Custom Render in Xamarin.Forms

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,325 questions
asked 2020-11-22T15:07:23.443+00:00
SimonGhost 256 Reputation points
commented 2020-11-22T19:36:24.17+00:00
SimonGhost 256 Reputation points
5 answers One of the answers was accepted by the question author.

Xamarin Forms | Master-Detail Page | Menu items do appear in preview but not in app

Hi everyone, I´m having a little trouble with the Master-Detail Page in XF. I started to use the example given from the following resource: https://learn.microsoft.com/en-us/samples/xamarin/xamarin-forms-samples/navigation-masterdetailpage/ …

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,325 questions
asked 2020-11-21T02:16:28.683+00:00
Christian Hose 21 Reputation points
answered 2020-11-22T15:06:29.203+00:00
Lance 296 Reputation points MVP
3 answers

Xamarin.Forms or Xamarin.Android

As most of us know, .NET 5 contains a large amount of Xamarin related components, and .NET 6 will as well, along with MAUI. I am working on converting my UWP apps for Android using Xamarin (and ONLY Android, I have no intention of ever converting them…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,325 questions
asked 2020-11-21T17:53:57.303+00:00
Nathan Sokalski 4,126 Reputation points
answered 2020-11-21T21:21:35.95+00:00
Alessandro Caliaro 4,181 Reputation points
2 answers

Trouble dismissing alert viewcontroller presented with DismissViewController

So in my Xamarin.iOS project, I have an abstract view class (let's call it A) with code that looks like this: PresentViewController(_alertController, false, null); where: _alertController = UIAlertController.Create(message, null,…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,325 questions
asked 2020-11-19T01:25:51.247+00:00
Jacob D 1 Reputation point
answered 2020-11-21T19:23:28.4+00:00
Jacob D 1 Reputation point
2 answers One of the answers was accepted by the question author.

where or in which project do we add the image files (.png or .jpeg) ?

Hi, I am a beginner in Xamarin Application and i have a doubt. I created a new Xamarin crossplatform application and i want to add images to my listview's listitems. We have 3 projects in Xamarin solution - one is the normal wpf project, another 2…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,325 questions
asked 2020-11-20T15:31:02.727+00:00
CKuttan 21 Reputation points
accepted 2020-11-21T14:40:41.977+00:00
CKuttan 21 Reputation points