Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums

Example to integrate firestore in Xamarin.Forms Andriod/IOS?

So, im trying to implement this libraries inside my project: Firestore Android:https://www.nuget.org/packages/Xamarin.Firebase.Firestore/60.1142.0-beta2 Firestore...

View Article


Image may be NSFW.
Clik here to view.

I made detailed view from Listview. It could not show me all detailed data.

I made detailed view from Listview. After i clicked detailed view. My cell is too small to show me all data binding. <ListView x:Name="LV"> <ListView.ItemTemplate> <DataTemplate>...

View Article


Xamarin forms with Checkbox

Dear Techie, How to bind the checkbox value = true or false inside the list view from database . Anyone have idea about this ?

View Article

How to bind the data Dynamically in the Static Listview

Hi Techie, I'm New to xamarin forms . How to bind the data dynamically in the Static Listview. As of now i bind the data statically . I need to call Webservice and How i need to bind in the static...

View Article

Convert List to Observablecollection

Dear Techie, How to convert List to Observablecollection in Xamarin forms and bind into Listview.

View Article


Image may be NSFW.
Clik here to view.

How to auto update app from app center in C#?

Greetings, I have tried my best to follow up on how to distribute using app center, but to no avail. Here's the code sample where I distribue, all in the mainActivity. protected override void...

View Article

After setting AppShell, navigating page cause Actionbar BackgroundColor problem

In a Xamarin Forms Project, I just want to add onboarding page before AppShell OnAppear but it is important for me to first initialize AppShell and then show the OnBoardingPage so, Here is a summary...

View Article

azure face detection + stream + CameraView always returns 0 faces

(edit: not sure why the code is not formatting properly) I have a Xamarin Forms apps where a picture is taken using the camera and I want to check if there are any faces there via the Azure Face Api...

View Article


how to determin which page is in navigationstack ?

I am using Xamarin.Forms Shell and want to know Is the Page is in navigationStack if(Shell.Current.Navigation.NavigationStack[0] is Views.CPage) { } It seems not right.

View Article


Image may be NSFW.
Clik here to view.

How to place icon before entry control

Hi all, I would like design a login form like below image This is what I've managed to do so far I want to place an icon before entry control. I don't know how to achieve that design. Below is the...

View Article

Can Xamarin Form support 365 Login without using Azure AD?

I need to create 365 Login page on xamarin form but this 365 authentication doesn't have Azure AD. All the samples that i go through direct me to register on Azure Portal. Can i create a login page...

View Article

Android WorkProfile attach Debugger

Hello Community, I develop an app based on Xamarin.Forms (iOS, Android) on a Macbook. The login-mechanism is based on Azure-AppRegistration and implemented with MSAL (based on Azure AD). Debugging the...

View Article

Webpage cannot be fully displayed with WebView package

When using the WebView package, I encountered a situation where the web page sometimes cannot be displayed completely. But this situation will not happen in my A mobile phone, but there will be...

View Article


App/Feature introduction component

Hi all, I'm going to finalize my mobile app written in Xamarin Forms. I tried to find the component to make an App/Feature introduction. Like when the app appears, this screen is dark then some button...

View Article

Image may be NSFW.
Clik here to view.

How to place controls (Entry and images) on custom keypad ?

I want to show some options on the top of the keyboard can you please give me a suggestions about this i am unable to find any reference please find below image.

View Article


Your uploaded an APK that is not signed with the upload certificate...

I developed apps using Xamarin.Forms, and I would publish the app to google store, I generated the APK and Store key but when I upload the APK file to Google Play Store, I get the following error...

View Article

Can you define a ListView with static content in XAML?

For example, I'm creating a menu that has a ListView with a static list of options. Instead of binding to a datasource, can I just provide a hardcoded list of items inside the ListView tag?

View Article


Xamarin IOS closing on startup

Hello. Despite having been working with Xamarin for a while I'm new to IOS. I have an App which is in Google Play and I plan on getting it in the MS Store but right now I'm wrestling with IOS. I just...

View Article

Zebra TC56 Keep Reinit every couple Scan EMDK or DAtaWedge

Today, i created a simple inventory transfer location app in VS2019 with Xamarin forms (4.8Version), which it will be used in a Zebra TC56 Nougat, it is just one screen with couple of labels (Location...

View Article

I need app in two languages, how to do it simply..?

Hello, I need to have my app in two languages, so user can switch languages in my app settings (not globally settings in galaxy watch). How to do this as simple as possible? I have setting page called...

View Article

Image may be NSFW.
Clik here to view.

Xamarin Map free or paid from June 2018

Without billing option Using the google map API Key, its will display blank.

View Article


Navigation using FlyoutPages

Hi, I'm am trying to use navigation in my app but everything I try has problems. I have tried Shell and navigation pages but I am using FlyoutPage’s so when I move to the next page the flyout(master)...

View Article


Xamarin Forms Visual Material

Hello! I use Entry with Visual="Material" and set BackgroundColor = "Transparent". If use nuget package Xamarin.Forms-1829-pre6 (or above) and Xamarin.Forms.Visual.Material-1829-pre6 (or above)...

View Article

Image may be NSFW.
Clik here to view.

How to put a home screen ?

Hello I am trying to put a presentation screen that lasts 1 second but I cannot find how to do it ... Thank you for the time you give me... For exemple :

View Article

I added View Page in AppShell, but i got error.

I created view page and added Appshell, but when i clicked my View page, there is error. "System.InvalidCastException: 'Specified cast is not valid.'" I don't know what is reason why i cannot add new...

View Article


Image may be NSFW.
Clik here to view.

Use concurent garbage Collector is Default in VS2019?

I have just created a new xamarin.forms app and when i check the android settings for release So Use concurent garbage Collector is default now? what are the advantages of it and can we rely on it?

View Article

How to force open (show) app from xamarin code?

Hi, is there any option to open my app if someone close it? For example - I have BPM measuring app and let say, if somehow client has over the setted range, I need show him notification / message. This...

View Article

Xamarin Forms UrhoSharp support

Hello I am new to the xamarin develoment and I am looking to improve my skills in the development of cross platform application. Recently I have came across the library (UrhoSharp) that can be used in...

View Article

VNDocumentCameraViewControllerDelegate How to get images back from Vision Kit

am using Vision Kit in Xamarin Forms, so far I can take the picture but I am not sure how to actually save the picture or do any operation with it after.. Can you please advice how to access the...

View Article



Android KeyboardView is obsolete

Currently using Xamarin.Forms Version="4.8.0.1269" The android SDK version is set to android:targetSdkVersion="29" I implemented a custom keyboard for Android (found an example) The custom keyboard is...

View Article

Image may be NSFW.
Clik here to view.

How to change the Thickness of OUTLINE / BORDER frame ?

Hi, I want change the Thickness of a Frame border. I my phone the border is VERY small.. My code : <Grid RowSpacing="0" ColumnSpacing="0"> <Grid.RowDefinitions> <RowDefinition...

View Article

How to prompt the user for new upgrades to the App?

Is there anything built in to Forms that will check if a new version of the App is available in the App Store and prompt the user to run an upgrade? Or any third party libraries?

View Article

Why is e.Info.Width the wrong size?

Given the following: public void CanvasViewOnPaintSurface(object sender, SKPaintSurfaceEventArgs e) { SKImageInfo imgInfo = e.Info; mSurface = e.Surface; mCanvas = mSurface.Canvas; mCanvas.Clear();...

View Article


can not find items in viewmodel in a collectionview when the page datatype is...

when I set the x:DataType of the contentPage to its viewmodel it can not find the property which in the collection view's dataTemplate <CollectionView ItemsSource="{Binding Items}">...

View Article

How can I save a image from stream to my Android device's folder in...

I'm capturing screenshot from a XAML element using the ImageFromXamarinUI plugin and it returns me a Stream. public ICommand CaptureCommand => new Command<VisualElement>(OnCapture); async void...

View Article

Is there a way to get sql lite database (*.db3) using another android...

Tried to convert it to stream so I could store it somewhere. But I was unauthorized to do that? Any alternatives? var appDirectory = FileSystem.AppDataDirectory; var sourceFile =...

View Article


Why does my custom button lose corner radius when changing the background colour

Hi Am new to custom controls in Xamarin, but after doing some research I have managed to create a custom button with rounded corners. Is used as a font style button (bold, italic) such that the...

View Article


NavigationPage.SetHasNavigationBar not working on Android

Hello! I want to hide the navigation bar on a Forms-Xaml-cross platform app. I'm using NavigationPage.SetHasNavigationBar and it works on iOS but Android keeps showing the bar public Login () {...

View Article

Error when updating Xamarin Forms 5

I've got a project that was on 4.8 and I thought I'd update in 5.0 today but after fixing a few things (getting the Community Toolkit for the Expander for example) and building it crashes on startup....

View Article

Custom Control Error only by Color Property

Hi folks, i get this ErrorXFC0009 No property, BindableProperty, or event found for "Attractive_BarColorLvl_1", or mismatching type between value and property. if i try to set a Binding to my Property...

View Article


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>