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…
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…
How to read data from Serial Ports on Android using MAUI
Hi everyone, I'm working on a .NET MAUI app for Android and I’m having some trouble. Right now, my code just displays the connected USB devices info, but I actually need to read data from serial ports instead. Here's the code I have so far: #if…
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 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…
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…
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…
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…
Xamarin.iOS: Failed to generate Ad-Hoc | Release Build from Migrated Project (Microsoft.NET.Sdk)
Hello, Error: Configuration doesn't target device Tools: Visual Studio 2022 (Version 17.6.14) According to the process of upgrade project from Xamarin to .Net sdk style, we have migrated Xamarin.iOS (native) project into sdk style project…
Changing the color of a single color drawable png
I have a Xamarin.Android project with several single color (black & transparent) png's in my Drawable folder. I want to be able to dynamically make these images different colors by specifying a System.Drawing.Color or Android.Graphics.Color. To put…
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…
NullReferenceException when building Xamarin Android Binding Library
I've been trying to build a Xamarin Android Binding Library having a .jar file in it. It builds just as expected with different .jar-s I tried, however when I add jackson-databind library, I keep receiving BINDINGSGENERATOR : error BG0000:…
Xamarin.Forms 5.0.0.8532 not available in https://www.nuget.org/packages/Xamarin.Forms
Currently on the official nuget package page (https://nuget.org/packages/Xamarin.Forms ) you can only download Xamarin.Forms up to version 5.0.0.2662, but within Visual Studio my project has version 5.0.0.8532+0-pr.15765-sha.fb33d7158-azdo.88278, why is…
Mobile SSO doesn't work on iOS (Specially for iPhone11 ) when using Microsoft Authenticator App for MFA
I incorporated Microsoft.Identity.Client API for user authentication. The user provided their credentials and received a one-time OTP. The user then interacted with the Authenticator app by tapping on notifications. After tapping the notification, they…
Emulator not running. Could not get emulator name after starting AVD
I recently installed windows 11 and android emulator stopped working. I recently installed windows 11 and android emulator stopped working. This is the errorstrong text my configuration is I have tried different combinations…
Xamarin MSAL Azure AD ADFS AcquireTokenInteractive error
Hi I just seen this error in our app , ERROR Web page not Available The web page at https://adfs.srm.com/adfs/ls/wia?client-request-id=########## Could not be loaded because : net::ERR_HTTP_RESPONSE_CODE_FAILURE Normally the user enter their email…
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: …
Using an iOS storyboard and viewcontroller in Maui
I am in the process of porting my xamarin.ios project to maui. Unfortuanately I have a storyboard and viewcontroller I cannot replicate in maui. (Dropbox) Is there a way I can use that part in my maui project? I copied the files to Platforms/iOS but not…
How to Deploy Xamarin 4.8 Apps to Simulator with VS Code on Mac After Migration?
Hi everyone, With Visual Studio for Mac being dropped, I’ve migrated to using VS Code for Mac and am using Meteor as a simulator for my Xamarin 4.8 app development. I’m trying to deploy a Xamarin 4.8 application to the simulator, but I’ve encountered an…
Migrating from MasterDetail to Flyout, and how to make a common page view?
Yes, I am aware there are two questions to this, perhaps a third in asking if I even need to worry about migrating from MasterDetail at all. I've been going over my code, migrating some API's and so on. One issue I have been finding is that…