Xamarin.forms Questions
Ad
FCM Notification not receive in foreground using xamarin forms
I have been integrating push notification using firebase in xamarin. i have created developer provisioning profile and also generated p12 file and
Xamarin Firebase package doesn't exist in visual studio
I have a xamarin.forms project that requires ml kit from firebase, so i wanted to download
How to use Xamarin Community Toolkit extension properties and attributes in the C# code behind?
I am using xamarin.community toolkit's shadoweffect.color and icontintcoloreffect.tintcolor through
How do I use firebase ml kit with xamarin.forms?
I am trying to make an app in xamarin.forms that needs to be able to detect text from images, and i decided to use firebase ml kit. how do i use
Build Xamarin project in IOS which Created in Windows
I am working on xamarin forms application in windows , i want to get ipa file , is it possible copy the solution to mac pc and build that project
FCM token NotRegistered after unhandled exception in app
I have a xamarin forms ios app set up to work with firebase cloud messaging for push notifications using xamarin.firebase.ios.cloudmessaging
Xamarin.Forms Shell navigation outside the visual hierarchy
I'm having a problem with how to implement navigation to pages that are not represented in shell visual hierarchy (defined in my shell xaml).
Why is ObservableCollection updating UI on Android but not iOS?[Pendent]
I have a cross-platform app on xamarin forms for android and ios. in some view, i am using an observablecollection as source of a
Filter AppCenter push notifications depending on the current logged in user
Using appcenter i am able to send push notification to all my devices with my xamarin forms (android only) app. since my devices, are
Is it possible to use an existing google-services.json file for a new Xamarin.Forms app?
I am in the process of consolidating my ios and android apps into one code base using xamarin.forms. i am using firebase to handle remote
Ad
Resolve many proguard warning
I saw a lot of warnings when connected, more than 5 thousand, i found information that i should solve problems in a similar way
Xamarin Forms BACK BUTTON not triggered when a field is focused
When an entry is focused and you hit back, the only thing that happens is unfocus that entry. hitting again the back button and then it is
Where can I find the latest information on icon sizes for Android tab bars?
I found this site so far:
How does Xamarin Forms change the color of a png icon that I use in a bottom navigation area?
My application uses png images like this: navhometabpage.iconimagesource = "ionicons_2_0_1_home_outline_25.png";
Xamarin Forms: TemplatedItems returns only viewcells from grouped headings
I need to get all the viewcells of my listview programmatically so i could change the background color of a specific child layout within the
determine the marker that navigate to activity xamarin.forms
I'm working on xamarin.forms application custom map shows markers from the database when the user click on pin show custom info
UI rapidly slows as chart updates
I am in the midst of developing a mobile application using xamarin.forms. the app connects to a ble device which transmits 16 bytes of data every
Xamarin Forms: Stop receiving FCM notifications when log out from the app in android?
I have implemented push notifications on my xamarin forms project using fcm. the notifications are starts receiving when a new message is sent by
Androidemulator - Access files in LocalApplicationData
I'm using xamarin forms to develop an android app. i can save a file via var filename =
Errors when changing Android version (Target Framework) in Xamarin Forms
I have a c# xamarin forms solution in visual studio 2019 that was created from the xamarin forms template. when the android version
Call Google Directions API form Xamarin.Forms app
I'm trying to set up a basic app to call the google directions api from a xamarin.forms app in android. i'm new to xamarin & c# generally, so
Ad
How to config Firebase Push notification Message
I have found various examples on how to configure the message json for push notifcations on firebase for android and ios. but i have a problem,
Import Native ios/Android Code to Xamarin project
I need to import the native ios and android code in existing xamarin project same as react-native do for ios :
How to determine android device resolution is small, medium, or large
I am working on a xamarin.forms app and i need to identify the android screen/resolution is whether small, medium or large to adjust some content
Xamarin.Forms.Xaml.XamlParseException: Position 10:18. StaticResource not found for key TwoButtonTopBarTemplate
I keep getting this error: xamarin.forms.xaml.xamlparseexception: position 10:18. staticresource not found for key
Running Xamarin.Forms App on Different Devices [Error: install_failed_missing_shared_library]
I am currently working on a xamarin.forms application that uses native barcode scanning capabilities of the mobile device. i have integrated two
Xamarin Forms How to make Global Toolbar?
I'd like to make global toolbar that is accessible in my whole application. im using mvvm pattern.. i have tried this in my app.xaml:
AppCenter Xamarin.Android builds and installs successfully on devices but doesn't run
I'm developing a xamarin.forms app (early stages) and have just set up appcenter to build and distribute it. appcenter takes the xamarin.android
Xamarin Forms - Android Splashscreen are shown also in main application
I have added a splashscreen to my application adding <item
Countdown timers and images in Xamarin.Forms
I have a question about countdown timers and images in xamarin.forms i am hoping you can help me with. i have set up a timer which counts
How do I allow scrolling in Xamarin.Android (Xamarin.Forms) when the softkeyboard overlays part of the content?
I have a xamarin.forms activity. i have wrapped scrollview around my content via: <scrollview horizontaloptions="center"
Xamarin.Forms - ControlTemplate doesn't display ContentPresenter
I'm trying to use a controltemplate so i can have a footer on every page, but whenever i use the template, only the template is shown and
Ad
Is there a Xamarin.Form MediaPlayer that works for both iOS and Android?
I think we can use android.media.mediaplayer class and mpmovieplayercontroller class (xamarin.ios.dll) to play back stream videos on android and
Xamarin Forms Push Notification received but not showing/appearing
I had push notifications up and working previously but now for some reason although the push notification is received, (i know it is received as
Modify Xamarin.Forms page from Xamarin.iOS file
I'm working on a xamarin.forms app that uses firebase authentication. in order to make firebase work, i have to create two different
Xamarin Forms AdMob trouble with AudioManager
When i get request from admob, every millisecond my debug console spamming me: d/audiomanager (26589): getstreamvolume isrestricted mode = 0.
xamarin android build error: "Failed to create JavaTypeInfo for class"
On build, the compiler is throwing the following error: error failed to create javatypeinfo for class:
How to block button double click when navigating to other page
I am navigating to other page after button onclick(). i want to avoid situation with double click. now when i click button more than
Error on creating new project with Prism for Xamarin.Forms
While creating a new prism for xamarin.forms project with vs2017 i'm getting the following errors: could not find android.jar
How should I create the main activity on android with xamarin forms in order to support PiP mode?
I’m have an app developed with xamarin forms and my users want to be able to use it with pip modes of android. i have tried integrate it but
How to use Wifimanager.LocalOnlyHotspotCallback in Xamarin.Forms
The environment is xamarin.forms in android, but there are no information about this. how can i get wificonfiguration from
Error message:Project Android.Common is not compatible with netstandard2.0
In my project for xamarin i have a strange error message: project android.common is not compatible with netstandard2.0
TableSection Spacing Android Xamarin.Forms
I have 1 tableview, 3 tablesections. in ios , the tablesections have a space between them, this space is
Ad
Best way to display view that includes many other views in Xamarin.Forms
I have created view addonpickercontrol that is a horizontal stacklayout with addoncontrols. the problem is
Getting invalid opcode ba error while building Android project in Xamarin
I'm trying to build a xamarin forms application while building/deploying the application i'm getting this error
Firebase device token on Xamarin.Forms
I have a xamarin.forms project and i'm using the firebase messaging platform to provide push notifications to my app. the last step that is
Xamarin axml, xml Intellisense not working
I started using visual studio 2017 enterprise edition with version 15.7.4. and xamarin version 4.10.0 and need to work on xamarin native android
Xamarin.Forms Dependency Service non-static fields/properties
I'm using dependency service to get the platform specific implementation of an interface. let's say i have the following interface:
Why doesn't Xamarin allow certain file names on Android?
I noticed that if you have an image file (png or svg and possibly non-image files too) and wanted to rename it to default.png,
Xamarin Forms (Android) StartForegroundService not work (App crash)
The xamarin forms should be started with startforegroundservice service on android 8.0 versions as it is known
Xamarin.Forms: Page with CSS transformations and JS swiping doesn't work in Android WebView custom renderer, when it does in Chrome
What could be the cause of a html page loaded over https with css transformations and javascript that uses “swiping” to not work in a
Sending FCM messages from API server to multiple devices?
I'm currently working on enabling push-notifications in my application. my problem here is that i want to send all users, who are a member of a
Specific view not opening on notification tap when app is terminated
I am working on push notifications in xamarin.forms using
Crash when restoring Android state - AbsSavedState cannot be cast
I receive notifications from crashlytics about the following crash in my xamarin.forms project: fatal exception:
Ad
How to navigating to a specific page on Push Notification tap
I am developing firebase push notifications in xamarin.forms using
MessagingCenter Unsubscribe not working in xamarin forms when using between viewmodels
I'm working on xamarin forms. unsubscribe is not working in messagingcenter when using between view models. i'm trying to
Device.StartTimer on Xamarin Forms Android
Would code running using device.starttimer run when the lock screen appears or another application is in the front ?
How to render UI controls in Xamarin Forms equivalent to Android native controls?
I am planning to integrate phunware map within xamarin forms app. i am able to create android binding project so i can get packages equivalent to
Xamarin Forms - downloading images from Azure to local storage and using as image source
I have a function that downloads and saves images from azure to local storage in a folder called appimages. i can then use the code below to open
How do you create on Xamarin a function that does something differently depending on the platform?
I'm new to xamarin and i'm developing an app for android, ios and uwp. at the moment i want to do something that unfortunately works differently
error MSB4018 - "LinkAssemblies" task failed unexpectedly when release build
After eight hours of trying to debug and solve this issue, i've come to the point of contacting you. i searched the web to find a solution but
Trouble setting push notification badge for Android and iOS using Xamarin Forms
I'm having trouble with the icon badge using push notifications on my xamarin forms app. i'm using firebase to send the app to both devices.
Add a settings page looking like in native app
I would like to create settings page which would look like the settings on native platform (eg. preferenceactivity/fragment with xml on
Hide BottomNavigationView on Navigation in Xamarin.Forms (Android Only)
I am using the new xamarin.forms feature to set the tabbar at bottom for android using below properties
Access function from .Android level in shared level
How would i go about accessing a function from a class who sits in the ".android" level in my shared project level?
Ad
Why is the IncomingNumber always empty?
I'm totally new to mobile programming and to xamarin or xamarin.forms. so i thought about starting small and trying a first app that is showing
Error compiling Xamarin Application on Release mode: System.InvalidOperationException: Sequence contains no elements
Error only occurs when compiling on release mode... on debug mode the compiling occurs without problem... can you help me? this is the
Xamarin.Forms: Android breakpoints not hit
I recently upgraded to visual studio 2022, and since then, i can't hit breakpoints any longer during android shared project debugging, even if
How to set image in StackLayout as background using xamarin?
I want to stretch image like background but i don't want to set a width and heigh to stretch it. also want the button located inside the picture
Xamarin Forms Custom TabbedRenderer removes TabLayout on Android
When i use a custom renderer for tabbedpages in xamarin forms, the tablayout is completely removed, and thus only the first tab is accessible.
Unable to load font for use with ImageSharp in Xamarin Android app
I have a xamarin forms app where i've included a font file called roboto-regular.ttf in the assets folder of the
Cannot run XAMARIN UI TEST on xamarin.forms, error System.Exception
I want ton run xamarin ui test, but when i run the test i have this error : system.exception : 'the running adb server is
How to do a grid (10000 x 10000) clickable and zoomable in xamarin forms
I've been looking for a solution to my problem for weeks, and can't find out anything close to what i want. i need a big grid something at least
change Spinner text color
I want to change the default text color in spinner to any other color. but i have not find the solution yet. all i got a solution
Xamarin Forms - How to populate ListView from the data you entered?
Process: step 1: in food menu you can select you want to order , if you tapped it quantity popup will
Xamarin Forms - How can i pass the value of a variable to a another .cs?
I'm developing a reservation app , my problem is when i tapped "reserve" i always get null json value just like this:
Ad
ContentView Xamarin Forms
I'm still learning xamarin forms and c# in general. so in my mainpage.xaml i have this: <stacklayout> <button
Android Job Scheduler only running jobs when app is open on Android M (6)
I am trying to add an android job scheduler to run jobs in the background on my xamarin forms app but it only seems to run when i have the app
Google sign in using Xamarin forms error 400 redirect_uri_missmatch
I have followed the following guide for google sign in
change default color for many controls
Is there any way to change the "default color" for controls in xamarin forms (particularly in android)? the controls, which you see in the
Unable to start debugging vs 2017
I'm developping xamarin forms app, i seted the android project as startup project, and when i run the poject on my device i got this error
Asp.net core push notification to Xamarin (Android, IOS)
I have an asp.net core api for a delivery tracking system that interacts with xamarin.forms mobile app, i want to send push notification for
Xamarin.Forms Saving file in filesystem
I try to download file from web and save to any of environment.specialfolder locations. no matter of what approach i try - i always get
Need to refresh token/add tags Firecloud messaging
I have managed to get my push notifications working on my xamarin.forms project. i was able to add new tags when using google cloud messaging
Xamarin Forms Android Button Material Shadow
I am trying to achieve a button with shadow in android. as you can see in this
Can't see message when sending notification to endpoint AWS SNS
I have set up a aws sns system to send notifications to all endpoints that have subscribed to a topic following this tutorial here (i have set up
How to define Entry User name/Password/FirstName/LastName in Xamarin From so android will auto fill it?
I know android from certain version can detect the field is a field to enter user name/ password / last name / first name? but what i need
Ad
PDF displays empty the first time it's loaded on Android
I'm trying to display a pdf on android in a xamarin.forms project and it works fine, except for the first time it's loaded where just one blank
Disable keys on the default Android keyboard
I've got an entry control on my xamarin application home page, which is used for entering a person's age. i've set the keyboard to be
Xamarin.Forms - AOT compile not working (for Android)
This is the repository that demonstrates this issue. this is
OnOptionsItemSelected not called in xamarin froms
I am newbie to xamarin forms. i am trying to show a displayalert when navigationbar back button is clicked. i have tried
Xamarin Android BottomBarBadge doesn't properly display counts of 100+
When i try to display a count higher than 99 in the bottombarbadge, it won't be displayed correctly because there is not enough space
Xamarin ListView Images disappears on Scroll
I'm using xamarin forms and xamarin android. i've this code for reading some files (stored inside an android phone) public
Xamarin Forms pull async on node backend fails if getting over 50 rows
When running a pullasync on a node.js back-end from a xamarin forms cross platform app, the call is successful if the table has up to 50 rows.
Xamarin Forms Android Target API level Warning
For the last days, whenever i deploy a new xamarin forms app to google play store, i get the following warning when from play store:
how to auto install apk using Xamarin forms?
I want to auto install apk using xamarin forms. i'm able to get the install screen of the apk using my code but that makes me install the app
Disable system font size effect in my app
I don't want the system font size have any effect in my app. if i increase system font size in android settings, the text in my app will be
FindViewById<Android.Support.V7.Widget.Toolbar>(Resource.Id.toolbar) in OnCreate in MainActivity returns null
Hi i'm new to xamarin and trying to find a view in oncreate() in mainactivity but it can't be found(?) and it's returned as null.
Ad
Accessing Controls inside Controls in Xamarin Forms
I am writing an app using xamarin forms and i have an issue where i cannot access one of my controls so i am hoping someone can explain to me how
Could not install package Xamarin.Firebase.Messaging
I'm trying to install the latest version of xamarin.firebase.messaging (as of today: 60.1142.1) in the xamarin.android project
Ad
Blog Categories
Ad