Quantcast
Channel: Recent Threads — Xamarin Community Forums
Browsing all 204402 articles
Browse latest View live

Why is there a lot of churn in ResourceDesigner.cs?

We see a lot of changes of RSD.cs on VSfM when we try to check in. Is it safe to stick this in the .gitignore? Is VSMac at parity with VSWin in regenerating this file when needed? Or are there specific...

View Article


Image may be NSFW.
Clik here to view.

android.widget.ProgressBar memory leak?

I'm finally getting close to release, and have started to look at potential memory leaks. I think everything looks ok, EXCEPT for I seem to be leaking a ProgressBar every time I use a particular...

View Article


listView ViewCell not adjusting it's size to content on iOS

I have a custom ViewCell that i use to populate a listView. It works like a charm on android, on iOS however i'm having issues. The cell has a Horizontal stackLayout with a box and a 2nd stackLayout,...

View Article

Problem with Android adhoc distribution after publishing new version

Hi everyone. I compiled a release version of my Xamarin Forms app (android) to give it to my client (adhoc). He tested it and everything worked fine. After some more code added, i published another...

View Article

How to log unhandled exception

I have following code in my Xamarin Forms project. I used SentryErrorLog to log exception and saved exception message to pp device locally. I have tested following code and the logging is successful....

View Article


Xamarin.Forms Webview: ERR_CONNECTION_REFUSED trying to load local server...

I am trying run a local server for a Xamarin.Forms WebView. This is to get around CORS, and so the html can be structured like a normal page. This works for UWP and iOS, but Android always comes up...

View Article

this project type is not supported by visual studio community 2017 for mac

Hello, When I try to clone the project into Mac it is giving me the below error. this project type is not supported by visual studio community 2017 for Mac FYI : the cloning project is developed in...

View Article

Migrating from GCM to Firebase push notifications and...

Getting the following compile error - Error CS1729: 'NotificationCompat.Builder' does not contain a constructor that takes 2 arguments (CS1729)...

View Article


Could you provide the details of how to setup Crashlytics in Xamarin (Android...

I am very new to Xamarin and having a hard time setting up Crashlytics. Any help would be appreciated.

View Article


Visual Studio 2017 (15.8.7) - Xamarin Forms project can build but not able to...

I updated my Visual studio 2017 Enterprise to the latest version 15.8.7 recently. VS can build Xamarin Forms project successfully but can't start any iOS simulator. when i click one of simulators in...

View Article

How do I (WiFi) debug USB device connections?

Hi all! I'm developing a Xamarin.Android app for work (on a PL-40L PDA running Android 7.0 (https...

View Article

How to get to attributes of something bound to a BindableProperty?

I'm writing a custom viewcell with bindable properties. I'd like to look at the bound property and get any custom attributes applied to it... in this case, specifically the DisplayNameAttribute. Is it...

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


Image may be NSFW.
Clik here to view.

Cannot create a project without Version Control.

I'm not sure if it's a bug, or not.. but when I create a new project with VS for Mac I uncheck "Use git for version control", but I still see "(master)" suffix after my project name. Here's the quick...

View Article

Count duplicate sentences in source

How can I Count duplicate phrases number in the source (Same sentences repeated) ex : in the source (hi developers hi developers hi developers) the answer is =3

View Article


Targeting Windows Embedded 8.1 and Android

I need to go from an Windows Embedded 8.1 app and convert it to a Xamarin app targeting Android and Windows Embedded 8.1. Is this possible?

View Article

Order of XML nodes in AndroidManifest.xml

I'm coding an app to listen to USB accessory attach/detach broadcasts with code like this: [BroadcastReceiver(Enabled = true)] [Android.App.IntentFilter(actions: new[] {...

View Article


CLLocationManager, RequestUpdates stops triggering update callback.

What would make background location updates stop happening? I am using RequestLocation because i only need to know the device location occasionally, in order to respond a specific background (silent)...

View Article

Displaying the image in another activity

Hi all, I have been trying to make an application that invokes camera through page rendering. I have used Custom Renderer from Xamarin. My problem is I need to send the picture to the other...

View Article

How to mix the pinch and pan gesture for image control together?

I try to mix the pinch and pan gesture code (https://developer.xamarin.com/samples/xamarin-forms/WorkingWithGestures/PinchGesture/ and...

View Article
Browsing all 204402 articles
Browse latest View live


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