5,354 questions with Xamarin tags

Sort by: Updated
0 answers

Pre-Measuring a RecyclerView

I have a Custom View that inherits from RecyclerView. Once created, the RecyclerView will always have the same number of items, all of which will remain the same size once created. All other items on the page will remain the same size as well (except of…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,354 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,868 questions
asked 2024-10-13T02:22:46.6466667+00:00
Nathan Sokalski 4,106 Reputation points
commented 2024-10-14T07:54:44.2366667+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 75,746 Reputation points Microsoft Vendor
0 answers

One of RECEIVER_EXPORTED or RECEIVER_NOT_EXPORTED should be specified when a receiver isn't being registered exclusively for system broadcasts

I have a Xamarin Android application that integrates the uGrokit RFID library. Recently, I updated the targetSdkVersion to 34 in the Android Manifest. After deploying the build, the app works without crashes on devices running Android 13. However,…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,354 questions
asked 2024-10-10T14:52:45.45+00:00
Muthu Madhavan 0 Reputation points
edited a comment 2024-10-11T08:04:18.9266667+00:00
Muthu Madhavan 0 Reputation points
1 answer

Theme.MaterialComponents.Light.NoActionBar Causes Visual Studio 2022 to Ignore My Styles in Designer

I am attempting to add a com.google.android.material.slider.Slider to my Xamarin.Android app. This forced me to change my AppTheme is styles.xml to Theme.MaterialComponents.Light.NoActionBar instead of Theme.Design.NoActionBar. Doing this caused the…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,354 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,868 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.
10,943 questions
asked 2024-09-30T17:53:56.1433333+00:00
Nathan Sokalski 4,106 Reputation points
commented 2024-10-10T01:09:56.3033333+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 43,051 Reputation points Microsoft Vendor
2 answers

Visual Studio 2022 Xamarin Forms UWP Create App Package Error: Task 'SignAppxPackage' failed. The application has failed to start because its side-by-side configuration is incorrect.

I am trying to create an app package (for my Xamarin Forms UWP app) to upload to the windows store. I am using Microsoft Visual Studio Professional 2022 (ARM 64-bit) Version 17.8.3. In Visual Studio, I right-click on the UWP project -> Publish ->…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,354 questions
asked 2024-07-02T11:18:30.5366667+00:00
Andrea Christy 5 Reputation points
commented 2024-10-09T09:07:30.5466667+00:00
BackNot 46 Reputation points
1 answer

Customizing Layout / Position of RadioButton Without RadioButtonGroup

I want the layout of my app to have several RadioButton(s) that are arranged in very unusual ways, there are other View(s) in the layout that make RadioButtonGroup inappropriate because it would contain many other View(s) and be hard to layout. I am…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,354 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.
10,943 questions
asked 2024-09-27T18:59:44.78+00:00
Nathan Sokalski 4,106 Reputation points
commented 2024-10-09T07:12:00.1+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 43,051 Reputation points Microsoft Vendor
0 answers

Xamarin/MAUI iOS Local Push Connectivity

I have the local push entitlement from apple and also a separate bundle id for a new local push extension. I am project referencing this extension project from my main iOS .csproj and setting these flags: …

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,354 questions
asked 2024-09-11T18:35:25.5966667+00:00
Kim, Do Hyung 0 Reputation points
edited the question 2024-10-09T06:49:12.9033333+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 31,716 Reputation points Microsoft Vendor
0 answers

Measuring A Slider Inside A Custom View Inheriting From GridLayout

I have a Custom View that inherits from GridLayout. The xml layout file is as follows: <?xml version="1.0" encoding="utf-8"?> <GridLayout xmlns:android="http://schemas.android.com/apk/res/android"…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,354 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,868 questions
asked 2024-10-08T17:48:07.66+00:00
Nathan Sokalski 4,106 Reputation points
commented 2024-10-09T01:59:10.2766667+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 75,746 Reputation points Microsoft Vendor
0 answers

Measuring A Slider Inside A Custom View Inheriting From GridLayout

I have a Custom View that inherits from GridLayout. The xml layout file is as follows: <?xml version="1.0" encoding="utf-8"?> <GridLayout xmlns:android="http://schemas.android.com/apk/res/android"…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,354 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,868 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.
10,943 questions
asked 2024-10-08T23:24:55.4166667+00:00
Nathan Sokalski 4,106 Reputation points
commented 2024-10-09T01:57:08.1366667+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 75,746 Reputation points Microsoft Vendor
0 answers

Previewing Xamarin.Android ScrollView Content In Visual Studio 2022 Designer

I have a Xamarin.Android app that contains a ScrollView. Everything functions perfectly, but because there is obviously more content than fits on the screen (which is, of course, why I am using a ScrollView), it is not all visible in the Visual Studio…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,354 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,868 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,137 questions
asked 2024-10-08T20:31:29.3866667+00:00
Nathan Sokalski 4,106 Reputation points
edited a comment 2024-10-09T01:53:08.8033333+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 43,051 Reputation points Microsoft Vendor
2 answers

Xamarin Forms / API Level 34 / Deployment Failed

While migrating the mobile app to some new tech, we need to deploy an update to our current app which requires Android 14. I've updated the AndroidManifest.xml to 34: <uses-sdk android:minSdkVersion="28"…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,354 questions
asked 2024-10-04T15:53:27.25+00:00
CSharpest 0 Reputation points
answered 2024-10-08T23:10:52.17+00:00
Graham McKechnie 416 Reputation points
0 answers

Centering a VectorDrawable in a RecyclerView ViewHolder

I have a Xamarin.Android app that contains a RecyclerView, which uses a ViewHolder whose root element is a GridLayout. I have a VectorDrawable (a .xml file in my drawable folder) that I want to center in the ViewHolder. I have tried doing this several…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,354 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,868 questions
asked 2024-10-06T22:00:08.9233333+00:00
Nathan Sokalski 4,106 Reputation points
commented 2024-10-07T02:13:46.4133333+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 43,051 Reputation points Microsoft Vendor
1 answer

Slider vs SeekBar on Xamarin.Android in Visual Studio 2022

I am working on adding a Slider or SeekBar to a Xamarin.Android app. There are 2 scenarios in which I will be using this. The first one is just a simple standard select a value from x to y scenario. The second scenario is more unique, although I have…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,354 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,868 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,137 questions
asked 2024-09-28T15:41:07.3533333+00:00
Nathan Sokalski 4,106 Reputation points
edited an answer 2024-10-04T06:41:58.22+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 43,051 Reputation points Microsoft Vendor
0 answers

Lower the 'Deployment Target' to see older simulators or check your Apple SDK path warning after update

I can't run my Xamarin Forms application on Mac in the simulator, writes: Lower the 'Deployment Target' to see older simulators or check your Apple SDK path warning after update

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,354 questions
Visual Studio Debugging
Visual Studio Debugging
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Debugging: The act or process of detecting, locating, and correcting logical or syntactical errors in a program or malfunctions in hardware. In hardware contexts, the term troubleshoot is the term more frequently used, especially if the problem is major.
1,000 questions
asked 2024-09-30T10:38:11.03+00:00
Vladimir Platun 0 Reputation points
edited a comment 2024-10-04T06:10:31.75+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 75,746 Reputation points Microsoft Vendor
0 answers

Xamarin ios push notification not working

I have a problem with push notifications on a xamarin project situation: I have a working xamarin android / ios code with bundle id com.xxxx.abc. I have to republish the same app with a different brand, I created a new plist, new registration on…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,354 questions
asked 2024-09-27T08:18:35.0266667+00:00
vincenzo cerbino 0 Reputation points
edited a comment 2024-10-04T06:08:17.3833333+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 31,716 Reputation points Microsoft Vendor
1 answer

How to add google tag manager in Xamarin forms app

I want to integrate Google Tag Manager into our existing Xamarin.Forms app, which is developed using the .NET Standard 2.1 framework. This integration will enable us to manage and deploy marketing tags and tracking scripts more efficiently without…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,354 questions
asked 2024-09-19T12:31:50.18+00:00
Saurabh Yadav 0 Reputation points
commented 2024-10-04T00:37:39.7466667+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 43,051 Reputation points Microsoft Vendor
2 answers

Adding Ticks & Labels To A com.google.android.material.slider.Slider

I currently have a com.google.android.material.slider.Slider using the following code and creates the following screenshot: <com.google.android.material.slider.Slider android:id="@+id/sldPlayersPerTeam" …

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,354 questions
asked 2022-07-18T17:30:32.133+00:00
Nathan Sokalski 4,106 Reputation points
accepted 2024-10-02T18:58:42.5433333+00:00
Nathan Sokalski 4,106 Reputation points
3 answers One of the answers was accepted by the question author.

FCM V1 notifications are not delivered from Azure Notification Hub

I am following this Microsoft Guide to migrate from GCM/FCM notifications to FCM v1. From the guide, I - Configured the Firebase Service Account Credentials in Azure Notification Hub Updaeted backend and app (Xamarin) to use FCM v1 platform during…

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.
320 questions
Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,354 questions
asked 2024-04-16T12:06:03.7033333+00:00
Hiran Desai 50 Reputation points
answered 2024-10-01T10:56:36.9166667+00:00
Pieter Nijs 1 Reputation point MVP
1 answer One of the answers was accepted by the question author.

OnAppearing does not get executed in Shell in Xamarin.forms

OnAppearing method does not get executed public partial class AppShell : Shell { public AppShell() { InitializeComponent(); } protected override void OnAppearing() { …

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,354 questions
asked 2022-03-17T09:48:11.047+00:00
Seun Tope 21 Reputation points
accepted 2024-10-01T06:09:46.6866667+00:00
Seun Tope 21 Reputation points
1 answer One of the answers was accepted by the question author.

Working with focused items displayed in a CollectionView

I have a Xamarin project with a form which displays object instances stored in an ObservableCollection. The ObservableCollection items are displayed in a CollectionView. Each item contains its own Picker and Entry controls. My problem is, I need to…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,354 questions
asked 2021-10-13T21:16:22.54+00:00
EricO 26 Reputation points
commented 2024-09-28T14:54:38.7766667+00:00
1 answer

How to log in with HTTP POST protocol first and then show the homepage with "WebView" package?

How to log in with HTTP POST protocol first and then show the homepage with "WebView" package? The website needs to log in with HTTP POST protocol first, and then the web will be directed to its homepage. The code shows me logging in…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,354 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.
10,943 questions
asked 2024-09-26T05:05:19.2033333+00:00
HC 1 Reputation point
commented 2024-09-27T07:18:45.41+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 43,051 Reputation points Microsoft Vendor