Questions tagged [xamarin]

Xamarin is a platform consisting of Xamarin.iOS, Xamarin.Android, Xamarin.Mac and Xamarin Test Cloud. It allows you to write cross-platform native Apps for iOS, Android and Mac and follow your app through its entire lifecycle. The introduction of Xamarin.Forms supports Native UI development for iOS, Android and Windows

Filter by
Sorted by
Tagged with
1 vote
0 answers
9 views

Running Web Server does not work in Xamarin.iOS in (IOS-17)

I am facing an issue while running a web server within my Xamarin iOS application using the EmbedIO library. The web server serves static files, and it works perfectly on older iOS versions and in the ...
RaGib Noor's user avatar
0 votes
0 answers
5 views

How can I use a button with a keyboard open in xamarin

I'm trying to do a chat page, so I have an entry and a button to send the message, both in a Absolute Layout in a Scroll View but when my keyboard is open, I can't click on my button, the keyboard ...
Antoine21000's user avatar
0 votes
1 answer
34 views

How to change the background color of a Xamarin Forms picker GUI?

I want to preface this by saying most threads I've researched show how to change the background color of the picker element itself, NOT the GUI. The White Android GUI is really off-putting and doesn't ...
Vincent Bottini's user avatar
0 votes
0 answers
21 views

how to upload multiple files in webview in xamarin

only one file upload by this code how we upload multiple files in web view. protected override void OnActivityResult(int requestCode, [GeneratedEnum] Result resultCode, Intent data) { ...
Arvind Tyagi's user avatar
0 votes
0 answers
20 views

CollectionView works with delay in .net maui

I created this simple app in .net maui and I used CollectionView and SwipeGestureRecognizer for switching between months . the problem is that the app works very slow . when I slide to right or left ...
Alireza's user avatar
-3 votes
0 answers
24 views

Pairing visual studio 2022 with MAC

Good morning , When archiving xamarin.ios project, I get this error and I don't understand why it appears. The pairing with MAC is done very well but I have this exception capture I deleted the .vs, ...
Yannick cleo's user avatar
0 votes
0 answers
30 views

Xamarin ListView ObservableCollection scrolling

I am currently looking at options for an infinite scroll for a ListView/ObservableCollection with an API datasource. So far, I have the stored procedure working as desired, as well as the API calling ...
Joey007's user avatar
0 votes
0 answers
26 views

How to attach debugger in Visual Studio 2022 to a Xamarin process running on a physical Android device?

I'm currently working on an Android application that utilizes MSAL (Microsoft Authentication Library). I've encountered an issue where my app is being terminated due to resource constraints. When the ...
Arvold's user avatar
  • 1
0 votes
0 answers
50 views

Xamarin how to remove extra space at bottom on iOS

Anyone know how to get rid of the bottom white space which shows up on iOS only (android is fine). Here is a basic grid which should put the red row 2 at the bottom of the page but it doesn't. Code: &...
jess's user avatar
  • 3
0 votes
0 answers
37 views

Detecting media buttons not working (Xamarin.Forms)

I'm currently developing a music player application for Android in Xamarin.Forms and I have encountered an issue with detecting the forward (next song) and backward (previous song) media buttons on ...
Nowam's user avatar
  • 15
0 votes
1 answer
24 views

Does googles MLKit work on iOS for Maui in .NET

Does the google MLKit work in Maui for iOS? Specifically I am trying to use the library Xamarin.GooglePlayServices.MLKit.BarcodeScanning which I believe is possibly the same library as Xamarin.Google....
Maxim Gershkovich's user avatar
0 votes
0 answers
25 views

ListView not updating after modal page actions in Xamarin Forms

I'm creating an application in Xamarin Forms. I have a TabbedPage with individual ListViews to show and handle coordinates and points. To add/update an item I created a ToolBarItem. This pops up a ...
Craig85's user avatar
0 votes
0 answers
23 views

Mobile login with Google no longer working on Xamarin app

I have a Xamarin mobile app I'm maintaining and API hosted on Azure (didn't write the original code, and I'm not particularly familiar with these platforms). Recently the login began working ...
coder's user avatar
  • 10.5k
0 votes
1 answer
60 views

Button/label inside grid gets incorrect height (Xamarin)

I have two buttons inside a grid, one of them containing a longer text which does not fit on one line. The button with the long text seems to get an incorrect height and some of the text is invisible. ...
Vladimir's user avatar
  • 1,429
0 votes
0 answers
37 views

"Could not determine API level for $(TargetFrameworkVersion) of 'v13.0' ". Error during Build after SDK Update from API Level 31 to 33

I am working on this project which is an Android App, I had to update the SDK Version of Android, and these are the changes I made. Android TargetFramework Upgrade Android Target Android Version ...
Tiko00's user avatar
  • 1
0 votes
0 answers
38 views

xamarin When people click comma (,) on a numeric keyboard nothing happens

So I've inherited a Xamarin (Forms 5.0.0.2587) app with a few number inputs. These inputs are EntryCells with a Keyboard.Numeric. This application is made for a Danish company and some of their users ...
Ja Da's user avatar
  • 249
0 votes
0 answers
39 views

"Failed to get document because the client is offline" error in Xamarin.Forms project

Here is my code of App.xaml.cs file of a Xamarin.Forms project: public partial class App : Application { public App() { CrossFirebaseCrashlytics.Current....
Costas's user avatar
  • 479
1 vote
1 answer
36 views

xamarin,let label react to <strong> or <b>

i have a xamarin label and I fill it up with this text: Hier haben wir einen fettten Text! HIER NICHT MEHR And I want the first part of the label to be bold and tthe second part no longer. I set my ...
inno's user avatar
  • 406
-1 votes
0 answers
27 views

Xamarin Error System.Reflection.TargetInvocationException: [closed]

I'm a Korean girl who has just started studying! There's an error in studying, so I'm trying to ask for help. plz help me.. I'm in hell.... Error Sentence: Application is in suspend mode System....
전예린's user avatar
-1 votes
1 answer
20 views

Problem to install Acr UserDialogs in xamarin forms

Regards my coledges, I am new to programing in xamarin forms with visual studio 2019, and I want to install the nuget package AcrUser Dialogs and give me error: NU1202: Package Acr.UserDialogs 8.0.1 ...
Yoandry Castellanos's user avatar
0 votes
0 answers
20 views

Could not find file or assembly "System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyTok en=b03f5f7f11d50a3a" when called Repl

When I try called .Repl() to see view tree I get the following exception: Could not find file or assembly "System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyTok en=b03f5f7f11d50a3a" ...
Qaz's user avatar
  • 3
0 votes
2 answers
35 views

Android firebase push notification disappears after few seconds, how to hold until taking any action on display?

I have created a android local notification using NotificationCompat.Builder, having two action "Accept" and "Reject", but after showing notification it hides after few seconds at ...
Subrata's user avatar
  • 29
0 votes
1 answer
43 views

Cannot Ping External IP from Xamarin Android Release Build

I am using InetAddress to ping an external IP address from a Xamarin.Android app. It works in DEBUG mode but fails in RELEASE mode. private bool Ping(string ip) { InetAddress inetAddress = ...
viethoang's user avatar
  • 146
0 votes
0 answers
30 views

404 error in Android webview with Okta sign in

I am trying to resolve a problem I am having when trying to signin using okta from a html in a xamarin webview. If I try my html (that is using Okta Sign in widget) in Chrome, this works fine. But ...
Iker's user avatar
  • 1
1 vote
0 answers
121 views

How to disable the iOS 17 Autofill Popup?

Hello dear StackOverflow users, i've encountered an annoying problem within my Xamarin.iOS app. Simply put, starting with iOS 17, a lot of my UITextFields now offer me the AutoFill function. When i ...
AlphaNERD's user avatar
  • 185
1 vote
1 answer
77 views

Xamarin.Android Development Errors: APT2260, APT2062 or Red Lines in MainActivity.cs

I am encountering several issues while developing a Xamarin application. I haven't touched this app a few months and now suddenly I only have the problems with Android. Sometimes the errors APT2260 ...
thejoesy's user avatar
0 votes
0 answers
35 views

Push Notification click for Xamarin Android API 33

I am receiving push notifications but when I click it its not going inside the app . My Firebase class public override void OnMessageReceived(RemoteMessage message) { try { var ...
Aswath Rokzs's user avatar
0 votes
0 answers
25 views

Choose resolution of Image/Video capture C# Android 2023

Hi All I have created a simple android application using VS and Xamarin.Forms, Mediapicker. I have managed to capture images and videos and save in various method but would like to know if there is a ...
TryingAgain's user avatar
0 votes
0 answers
32 views

Android MAUI Datatrigger binding

I have this code in xaml: <Label Text="{Binding StringFormat='{}{0:F2}', Path=Value}" HorizontalTextAlignment="Center" VerticalTextAlignment="End" Grid.Row="1&...
Kalibr's user avatar
  • 1
0 votes
0 answers
22 views

issues with Debugging Xamarin iOS

when I attempt to debug a Xamarin iOS app for a client, I recieve the following error before debug even starts I am unsure what information here would be relevant. It is a multi-platform app that uses ...
Zack Watson's user avatar
0 votes
1 answer
38 views

My ArcSegment doesn't actualize on Xamarin.Ios

<Path x:Name="PathCircle" Stroke="Black" StrokeThickness="17" StrokeLineJoin="Round" TranslationX="125" TranslationY="530"> ...
Antoine21000's user avatar
0 votes
0 answers
47 views

Xamarin iOS not automatic close the application after build

My Xamarin iOS Project not update the app automatically when running the app on the emulator. 3 days ago everything was fine. Every time I click the start button, the app closed and install the new ...
Yohanim's user avatar
  • 3,359
0 votes
0 answers
45 views

Xamarin iOS Error simctl returned exit code 4

Three days ago, my app ran well and deployed smoothly to Emulator on my mac until today when I tried to run again, my apps cannot run with the error Error on Visual Studio Severity Code ...
Yohanim's user avatar
  • 3,359
0 votes
1 answer
50 views

How to make my animation more smooth/fluid in Xamarin.Ios (C#,Xaml)

I try to make a automatic scroll for a label who cannot fit totally fit in a Box View, so I use two list of char, one visible and the other not and switch char from one to other, that wasn't smooth at ...
Antoine21000's user avatar
0 votes
0 answers
47 views

Class * was removed because the Java implemented interface type '*<java.lang.Integer, T>' could not be found. Error binding xamarin android aar

I have tried to binding a AAR library. LogRocket android but i getting the issue" obj/Debug/api.xml.class-parse : warning BG8605: The Java type 'com.logrocket.protobuf.Internal.MapAdapter....
bulubuloa's user avatar
  • 597
0 votes
0 answers
23 views

Xamarin Forms app crash during startup (Android - Phisycal device)

i deployed app developed with xamarin forms (5) and it works perfectly on IOS and Android, BUT some specific device like these (Vivo y21, Realme C55) app crash during startup. The thing very strange ...
Marco Santoro's user avatar
0 votes
0 answers
40 views

.NET MAUI on jetbrains Rider: different statements in MauiProgram.cs when different launch configurations

I want to test my .NET Maui app, and for that, I use the Shiny.xunit.runners.maui library (github project). This library requires some particular statements in the MauiProgram class, which replace the ...
lolveley's user avatar
  • 1,659
1 vote
0 answers
81 views

How can I make a Label scroll automatically in Xamarin.ios (C#, Xaml)

Her's my problem I have a Label (metroLabel) included in a BoxView (BoxLabel), who can display a lot of information, more than the box can fit, so I would like to make the label scroll automatically ...
Antoine21000's user avatar
0 votes
0 answers
30 views

Nuget Update causes Errors in MainActivity

Today I updated my Nuget packages in my Visual Studio Xamarin Forms with a full Android project and an empty IOS one. I updated the packets on the entire project, the IOS project and the Android ...
Ethan Lewis's user avatar
0 votes
1 answer
69 views

DatePicker in MAUI appears full screen and aligned to the left-top corner in Android

Hello. I am developing an MAUI app in which I have to use a customized date picker without borders. However, it appears in the corner of the screen and not in the middle as it should. I am using .Net ...
Mandar Kakade's user avatar
0 votes
0 answers
27 views

Xamarin getting data from TextView that is offscreen

I want to add functionality in my app to save changes. All the fields that can be changed are in RecyclerView. Initially my idea was to gather data from all the TextView-s after the user finished with ...
Kiril's user avatar
  • 41
0 votes
0 answers
31 views

Prefer Xamarin button Clicked event as priority over TouchAction: works in Android, fails in iOS iPhone

I have a Xamarin page with a TouchAction event and some ImageButtons (HorizontalGrid and VerticalGrid). Each of these ImageButtons has a Clicked event. I work with MS Visual Studio, Here is the XAML ...
Ikenna's user avatar
  • 11
0 votes
0 answers
20 views

Horizontal lines in Xamarin Microcharts - line chart

I'm using microcharts on my Xamarin app. Is it possible to display chart like this: Key thing is in horizontal lines. I want to display values on the left side like in the picture above, not on top ...
Stefan Vukovic's user avatar
0 votes
0 answers
36 views

How can I create just a part of a circle in Xamarin

Image I would like to recreate So here is what I would like to have, to get the green circle I create 2 circle one green and one white to "erase" the center and I create a white box to hide ...
Antoine21000's user avatar
-1 votes
0 answers
44 views

Xamarin Forms POST Rest API Showing NULL

I have been battling for over sometime now how to get this Xamarin form to work, but it keeps throwing a null exception. This is MY Post API Public Sub PostValue(<FromUri()> ByVal value As ...
Ologbozigee's user avatar
0 votes
2 answers
59 views

How to pass TimeSpan data using query property attributes from one XAML Page to the other XAML Page?

Maybe to some of you it might be elemental issue, but I am really at loss to resolve System.InvalidCastException: 'Invalid cast from 'System.String' to 'System.TimeSpan'. I have two XAML pages, and I ...
zorama's user avatar
  • 15
0 votes
0 answers
13 views

Authenticator Presenter not showing up and Logging in

I'm using a sample Google Drive API snippet to connect to Google Drive and upload files using this repo https://github.com/stevenchang0529/XamarinGoogleDriveRest/blob/master/XamarinGoogleDriveRest/...
cheaseeds's user avatar
0 votes
0 answers
40 views

.NET Maui Mopups - Loading popup not showing up when using navigationpage

I have a popup to show while loading screens. When using a NavigationPage as MainPage, when I try to show my popup on top all pages it is sent to the back while pushing a new page. Is there a way to ...
Aldair - OH's user avatar
0 votes
2 answers
56 views

XAML color labl background if text is empty

I am trying to get a label in a syncfusion datatemplate to change the background colour to Green if the property value is null or empty. It currently does not alter the background colour. What do I ...
BBR's user avatar
  • 131
0 votes
0 answers
61 views

Android 12 to Android 13 xamarin.android intent not working

I am experiencing an issue when running a xamarin.android app I made on android 12 when I run it on android 13. The app launches Marvel Unlimited on a specific comic using an intent. On android 12 ...
Daan's user avatar
  • 1

1
2 3 4 5
1011