Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums

Image may be NSFW.
Clik here to view.

No static method checkBuilderRequirement(Ljava/lang/Object;Ljava/lang/Class;)

I just updated my Xamarin forms app the lastest stable Xamarin Forms library (v 4.8.0.1560) and the latest stable Xamarin.Android.XXXX libraries (v 28.0.0.3 on all of them). When I try running the app...

View Article


Preventing screen sleep on certain pages

Hi! I have an app with a barcodescanner. When I open this barcodescanner (which is simply a contentpage), I want to prevent the screen going off/to sleep. Does someone know how to prevent the screen...

View Article


Xamarin Forms iOS Button Click Event is not Firing when the keyboard is open

Hi All, I have a login view with a UserName & Password field and a Login Button. While entering UserName & Password the keyboard opens and when i click login now, the click event is not getting...

View Article

badge number in toolbar items on Shell template

hi An example can let

View Article

Set a background image to Shell toolbar

Hi, I've been trying to set a background image to the toolbar with no luck. I tried to add it on Toolbar.xml in android resources and it didn't work. I tried to create a Shell custom renderer following...

View Article


Xamarin Form with Stripe CreditCard Integration

Not sure anyone has done the Stripe C/C integration with Xamarin.Form, since the main concern from my understanding is the PCI compliance. please shed some lights if you have any experience or...

View Article

Is there a way to work with nested CollectionViews in Xamarin Forms with...

I'm building a page inside a Xamarin Forms/MvvmCross project, where I need multiple CollectionViews (at least, that's what I assume). On top of the screen I have a horizontal CollectionView. Beneath...

View Article

AdMob and Xamarin.forms

I have been through the forums and searches online and I have yet to find any samples or tutorials that work to get AdMob working with Xamarin Forms. Does anyone know of a current admob tutorial,...

View Article


Image may be NSFW.
Clik here to view.

ENTRY Hide keyboard Xamarin

I moved from xamarin.android to xamarin.forms, don't know why, just I think more support is here, but no. I'm trying to make Entry, that will be still focused, but without showing keyboard. I have...

View Article


Image may be NSFW.
Clik here to view.

Xamarin Profiler is disabled(grayed out) in Visual Studio 2019

I have installed Visual Studio Enterprise 2019 Edition with Xamarin Profiler and then I loaded my xamarin project in visual studio. Now I am trying to open the Xamarin Profiler which is located under...

View Article

Mono errors when connecting to an API

I am connecting to an API from my Xamarin Forms app to get data. I am seeing a lot of errors in the form:- ObjectDisposedException Cannot access a disposed object. Object name: 'SslStream'. and...

View Article

Image may be NSFW.
Clik here to view.

Does anyone know complete Xamarin Forms and ASP.NET Core tutorials or courses...

I am interested in learning Xamarin Forms and ASP.NET Core 2.2 ( I think that's the latest update of ASP.NET Core ) as well as how those two frameworks work together in full-stack Web Development. I've...

View Article

How to add global background color style?

Im trying to use an implicit global style to set the BackgroundColor property of ContentPage like this: <Style TargetType="ContentPage"> <Setter Property="BackgroundColor" Value="#ff0000"...

View Article


Minimum Version and Deployment Target are 10.3 and I need to change

Running VS2013 I just updted to the latest Stable Version of Xamarin and latest version of XCODE on my MAC. I am having trouble with the Deployment Target and the Minimum Version. When I try to change...

View Article

Image may be NSFW.
Clik here to view.

Unable to connect to Bluetooth device

I'm trying to connect to a Bluetooth device to receive barcode scan data (Using Visual Studio 2019, connected to an Android device running KitKat OS). I've tried many tutorials and examples without any...

View Article


IMobileServiceSyncTable PullAsync doesn't fill local sqlite local store

Hello, I have a problem using Xamarin.forms android app / Azure mobile app with EasyTables / Azure Sql server database. I implemented the offline database synchronisation using the code below :...

View Article

[Android] Enabling scrolling for a WebView inside a ScrollView

I had this problem a while ago and I didn't found a complete solution for this here in the forum so I'm posting a solution using a Custom Renderer that is very simple and worked very well for me and I...

View Article


Is there any sdk available to scan the Document for PCL project ?

We can use Scanbot. But i want to know if any of the sdk is available to scan the document. If any body knows please suggest your idea. Thanks

View Article

MacOS null reference crash on app start

I'm trying out XF for MacOS just to get an idea about how well it might work for me in the future. I'm stuck on an issue though just trying to get it to run that I don't know how to work around. I...

View Article

Disable weekends using Xamarin.Forms.DatePicker for both Android & iOS

Hi, I am trying to disable weekends using the out of the box xamarin forms datepicker. I am trying with custom renderers but am not able to successfully do it.

View Article

Image may be NSFW.
Clik here to view.

iOS - keyboard overlapping entry

I was searching over the Internet but I have not found a working solution for my problem. FIRST SCREEN SECOND SCREEN As you can I have a simple layout with ListView, and below the ListView i have a...

View Article


Why is ZXing.Net.Mobile crashing after camera permission?

Hi all, I am working xamarin.forms app and i use ZXing.Net.Mobile to read QR Code. Application is working greate but although i grante camera permission, it is crashing. When i open application again...

View Article


Disable dates in datepicker

How to disable(cannot access) previous dates from today's date in datepicker. Please help me the answer.

View Article

CarouselView: How to access control inside DataTemplate?

Hi, I would like to access the control lblName on page 2 for example, is it possible? <control:CarouselView.ItemTemplate> <DataTemplate> <Label x:Name="lblName" Text="{Binding...

View Article

How to acces object inside CarouselView Xamarin.Forms

I have a Xamarin.Forms app that displays a ViewFlipper (https://github.com/TorbenK/ViewFlipper) inside a CarouselView. I would like the ViewFlipper to flip back to the front when changing pages inside...

View Article


All views inside CarouselView are null

I have defined a CarouselView in XAML as follows: <?xml version="1.0" encoding="UTF-8"?> <ContentPage xmlns="http://xamarin.com/schemas/2014/forms"...

View Article

Can I call method from MainActivity by using a caller nested in MainPage.xaml

Am trying to access a method which uses android dependencies to check if my device supports bluetooth, so I have a button called Check in my MainPage.xaml, how can I call this method from...

View Article

Is there the Indeterminate attribute for the ProgressBar in Xamarin.Forms?

Hi all, I would like to understand how to create a indeterminate progressbar in Xamarin.Forms since I haven't foud the Indeterminate property. Thanks in advance

View Article

How to capture fingerprint with UareU to database- xamarin.forms

I build a desktop app for my client which capture student's Bio data including fingerprint using U.are.U Digital persona. But now they want a mobile version of the same app. The question is how can I...

View Article



Return value from PushModalAsync

I have a few pages that I'd like to call like functions. As in, I'd like to show the page modally, then do something with a result. Because awaiting PushModalAsync doesn't actually block until popped,...

View Article

How to get element color using UITest?

How to get color of any element? For example, I have query c => c.Class("AppCompatButton") to get button. app.Query(c => c.Class("AppCompatButton").Invoke("getBackground")) always returns...

View Article

Add native (android) controls in custom renderer

Currently I am trying to implement a custom renderer for android, which is supposed to display a pdf document. For doing that I need to add some android controls from within the custom renderer and add...

View Article

Best way to show multiple listview with items of different data types?

I'm trying to display three lists of data in a single content page and I want to control the visibility of each list (as a group). Can any one suggest me best way to deal this scenario. Putting...

View Article


How to implement NFC in Xamarin.Forms

Hello, I need to implement a Xamarin.Forms application that can read NFC tags. Regarding this, I have 2 questions: How to enable NFC in Android Emulator I have used _nfcAdapter =...

View Article

Xamarin grouping listview with pagination

Hello friends, I have used grouping list view in my chat screen like WhatsApp now I need to load more data/pagination when scrolling reach at 0 position please give me any suggestion. In grouping...

View Article

CarouselView has multiple items by default

I have created a CarouselView, base off of the Monkey example. Currently my app is, by default, showing as many items as it can stuff onto the screen. The CarouselView is within a StackLayout. I'd like...

View Article


Image may be NSFW.
Clik here to view.

How to call a async Task method in the constructor?

I want to execute the GetCountries() method, but there is a mistake, can someone help me to fix it? So that i can call the GetCountries() method in the Constructor AddEventViewModel().

View Article


Value cannot be null. Parameter name: type

Not sure what changed, but now when I build I get this error on every XAML file in my project. Has anyone ran into this issue before? Tried all of the usual fixes - del bin/obj, restart, clean rebuild,...

View Article

Implementation of Network service Discovery using xamarin forms

Hi , Can any body know how to implement Network Service Discovery in xamarin forms.If anybody implemented it already please send the code. Thanks, Sunil

View Article

Xamarin Forms Video Chat Application Possibilites?

Hey all, I've been doing a lot of browser based WebRTC projects and was wondering if anybody knows a way of doing something similar or can put me on the right lines on what to look for to make a 1v1 or...

View Article


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