Microsoft Q&A

Xamarin

5,151 questions

A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.

Browse all .NET tags

5,151 questions with Xamarin tags

Sort by: Updated
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,151 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,151 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,746 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,151 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.) 53,756 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,151 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,151 questions
asked 2020-11-20T02:56:25.953+00:00
Emil Alipiev 261 Reputation points
commented 2020-11-25T09:28:09.527+00:00
JarvanZhang 23,891 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,151 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,151 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,841 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,151 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,151 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,891 Reputation points
1 answer

SecTaskLoadEntitlements failed error=22 cs_flags=200, pid=5329

I'm developing an app in Xamarin Forms. I have to load some web content. I am currently getting an error in the iOS simulator and my web content does not load: SecTaskLoadEntitlements failed error=22 cs_flags=200, pid=5329. I have never seen this…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,151 questions
asked 2020-11-24T12:55:04.92+00:00
Wally McClure 1 Reputation point
answered 2020-11-24T21:36:50.903+00:00
Wally McClure 1 Reputation point
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,151 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,151 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,151 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,151 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,151 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,151 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,151 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,151 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,151 questions
asked 2020-11-19T19:34:38.587+00:00
Polat Pınar 21 Reputation points
commented 2020-11-23T10:31:37.087+00:00
JarvanZhang 23,891 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,151 questions
asked 2020-11-23T02:18:59.647+00:00
mc 2,666 Reputation points
answered 2020-11-23T08:10:44.953+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 53,756 Reputation points Microsoft Vendor