5,381 questions with Developer technologies | .NET | Xamarin tags

Sort by: Updated
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…

Developer technologies | .NET | Xamarin
Developer technologies | .NET | Other
Developer technologies | C#
asked 2024-09-30T17:53:56.1433333+00:00
Nathan Sokalski 4,111 Reputation points
commented 2024-10-10T01:09:56.3033333+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 50,126 Reputation points Microsoft External Staff
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 ->…

Developer technologies | .NET | Xamarin
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…

Developer technologies | .NET | Xamarin
Developer technologies | C#
asked 2024-09-27T18:59:44.78+00:00
Nathan Sokalski 4,111 Reputation points
commented 2024-10-09T07:12:00.1+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 50,126 Reputation points Microsoft External Staff
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: …

Developer technologies | .NET | Xamarin
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.) 36,436 Reputation points Microsoft External Staff
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"…

Developer technologies | .NET | Xamarin
Developer technologies | .NET | Other
asked 2024-10-08T17:48:07.66+00:00
Nathan Sokalski 4,111 Reputation points
commented 2024-10-09T01:59:10.2766667+00:00
Anonymous
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"…

Developer technologies | .NET | Xamarin
Developer technologies | .NET | Other
Developer technologies | C#
asked 2024-10-08T23:24:55.4166667+00:00
Nathan Sokalski 4,111 Reputation points
commented 2024-10-09T01:57:08.1366667+00:00
Anonymous
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…

Developer technologies | .NET | Xamarin
Developer technologies | .NET | Other
Developer technologies | Visual Studio | Other
asked 2024-10-08T20:31:29.3866667+00:00
Nathan Sokalski 4,111 Reputation points
edited a comment 2024-10-09T01:53:08.8033333+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 50,126 Reputation points Microsoft External Staff
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"…

Developer technologies | .NET | Xamarin
asked 2024-10-04T15:53:27.25+00:00
CSharpest 0 Reputation points
answered 2024-10-08T23:10:52.17+00:00
Graham McKechnie 441 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…

Developer technologies | .NET | Xamarin
Developer technologies | .NET | Other
asked 2024-10-06T22:00:08.9233333+00:00
Nathan Sokalski 4,111 Reputation points
commented 2024-10-07T02:13:46.4133333+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 50,126 Reputation points Microsoft External Staff
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…

Developer technologies | .NET | Xamarin
Developer technologies | .NET | Other
Developer technologies | Visual Studio | Other
asked 2024-09-28T15:41:07.3533333+00:00
Nathan Sokalski 4,111 Reputation points
edited an answer 2024-10-04T06:41:58.22+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 50,126 Reputation points Microsoft External Staff
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

Developer technologies | .NET | Xamarin
Developer technologies | Visual Studio | Debugging
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
Anonymous
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…

Developer technologies | .NET | Xamarin
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.) 36,436 Reputation points Microsoft External Staff
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…

Developer technologies | .NET | Xamarin
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.) 50,126 Reputation points Microsoft External Staff
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" …

Developer technologies | .NET | Xamarin
asked 2022-07-18T17:30:32.133+00:00
Nathan Sokalski 4,111 Reputation points
accepted 2024-10-02T18:58:42.5433333+00:00
Nathan Sokalski 4,111 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.
383 questions
Developer technologies | .NET | Xamarin
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() { …

Developer technologies | .NET | Xamarin
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…

Developer technologies | .NET | Xamarin
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…

Developer technologies | .NET | Xamarin
Developer technologies | C#
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.) 50,126 Reputation points Microsoft External Staff
1 answer

I have an application in Xamarin Forms and it stopped working on iPhones that updated to iOS 18.0

I have an application in Xamarin Forms and it stopped working on iPhones that updated to iOS 18.0 The first time I compile the application it works normally, but if I finish it and open it again, it crashes and becomes practically inoperative. I develop…

Developer technologies | .NET | Xamarin
Developer technologies | Visual Studio | Other
asked 2024-09-26T14:45:52+00:00
Miguel Pires 0 Reputation points
answered 2024-09-26T18:05:05.96+00:00
Bruce (SqlWork.com) 78,006 Reputation points Volunteer Moderator
0 answers

crc643f46942d9dd1fff9.FormsAppCompatActivity.n_onStart java.lang.IllegalStateException

need help. I don't know why my app isn't working or force close. I use Xamarin.Forms 5.0.0.2012 with the following error: crc643f46942d9dd1fff9.FormsAppCompatActivity.n_onStart java.lang.IllegalStateException Stack trace: Type…

Developer technologies | .NET | Xamarin
asked 2024-09-12T08:59:35.4533333+00:00
dimas kursiana 0 Reputation points
edited the question 2024-09-25T07:23:43.19+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 50,126 Reputation points Microsoft External Staff