All Questions

32
votes
6answers
35102 views

How to use Push Notifications in Xamarin Forms

I'm an app using Xamarin>Forms targeting IOS, Android and WP 8. I need push notifications feature in my app. I have seen the pushsharp demos and seems promising. But all the codes I had seen is do...
36
votes
6answers
36359 views

How to login to facebook in Xamarin.Forms

I want to make a Xamarin.Forms project, targeting iOs, Android and Windows Phone. My app needs to authenticate users, using Facebook. Should I implement login for each platform independently, or use...
115
votes
3answers
49404 views

When to use Xamarin.Forms vs Xamarin Native?

I am in need to make a choice between Xamarin.Forms vs Xamarin native apps. I want to go with Xamarin.Forms as UI code will be shared as well. So what are the drawbacks of Xamarin.Forms as compared ...
30
votes
1answers
12034 views

Xamarin Forms Android App Crashes Running Debug with VS Android Emulator

I have a basic Xamarin Forms app I created. It works fine against the iOS simulator. However when I try and run with a VS Android Emulator (5.1in Marshmallow) it crashes every time upon opening. Even...
26
votes
8answers
44653 views

Xamarin.Forms ListView: Set the highlight color of a tapped item

Using Xamarin.Forms, how can I define the highlight/background color of a selected/tapped ListView item? (My list has a black background and white text color, so the default highlight color on iOS is...
18
votes
13answers
21574 views

Xamarin Forms Android Error: Please install package 'Android Support Library'

I recently uploaded my project to Git, and used a auto-generated Xamarin/Windows/MacOS/VisualStudio .gitignore file. I did a lot of work and testing on iOS, but now I'm coming back to android but upon...
123
votes
2answers
31901 views

What is the difference between Xamarin.Form's LayoutOptions, especially Fill and Expand?

In Xamarin.Forms every View has the two properties HorizontalOptions and VerticalOptions. Both are of type LayoutOptions and can have one of the following values: LayoutOptions.Start LayoutOptions.C...
4
votes
4answers
13083 views

Xamarin Forms - Resize Camera Picture

Someone helped me get this code for taking a picture using xamarin forms labs camera: picker = DependencyService.Get<IMediaPicker> (); task = picker.TakePhotoAsync (new Camera...
44
votes
8answers
11475 views

Remove ios, windows8, and wp8 from Xamarin Forms PCL - nuget 3.0 opt-into error?

I'm working on a Xamarin Forms project. I want to target Android and Windows 10 UWP. When I try to clean up the PCL by removing "Windows 8", "Windows Phone Silverlight 8", "Windows Phone 8.1", "Xa...
16
votes
5answers
12331 views

Have an "'Resource.Attribute' does not contain a definition for 'actionBarSize'" error

Was trying to debug an empty app and got "'Resource.Attribute' does not contain a definition for 'actionBarSize'" error. I have reinstalled android SDK's. public static void UpdateIdValues() ...

Previous Next