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

4,813 questions with Xamarin tags

Sort by: Updated
0 answers

How create a Xamarin Android distro than can be sideloaded?

I have done this before. I believe in Android Porject->Properties->Archive I used to be able to create an APK that could then be sideloaded from a shared Windows server onto an Android device. I am now on VS 2022 and it seems the only Archive…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
4,813 questions
asked 2023-02-01T17:24:30.1866667+00:00
Charles Mills 26 Reputation points
commented 2023-02-02T19:54:21.3066667+00:00
Charles Mills 26 Reputation points
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,813 questions
asked 2023-01-25T21:38:47.23+00:00
Universal Camera 286 Reputation points
commented 2023-02-02T18:33:55.6533333+00:00
Rob Caplan - MSFT 4,026 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,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
0 answers

Insecure Storage: Android World Readable or Writeable issue

We are reports from static scanning engines of "Insecure Storage: Android World Readable or Writeable" issues for our Xamarin mobile apps. The specific paths highlighted are: /data/data/[app name]/files/.config /data/data/[app…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
4,813 questions
asked 2023-02-02T14:19:25.06+00:00
Kavanagh, John 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
0 answers

How to program the OnBackButtonPressed Xamarin

Hello I implented the the Mediapicker in my xamarin page, but if I am in the menu for "Picking up Photo" I try to click on Back Button to turn back to the previous Mainpage but it doesnt work because the BackButton is not defined. Please…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
4,813 questions
asked 2023-02-02T11:14:10.31+00:00
Wanderer in der tiefen Nacht 0 Reputation points
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,980 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
0 answers

How to protect .apk file generated from Visual studio from tampering ?

We have developed the app using Xamarin Android native. While decompiling the apk we can see the manifest file is accessible and able to add debug options.How to protect it ?

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
4,813 questions
asked 2023-02-02T08:51:13.74+00:00
V, Kavyasri 21 Reputation points
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.…

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-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
0 answers

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,813 questions
asked 2023-01-26T09:28:50.3866667+00:00
cristopheB 476 Reputation points
commented 2023-02-02T08:45:20.4133333+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 41,496 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