Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Browsing all 77050 articles
Browse latest View live

Dynamic change StyleClass for VisualElement

How change programatically add one and remove another (in other words) make a replace of one class to another?

View Article


Ble does not scan when run

Previously, I added code using the plugin Bluetooth LE plugin for Xamarin to scan for ble devices. It had worked for a while but I have since updated to the latest version of Xamarin and Visual Studio,...

View Article


Exception throws when saving file in Android device in ExternalStorageDirectory

I faced a problem when saving file in the Android device in external storage location. Xamarin.Forms Android project details: Target Framework : Android 8.1 Minimum Android version: Android 4.4 Target...

View Article

Entry with secure field text is getting cleared before editing

Hi Guys, I am trying to develop an application using xamarin forms. it have login screen. I have an Entry with secure field text is getting cleared before editing. I Made textField.clearsOnBeginEditing...

View Article

How to get the width and height of a frame view for xamarin forms for iOS?

I have implemented a gradient background color for frame and grid view.Its perfectly working fine in android but in iOS i have to mention the width and height static. mainView = new UIView(new...

View Article


VideoPlayer xamarin forms

Hi xamarin forum Can anyone give a suggestion where can I find a video player that 1. Can play my video from database using file path 2. can really work on both iOS and Android I said the number 2...

View Article

[Xamarin.Forms] : How to save ContentPage UI as a PDF and Print.

I want to design a Layout and Print it on A4 page. So, How do I save Content Page as a PDF and Fire it on Network Printer. Platforms: Android UWP IOS

View Article

I am unable to set the particular page in Carousel view

Hi, I am implemented the Carousel view using https://blog.xamarin.com/flip-through-items-with-xamarin-forms-carouselview/. And I am able to implement the Carousel, **But My Problem I want to set the...

View Article


Error: The name AuthenticationState does not exist in the current context

I am doing google signin for my project . I am getting this error: 'The name AuthenticationState does not exist in the current context' in the MainActivity.cs page .Please see the attached screenshot....

View Article


Xamarin Forms Android showing Tabbed Page inside Master Details Page is...

In my Xamarin Forms application I am having Tabbed Page as first Detail page of Master Details Page. So, while running my Droid application it is showing empty blank screen for few seconds and after...

View Article

Phoneword example: encapsulate Xamarin.Forms don't work for Android.

Hi, I'm very new to C# and Xamarin, so please excuse me. I'd like to encapsulate the Xamarin.Forms methods from the MainPage into an own Forms.cs. The UWP works fine, but the Android project freeze and...

View Article

Type mismatch on Bindableproperty

Hi, I have following codes in my custom view class and xaml files: my custom property: public static readonly BindableProperty LabelColorProperty = BindableProperty.CreateAttached("LabelColor",...

View Article

I want to increase the size of my FontAwesome icons

I am currently testing on Android. I want to put a FA icon in my button but when it appears it is far too small. So I try to set a FontSize style, but this does not make any difference. What am I doing...

View Article


HOW TO ACCESS THE FILE PATH IN IOS DEVICE

Hi, I'm working for download/upload files like image, docs and video in Xamarin.Forms IOS. I use PCLStorage from Nuget. My question is that how can I access the filepath like this: this path is on my...

View Article

Xamarin.Forms - Can't get geolocation

Hi, I am trying to use the code from this article: https://docs.microsoft.com/en-us/xamarin/essentials/geolocation?tabs=android but "using Xamarin.Essentials" leads to compile-time error: Error CS0234...

View Article


listView binding

How to Bind the ListView with an Observablecollection type where the type itself an observable collection. My MVVM like below ViewModel public class OrdersViewModel { public...

View Article

where we using task async and await method in xamarin forms ?

Hello guys can you describe me where we are using task async and await method in xamarin forms ?

View Article


Apk size is too large.How to reduce it?

In my xamarin form application I am using Telerik.but when I release my apk for playstore,the apk size taking 86 mb..so how to reduce it? I checked all linking setting,while using sdk and user...

View Article

Dependency Injection best practice ?

I am trying to use Dependency Injection in my project but its still new to me. I've read quite a lot of tutorials but I still don't what is the best practice to create pages or viewmodels.. It seems...

View Article

How to add json layer in a button click in xamarin forms?

I am new in xamarin forms I want to add a json layer in a button click in my map.How can I do this.I am tried with a dependency for adding json layer.I using using Xamarin.Forms.GoogleMaps for creating...

View Article
Browsing all 77050 articles
Browse latest View live


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