Questions tagged as 'xamarin.android'

1
answer

Project has more than 65536 methods

Adding the Analytics Package to the project resulted in an error in the project. As explained in this blog , the error occurs when the project has more than 65536 methods ( only the added Google Play Services package has about 30,000 methods)....
asked by 28.04.2017 / 20:08
1
answer

How to prevent the app from being "minimized" by AppSwitch (RecentApps) Xamarin Android

I need to lock the device for one application only. I use a line in my project that requires my app to make a launcher . So, the initial screen of the device is my application, and HomeButton always points to the application. Lin...
asked by 22.03.2018 / 15:57
1
answer

Facebook Binding SDK 3.6 for Android

In my project with Xamarin, I need to use the binding of the Facebook SDK for Android in version 3.6. However, I could only find the binding of version 3.0 , which is out of date. Does anyone know where I can find the Facebook Binding SDK...
asked by 20.01.2014 / 18:19
3
answers

What is the base.OnCreate (bundle) and what is bundle?

I'm starting with Xamarin studio and wanted to know what this "base" class is for, this method onCreate() and what is bundle ?     
asked by 06.10.2016 / 19:40
3
answers

Create a mask for cpf using xamarin

Hello, I would like to create a mask for cpf using edittext, but I was not successful; I searched the net and found several examples in java, but I could not adapt to C #, could anyone help me? Thank you in advance.     
asked by 23.12.2015 / 17:42
2
answers

Saving the same file at the same time on different threads

In my software I have a thread that every second updates the file X. This same file can also be updated through a user action that will be in another thread (can be any time). My question is: what will happen if both threads...
asked by 04.05.2018 / 15:52
1
answer

What is the correct way to use RunOnUiThread () in Xamarin.Android?

When I need to update a field in the UI, do I need to run this code in the UI thread ? For example: I have to change the layout of my activity . The code I'm using is this: RunOnUiThread(() => { _layoutBlurred.Visibility = ViewS...
asked by 27.07.2017 / 15:03
0
answers

Error: ValueFactory attempted to access the Value property of this instance

Every time I create any Xamarin project in Visual Studio 2017 the following error appears when running the application: Erro: ValueFactory tentou acessar a propriedade Value dessa instância. Why does this error occur? What should I do to...
asked by 29.06.2018 / 18:00
1
answer

How to set negative values for SeekBar from Android?

I'm using Xamarin to develop for Android in C # and checking the component documentation SeekBar vi that it only has a "Max" property, and that the minimum value for the component is 0. How would it be possible to make SeekBar accept negati...
asked by 12.03.2014 / 02:22
2
answers

Upload web version of a website and not the mobile version in a WebView

How to load WebView from Xamarin.Android a complete site? He is bringing the mobile version. Example: I'm talking to WebView go to link And it's bringing: link     
asked by 14.03.2018 / 14:31