Microsoft Q&A

Xamarin

5,115 questions

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

Browse all .NET tags

5,115 questions with Xamarin tags

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

Button command is not working with Binding context in xamarin forms using MVVM

If we give BindingContext value for button , then button command is not hitting on click event in xamarin forms with MVVM architecture. From the below code snippet I have given BindingContext value as 1. So, when I click on Button the command is not…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,115 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.
8,835 questions
asked 2023-09-01T09:20:53.31+00:00
Sindhu Kalyanapu 21 Reputation points
accepted 2023-09-07T10:27:35.5533333+00:00
Sindhu Kalyanapu 21 Reputation points
0 answers

Getting issue while running the Xamarin profiler on solution.. it's always say your runtime device is too old, deploy your app again with newer version.

Here is log info.......... XamarinProfiler.Core.Profiler Information: 0 : [2023-09-06 15:15:33.4542] ########################################## XamarinProfiler.Core.Profiler Information: 0 : [2023-09-06 15:15:33.4552] # Xamarin Profiler version - …

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,115 questions
asked 2023-09-06T10:00:30.8266667+00:00
Pawan Gupta 0 Reputation points
edited a comment 2023-09-07T09:20:10.8766667+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 22,071 Reputation points Microsoft Vendor
0 answers

Xamarin CarPlay InformationTemplate Custom Back Button Handle Problem

Our xamarin forms project supported CarPlay and has a information template. I want to use custom back button on information template but handle function not working. Back button create function codes: private CPBarButton GetBackButton() …

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,115 questions
asked 2023-09-06T11:00:53.32+00:00
Mehmet Sandıklı 0 Reputation points
commented 2023-09-07T05:23:22.55+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 20,496 Reputation points Microsoft Vendor
1 answer

Xamarin Forms Push notifications on Chinese ROMS

I have a Xamarin Forms app with push notifications serviced through Azure Notification Hubs and FCM. All working fine on all states - foreground and background. Most devices work OK with the app killed as well - however, on Oppo and TCL devices the…

Azure Notification Hubs
Azure Notification Hubs
An Azure service that is used to send push notifications to all major platforms from the cloud or on-premises environments.
198 questions
Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,115 questions
asked 2023-09-05T16:34:02.3533333+00:00
Raymond Dillon 0 Reputation points
commented 2023-09-07T03:03:55.03+00:00
ajkuma 17,116 Reputation points Microsoft Employee
1 answer One of the answers was accepted by the question author.

Java.Lang.Object in Custom ItemViewAdapter for Android lost event handlers when item count is a little big

I created two Adapter classes inheriting from BaseAdapter, which attempt to eliminate some unnecessary coupling: SharedItemViewAdapter<TData>: GetView method uses classic form to share views across multiple items; …

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,115 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
3,693 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.
8,835 questions
asked 2023-09-01T09:40:53.4866667+00:00
xi guo 40 Reputation points
accepted 2023-09-07T01:30:50.5266667+00:00
xi guo 40 Reputation points
0 answers

macos workload on Visual Studio 2022 showing as "Out of Support"

I am working to create a Mac App in Visual Studio for Mac using the "macos" workload, which is the successor to the Xamarin platform (as I understand). However, when I build the application, I receive a warning indicating that this workload is…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,115 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
1,952 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
3,693 questions
asked 2023-07-23T21:29:12.1866667+00:00
Kirk Jacobson 5 Reputation points
commented 2023-09-07T00:20:33.99+00:00
Jess Perkins 0 Reputation points
13 answers

To Bundle or .apk? Android app

Hello, I'm going through the throws of releasing first build to the Google Play Store. Up to now I've always built to .apk and deployed to test devices. The .apk is signed with my own .snk and .keystore The app is also obfuscated. All runs on…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,115 questions
asked 2020-12-03T14:29:57.057+00:00
LMiles 6 Reputation points
answered 2023-09-06T20:14:54.43+00:00
bipoxe 0 Reputation points
0 answers

Xamarin carplay supported ios app crashes when starting

Our app crashes as soon as it is launched after carplay integration. if i install directly (from ipa) it works. But if I install from testflight it crashes. If you remove …

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,115 questions
asked 2023-09-06T10:59:45.6+00:00
Mehmet Sandıklı 0 Reputation points
commented 2023-09-06T13:29:21.9966667+00:00
Mehmet Sandıklı 0 Reputation points
1 answer

p8 certificate for remote messaging (azure notifications hub) problems?

Running into an problems setting up remote messaging: We have followed this guide: https://learn.microsoft.com/en-us/azure/notification-hubs/xamarin-notification-hubs-ios-push-notification-apns-get-started which includes setting up a .p8 certificates on…

Azure Notification Hubs
Azure Notification Hubs
An Azure service that is used to send push notifications to all major platforms from the cloud or on-premises environments.
198 questions
Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,115 questions
Microsoft Intune iOS
Microsoft Intune iOS
Microsoft Intune: A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.iOS: An Apple mobile operating system.
112 questions
asked 2023-08-30T03:39:38.47+00:00
Leonard Harris 6 Reputation points
edited a comment 2023-09-05T23:02:56.09+00:00
Leonard Harris 6 Reputation points
1 answer

How to build Xamarin iOS after iOS MAC is discontinue in 2024

Being that MAC Visual Studio 2024 is being discontinued in August of 2024, those of use with an Xamarin app, how we continue to build the iOS portion?

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,115 questions
asked 2023-09-05T14:02:56.1066667+00:00
Seth Isaacks 46 Reputation points
answered 2023-09-05T15:19:10.6433333+00:00
Bruce (SqlWork.com) 42,931 Reputation points
1 answer One of the answers was accepted by the question author.

Categorizing fruits and vegetables.

I just need some basic guidance then I can work it out. I am creating an app that allows the user to select fruits and vegetables then it list's the fruit and vegetable quantities on a List content page. I can get the fruit and vegetable to display on…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,115 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
1,952 questions
asked 2023-09-02T12:51:56.2066667+00:00
Matthew Zoljan 40 Reputation points
accepted 2023-09-04T10:39:29.6033333+00:00
Matthew Zoljan 40 Reputation points
0 answers

iOS app suddenly kicking out can not encode offset

Hi, I have a VS 2019 project for iOS with Xamarin. It was working fine in June, I have my SKD version set for 10.2 and supported architectures set to ARMv7 + ARM64. Today I loaded up my project as I wanted to check something but when I go to build I now…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,115 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.
8,835 questions
asked 2023-08-31T23:31:24.8266667+00:00
Phunction 196 Reputation points
commented 2023-09-04T08:28:23.6333333+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 22,071 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

How to create subdirectories ?

For Xamarin.Android application, how can I configure to create subdirectories, or even subdirectories, in these directories(such as Resources\layout, Resources\values, Resources\drawable, and so on) so that I can sort out programs that have multiple…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,115 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
3,693 questions
asked 2023-09-01T19:05:33.7633333+00:00
xi guo 40 Reputation points
accepted 2023-09-04T08:20:17.1266667+00:00
xi guo 40 Reputation points
0 answers

FilePicker.PickAsync(PickOptions.Default) does always fail, how to fix it?

using Xamarin.Essentials; already: <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" /> <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> When I try this: …

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,115 questions
asked 2023-08-23T19:56:00.8766667+00:00
xi guo 40 Reputation points
commented 2023-09-04T00:52:29.4766667+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 20,496 Reputation points Microsoft Vendor
3 answers One of the answers was accepted by the question author.

How to prevent to navigate to the previous page

Hello In android app xamarin In my app i have 2 activities. Is there a possibility to prevent the user to navigate to the previous activity (the last page). when i click the > on the bottom toolbar i navigate to the last page so i would like…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,115 questions
asked 2023-08-30T19:34:37.52+00:00
Shay Wilner 1,686 Reputation points
answered 2023-09-04T00:13:12.0233333+00:00
Graham McKechnie 241 Reputation points
0 answers

How to shipped UWP platform specific assemblies (ANY CPU, X86,x64,ARM) inside lib/uap10.0

How to shipped UWP platform specific assemblies (ANY CPU, X86,x64,ARM) inside lib/uap10.0

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,115 questions
Universal Windows Platform (UWP)
asked 2023-08-18T05:45:53.7466667+00:00
Hemalatha Duraisamy 0 Reputation points
commented 2023-09-01T06:28:59.66+00:00
Hemalatha Duraisamy 0 Reputation points
0 answers

Crashlytics integration in Xamarin

I have integrated Firebase Crashlytics and Analytics in Xamarin projects. Crashes and Analytics logs are not observed on firebase console . for Crashlytics getting some DSYM files missing issue I have uploaded few dsym files manually but still I see…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,115 questions
asked 2023-08-31T07:15:01.4833333+00:00
M Lavanya (ext) INHY 0 Reputation points
commented 2023-09-01T05:52:35.57+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 20,496 Reputation points Microsoft Vendor
5 answers

Apple Developer Account: Individual - error 'There was an error while trying to log in: Provide a properly configured and signed bearer token, and make sure that it has not expired learn more about generating tokens for API requests'

I have an issue when trying to sign in with my apple developer account on visual studio 2022 (v17.4.1). Firstly, I when trying to sign in as an 'individual account' I get this error ‘there was an error while loading your certificates: The Apple Developer…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,115 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
3,693 questions
asked 2022-11-22T08:48:18.217+00:00
Brian Kekana 16 Reputation points
answered 2023-08-31T20:44:21.58+00:00
Brett Whittaker 0 Reputation points
0 answers

Xamarin android 13, Popup permission notification and Popup

Hi developer, Can i call this function for check permission and request permission popup in other file cs ? At the moment only can call this function in mainactivity.cs? if ((int)Build.VERSION.SdkInt < 33) { return; …

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,115 questions
asked 2023-08-30T04:38:50.9366667+00:00
dimas kursiana 0 Reputation points
edited the question 2023-08-31T16:12:12.4333333+00:00
Rob Caplan - MSFT 5,127 Reputation points Microsoft Employee
0 answers

Label isn't Centered Correctly in Grids Bottom Row

I'm using a grid to display a user's character progression but for some reason, my label on the bottom Row isn't being centered correctly. Regardless of the Font Size, "lblLevel" is being centered out of the grid rows bounds. On iOS, the…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,115 questions
asked 2023-08-08T11:47:25.23+00:00
Bryson 0 Reputation points
edited the question 2023-08-31T03:07:45.86+00:00
Jack J Jun 23,936 Reputation points Microsoft Vendor