Microsoft Q&A

Xamarin

4,806 questions

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

Browse all .NET tags

4,806 questions with Xamarin tags

Sort by: Updated
1 answer

xamarin android emulator android > 9 ? how to make ?

Hello all, I have vs 2022 entreprise installed on my computer all works fine with emulator below android 9 .. i can push my app , debug ans so on .. I've try to make an android 10 / 11 and so on but impossible to start it ,, Of course i have the sdk who…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
4,806 questions
asked 2023-01-26T09:28:50.3866667+00:00
cristopheB 476 Reputation points
answered 2023-01-30T15:42:13.55+00:00
cristopheB 476 Reputation points
0 answers

Xamarin Form Add Multiple Binding

Please I need help. I have my Xamarin Form app that works very well with DataBinding to its View Model named OrderDetailViewModel. But today I have to add another DataBinding field in line 10 Binding OrderStatusMessage that is bind to its Xaml.cs file…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
4,806 questions
asked 2023-01-30T07:42:11.72+00:00
Alice 26 Reputation points
edited a comment 2023-01-30T14:09:27.5566667+00:00
Alice 26 Reputation points
0 answers

Does the class returned by System.Security.Cryptography.IncrementalHash.CreateHMAC(HashAlgorithmName.SHA256) uses a managed or a native crypto implementation?

I've developed an app with Xamarin for Android and iOS which uses a sha256 hash. I need to know if the class returned by System.Security.Cryptography.IncrementalHash.CreateHMAC(HashAlgorithmName.SHA256) uses a managed or a native sha implementation…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
4,806 questions
asked 2023-01-30T13:49:17.2833333+00:00
Andreas Gossweiler 0 Reputation points
1 answer

Error XA3001: Could not AOT the assembly: Xamarin.Forms.Platform.Android.dll (XA3001)

Hi, I am trying to archive the project for publication. It worked before. I fixed the camera permission and tried to archive it, it threw the following message and the process failed. "Error XA3001: Could not AOT the assembly:…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
4,806 questions
asked 2023-01-23T05:26:13.7266667+00:00
Kam M 21 Reputation points
commented 2023-01-30T09:07:24.8066667+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 41,411 Reputation points Microsoft Employee
1 answer

How to use UIWebView in the Xamarin.Forms iOS part?

Hi, I have a Xamarin.Forms application. I integrated Airwatch SDK (WorkspaceOne.Forms) into the iOS part. Now, I am trying to app tunneling with Airwatch SDK. For this reason I have added ModernHttpClient Handler to all of the HttpClients on my project.…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
4,806 questions
asked 2023-01-26T11:10:54.5066667+00:00
Pelin Konaray 266 Reputation points
commented 2023-01-30T08:34:44.2566667+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 41,411 Reputation points Microsoft Employee
2 answers

Dynamically Add Entry in a StackLayout and Retrieve Values in a List

As per the attachment, when clicked the '+' button, a new entry will display and need to store entered value in a List<string> . If 'x' clicked, the entry need to removed from the layout and removed from List<string> too.

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
4,806 questions
asked 2023-01-25T06:26:49.88+00:00
Mohanasundharam Murugan 20 Reputation points
answered 2023-01-30T07:56:04.0866667+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 15,581 Reputation points Microsoft Employee
1 answer

Get reminders based on data in a database

I want to get reminders for some Appointments that I have saved in database and they have a notificationTime property witch is the time when a notification needs to be displayed. My approach so far is to write some kind of job that runs 1 or 2 times a…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
4,806 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
609 questions
asked 2023-01-29T17:37:55.69+00:00
Bogdan Nicoara 0 Reputation points
answered 2023-01-30T05:15:20.7133333+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 11,061 Reputation points Microsoft Employee
0 answers

Xamarin.Form make OutBound Call with SpeakerPhoneOn

It use to be that AudioManager allowed to turn SpeakerPhone On and Off during InBound and OutBound Call. I have posted several question for Android 10-13 with Xamarin each of which have fallen on deaf ears. WHY? Could it'd be that Google has sabotage the…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
4,806 questions
asked 2023-01-25T21:38:47.23+00:00
Universal Camera 286 Reputation points
edited a comment 2023-01-29T16:26:00.78+00:00
Universal Camera 286 Reputation points
0 answers

Xamarin.Forms Speakerphone Stop Activating Suddenly on Android 10

I have App that has been working for years on Android 10, 11, 12 to Turn On/Off SpeakerPhone for Inbound and Outbound calls, but now it works sometimes on Inbound calls but never on Outbound calls. Here is a simple BroadcastReciever and…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
4,806 questions
asked 2023-01-17T22:27:57.81+00:00
Universal Camera 286 Reputation points
commented 2023-01-29T06:51:16.6633333+00:00
Rob Caplan - MSFT 4,026 Reputation points Microsoft Employee
1 answer

Breaking out large app into smaller apps.

Hi, I have a large mobile app that performs many different functions and want to try and break that out into smaller apps that do only a small portion of what the main app does. At the current time the work around I have just is a hard coded string…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
4,806 questions
asked 2021-03-02T20:04:25.737+00:00
era148 1 Reputation point
answered 2023-01-28T09:31:05.2566667+00:00
Adrian Monk 0 Reputation points
0 answers

visual studio 2022 android project create dll and not apk ?

Hello, I have on my computer visual studio 2017 with xamarin and all works fine. I've installed visual studio 2022 and now , when i try to create a android projects and build it create a dll not an apk ... How to find a solution with this ? All android…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
4,806 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
609 questions
asked 2023-01-20T15:07:35.49+00:00
cristopheB 476 Reputation points
commented 2023-01-27T02:50:57.23+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 11,061 Reputation points Microsoft Employee
0 answers

Blank Xamarin watchOS app does not deploy to device - "Execution failed"

When creating an empty Xamarin iOS project via Visual Studio for Mac 2022 "iOS -> App -> Xamarin -> Single View App" and then adding a watchOS project "watchOS -> App -> Xamarin -> WatchKit App" the build is working…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
4,806 questions
asked 2023-01-25T16:01:19.5066667+00:00
Tim Ulbrich 0 Reputation points
commented 2023-01-26T12:37:53.3766667+00:00
Tim Ulbrich 0 Reputation points
1 answer

Xamarin Forms - prevent iOS storyboard from loading

I'm using Visual Studio for Windows to test a Xamarin Forms app on Android. Now I want to test it on an iPhone as well, which is possible by connecting the iPhone to my Windows system and using Xamarin Hot Restart. The app is deployed on the iPhone, but…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
4,806 questions
asked 2023-01-22T14:20:57.5033333+00:00
Ganesh Gebhard 366 Reputation points
edited a comment 2023-01-26T08:17:27.29+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 15,581 Reputation points Microsoft Employee
0 answers

Xamarin iOS - development app is deployed on IPhone, but I cannot start it

I have an app in Xamarin that I want to test on a physical IPhone (normally I test it on Android). I'm connected to a Mac, the development certificate is working and everything is deployed to the point that the app is actually installed on the IPhone…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
4,806 questions
asked 2023-01-17T17:40:49.0266667+00:00
Ganesh Gebhard 366 Reputation points
commented 2023-01-26T08:12:47.36+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 15,581 Reputation points Microsoft Employee
1 answer

CANCEL UPLOAD LARGE FILE

Here is code from: https://learn.microsoft.com/en-us/graph/sdks/large-file-upload?tabs=csharp using var fileStream = System.IO.File.OpenRead(filePath); // Use properties to specify the conflict behavior // in this case, replace var…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
4,806 questions
Microsoft Graph Toolkit
Microsoft Graph Toolkit
A collection of reusable, framework-agnostic components and authentication providers for accessing and working with Microsoft Graph.
16 questions
asked 2022-06-03T17:27:01.547+00:00
Giorgio Sfiligoi 121 Reputation points
answered 2023-01-26T05:46:18.5933333+00:00
Jeremy Prestidge 0 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#.
4,806 questions
Universal Windows Platform (UWP)
asked 2023-01-17T14:53:16.2+00:00
Imman Kumar 6 Reputation points
commented 2023-01-25T11:55:16.8066667+00:00
Imman Kumar 6 Reputation points
1 answer

System.Data.SqlClient.SqlException: 'System.Net.Security.Native assembly:<unknown assembly> type:<unknown type> member:(null)

I coded my data on sql to get xamarine and sqlConnection.Open(); I'm Getting Exception Error in section The error is : System.Data.SqlClient.SqlException: 'System.Net.Security.Native assembly:<unknown assembly> type:<unknown type>…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
4,806 questions
SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
8,483 questions
asked 2022-08-24T08:24:11.23+00:00
Ataberk Demir 1 Reputation point
commented 2023-01-25T08:55:16.5033333+00:00
Job Sylvanus ETOKABEKA 0 Reputation points
1 answer

Validation failed : Missing App Store icon

I’m working on a Xamarin Forms application and I’ve been unable to upload my builds to the App Store since late December. The App Store validation process fails with the same message whatever solution I’m applying : « Missing App Icon. An app icon…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
4,806 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
2,399 questions
asked 2023-01-17T10:39:25.0633333+00:00
Benjamin Israël 0 Reputation points
commented 2023-01-25T08:53:43.74+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 15,581 Reputation points Microsoft Employee
1 answer One of the answers was accepted by the question author.

Xamarin android app restarting on orientation change with newer android versions

Hi, Our Xamarin android app is restarting whenever the device orientation is changed. We have configured the main activity with the following: [Activity(Theme = "@style/MainTheme", MainLauncher = true, ConfigurationChanges =…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
4,806 questions
asked 2023-01-24T14:02:58.48+00:00
Felix Nogal 41 Reputation points
accepted 2023-01-25T08:53:26.9333333+00:00
Felix Nogal 41 Reputation points
2 answers One of the answers was accepted by the question author.

CollectionView UI not updated when Switch Toggled but ObservableCollection updated

Here, when toggle, observablecollection has been updated, but ui not updated. Expected Output is: When switch toggle is on, the items pack price need to be display. When switch toggle is off, the item's price need to be display. <CollectionView…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
4,806 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.
6,934 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.
556 questions
asked 2023-01-24T19:30:26.5+00:00
Mohanasundharam Murugan 20 Reputation points
answered 2023-01-25T06:18:15.31+00:00
Mohanasundharam Murugan 20 Reputation points