5,294 questions with Xamarin tags

Sort by: Updated
2 answers One of the answers was accepted by the question author.

How to display the image when the build action of the image file is the content

Currently, I am displaying an image using the build action of an image file as an embedded resource, but I do not know how to display the image when the build action is changed to content. Someone please show me a sample

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,294 questions
asked 2020-11-25T23:16:56.897+00:00
TS44 81 Reputation points
accepted 2020-11-26T03:49:23.117+00:00
TS44 81 Reputation points
1 answer One of the answers was accepted by the question author.

[Bug] Xamarin.Forms Picker - One Picker selection clears all the options of the other picker in the same page

https://github.com/xamarin/Xamarin.Forms/issues/12956 Hi! I'm working on an app built using Xamarin.Forms. I just upgraded from Xamarin.Forms 3.4.0.1029999 to 5.0.0.1709-pre4. After this upgrade, I'm facing a new issue wherein a page that has multiple…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,294 questions
asked 2020-11-24T10:13:50.94+00:00
Paul 296 Reputation points
accepted 2020-11-25T14:15:50.86+00:00
Paul 296 Reputation points
1 answer

Button Command is not working in the Xamarin forms

In the Xamarin wpf project, when clicking on the button, command is not working. I have a button in the datatemplate of a listview item template and a command has been binded to this button. This is as shown below : <ListView …

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,294 questions
asked 2020-11-23T09:48:35.113+00:00
CKuttan 21 Reputation points
answered 2020-11-25T13:03:29.637+00:00
Morgan SOULLEZ 1 Reputation point
1 answer

Creating a Button with Multiple Components

I want to create a Button that is made up of multiple parts. I am very new to Xamarin.Forms & Android, but what I have found makes it sound like a CustomRenderer is what I should be using. However, from what I have seen in the examples I could find,…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,294 questions
asked 2020-11-24T17:25:33.027+00:00
Nathan Sokalski 4,116 Reputation points
answered 2020-11-25T12:53:10.117+00:00
Morgan SOULLEZ 1 Reputation point
1 answer

How to get screen readers to read a number in an Entry as a decimal number rather than an incomplete sequence of digits and numbers?

I have a Xamarin.Forms.Entry that is used for entering values. I am now trying to improve how screen readers read the value in this Entry. Currently, using XF 4.8, on devices set up for British English the following value 1500005.40 results in…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,294 questions
asked 2020-11-24T16:38:43.133+00:00
John Hardman 161 Reputation points
commented 2020-11-25T11:40:59.907+00:00
John Hardman 161 Reputation points
0 answers

IPA file not getting created / Show IPA in mac menu option remains disabled though build successful on release configuration

Hi everyone, IPA file is not getting created for my Xamarin.Forms iOS app. Usually like in earlier times, I used to check the IPA file inside bin/iPhone/Release or click "Show IPA file on Build Server" and find the same. But now both options…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,294 questions
asked 2020-11-24T16:24:21.413+00:00
Paul 296 Reputation points
commented 2020-11-25T11:23:47.96+00:00
Cole Xia (Shanghai Wicresoft Co,.Ltd.) 6,751 Reputation points
1 answer

About image display in Xamarin forms

Does the processing time of the application change depending on whether the build action of the image file is used as an embedded resource or content? https://dotnetco.de/tips-on-performance-for-xamarin-forms-android-and-ios/ …

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,294 questions
asked 2020-11-25T07:48:57.337+00:00
TS44 81 Reputation points
answered 2020-11-25T11:07:58.883+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 68,651 Reputation points Microsoft Vendor
2 answers One of the answers was accepted by the question author.

Expander and ForceUpdateSizeCommand

Could anyone please describe the ForceUpdateSizeCommand attribute for the Expander? I have this: <StackLayout BindableLayout.ItemsSource="{Binding VARIABLE, Mode=TwoWay}"> <Expander> …

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,294 questions
asked 2020-11-24T15:54:38.577+00:00
jseffel 21 Reputation points
answered 2020-11-25T10:51:02.157+00:00
jseffel 21 Reputation points
0 answers

How to handle language specific dynamic delivery with Android App bundle?

I have some json files as embedded resources in my app. Those are like data_en.json, data_de.json, data_fr.json. When I publish my app as app bundle to google play store, is there a way to tell google those are languages specific for 4 languages that…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,294 questions
asked 2020-11-20T02:56:25.953+00:00
Emil Alipiev 271 Reputation points
commented 2020-11-25T09:28:09.527+00:00
JarvanZhang 23,936 Reputation points
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,294 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,294 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,851 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,294 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,294 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,936 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,294 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,294 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,294 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,294 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,294 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,294 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,294 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