Microsoft Q&A

Xamarin

4,813 questions

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

Browse all .NET tags

3,385 questions with Xamarin tags

Sort by: Updated
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,813 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
626 questions
asked 2023-01-29T17:37:55.69+00:00
Bogdan Nicoara 0 Reputation points
accepted 2023-02-02T16:41:01.51+00:00
Bogdan Nicoara 0 Reputation points
1 answer

Code to auto enable "open link externally" in Facebook for android app

How to auto enable "open link externally" in Facebook for android app? Is there any permission I need to give in manifest file or something else? Thanks in advance. Regards, Anurag

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
4,813 questions
asked 2021-08-26T10:27:18.507+00:00
Anurag 1 Reputation point
answered 2023-02-02T14:39:20.52+00:00
eugeneblue 0 Reputation points
2 answers

resource mipmap/myicon not found. How to fix this?

I have a VS 2019 Xamarin app. It had previously compiled OK and was distributable. The app's icon is poorly formed so I updated it. But now when I rebuild I get the icon changed in the Manifest to android:icon="@mipmap/myicon" and that…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
4,813 questions
asked 2021-08-12T14:19:00.83+00:00
Ronald GANS 136 Reputation points
answered 2023-02-02T12:52:23.0066667+00:00
Satya 0 Reputation points
1 answer

How to share image along with text (both image and text) on same request using Xamarin essential

I want to share image file along with text in my mobile application. I am using Xamarin essential. but with this either I am able to share image or text. how to share both on a single request?

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
4,813 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.
558 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,983 questions
asked 2023-02-01T13:28:35.8566667+00:00
Moon 1 Reputation point
edited a comment 2023-02-02T11:28:38.5333333+00:00
Reza Aghaei 3,436 Reputation points Microsoft MVP
1 answer

3221226107 (0xc000027b) API REST

Hello, I am a novice programmer. Does anyone know how to solve the problem with 3221226107 (0xc000027b). Well, after replacing the code in TodoListPage.xaml.cs from public partial class TodoListPage : ContentPage { public TodoListPage() { …

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
4,813 questions
Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
5,977 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.
558 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
626 questions
asked 2023-01-13T13:49:02.3233333+00:00
Krzysztof 0 Reputation points
commented 2023-02-02T09:07:40.4033333+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 41,496 Reputation points Microsoft Employee
1 answer

Which of the two is the better way to use Xamarin?

Which of the two is the better way to use Xamarin? #.1 <Grid Grid.Row="0" Grid.Column="0" BackgroundColor="Yellow"> <Label Text="팔레트번호" HorizontalOptions="End" VerticalOptions="Center"…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
4,813 questions
asked 2023-01-16T08:08:49.1933333+00:00
현명 지 1 Reputation point
commented 2023-02-02T08:49:00.3766667+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 11,216 Reputation points Microsoft Employee
1 answer

Xamarin pushnotification OnMeasageRecieved event is not triggering in background and killed mode.

I have a Xamarin application and want to navigate to different pages when the user taps on the push notification Using azure notification hubs to sent notification.But in android this is not working while the app is in background and on killed mode.…

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,983 questions
Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
4,813 questions
asked 2023-01-22T14:45:20.0166667+00:00
Swathi J 1 Reputation point
commented 2023-02-02T08:48:19.27+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 11,216 Reputation points Microsoft Employee
1 answer

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,813 questions
asked 2023-01-30T13:49:17.2833333+00:00
Andreas Gossweiler 0 Reputation points
edited an answer 2023-02-02T03:45:33.2866667+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 15,741 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,813 questions
asked 2023-01-25T06:26:49.88+00:00
Mohanasundharam Murugan 20 Reputation points
commented 2023-02-02T03:15:47.5866667+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 15,741 Reputation points Microsoft Employee
2 answers

Will Xamarin Native be supported in MAUI world

Hello. I've found official end-of-support date for Xamarin: https://dotnet.microsoft.com/en-us/platform/support/policy/xamarin But I've heard, tht Xamarin Native is technology behind MAUI, and it will continue to be supported after that date. It will be…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
4,813 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
910 questions
asked 2023-02-01T12:25:06.19+00:00
Сергей 0 Reputation points
answered 2023-02-01T20:35:10.55+00:00
Graham McKechnie 156 Reputation points
2 answers One of the answers was accepted by the question author.

How to change scrollbar color and visible state of Scrollview

https://learn.microsoft.com/en-us/answers/questions/1124908/change-scroll-appearance-in-xamarin39s-listview.html I would like to know how to change the scrollbar color and visible state of Scrollview. I've asked a similar question before. Please…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
4,813 questions
asked 2023-01-06T07:37:01.437+00:00
영훈 정 261 Reputation points
commented 2023-02-01T07:12:00.2233333+00:00
영훈 정 261 Reputation points
1 answer

What is projectname.iOS file which is huge in size created using Xamarin ios shown inside payload

When we create IPA in Xamarin using visula studio and we check the contents of the IPA using below method. Create IPA. Change the extension of IPA from .ipa to .zip Payload folder will get created In the Payload folder Projectname.iOS file will be…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
4,813 questions
asked 2023-01-31T12:58:42.0533333+00:00
Jadhav, Snehal [MN035] 0 Reputation points
answered 2023-02-01T05:35:31.5933333+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 15,741 Reputation points Microsoft Employee
2 answers One of the answers was accepted by the question author.

Using Xamarin framework for coding in C#

I have completely mortgaged off my new Mac Mini 2020 with M1 chip implanted. Now that I have done that, and that I have an iPhone and Android mobile OS installed tablets - namely, a Samsung tablet brand, I want to learn quickly to code using their…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
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.
6,983 questions
asked 2023-01-31T13:50:09.4533333+00:00
John 141 Reputation points
accepted 2023-01-31T23:24:24.6766667+00:00
John 141 Reputation points
2 answers One of the answers was accepted by the question author.

How do I get the List from firebase sorted?

The items display but I want them to be in ClubId order but can't get it to sort. What do I need to fix? Model/Club.cs public class Club { public int ClubId { get; set; } public string DateTime { get; set; } …

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
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.
6,983 questions
asked 2023-01-16T01:25:36.04+00:00
Bruce Krueger 306 Reputation points
accepted 2023-01-31T19:54:06.73+00:00
Bruce Krueger 306 Reputation points
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,813 questions
asked 2023-01-26T11:10:54.5066667+00:00
Pelin Konaray 266 Reputation points
commented 2023-01-31T05:31:01.6333333+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 41,496 Reputation points Microsoft Employee
1 answer

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,813 questions
asked 2023-01-30T07:42:11.72+00:00
Alice 26 Reputation points
answered 2023-01-31T05:03:30.5166667+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 11,216 Reputation points Microsoft Employee
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,813 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,496 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,813 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
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,813 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,813 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