Display a PDF in a WebView
I've got a pdf file stored locally on the device (or simulator). Should I be able to display that file using a WebView? I've added a WebView in my xaml and set the source to the path and file of the...
View ArticleShowing the Camera in Xamarin Forms on a ContentPage
I'm currently working on an app where we want to have the camera show on the main page and have some UI controls at the bottom and via a button there you can take a picture. It is working on iOS via a...
View ArticleAdd event binding to SwitchCell on a ListView
So, I'm using the ListView with a SwitchCell, and I need to capture this event: Xamarin.Forms.SwitchCell.OnChanged Event Which basically tells me when the value of the switch has changed in the...
View ArticleError using Xamarin.Mobile for geolocation in iOS, Geolocator constructor...
Hi, I'm stuck with an error when using Xamarin.Geolocation (component : Xamarin.Mobile) for the iOS project. I used the code sample provided with the component here . It worked perfectly for Android....
View ArticleHas anyone made a Picker with bindable items?
Has anyone extended the Picker control to expose a Bindable property ItemSource that when set, goes and adds the items to the Items property? Is it that simple or am I being naive? Has anyone managed...
View ArticleAndroid app crashes after upgrading to Xamarin.Forms 1.3.1
After upgrading the project to XF 1.3.1 the app android app crashes on start up (the iOS app does as well, but I will make a new thread for that). So it took me a long time to actually get the app to...
View ArticleXamarin Forms Maps crashing without any warning
Hello, I developed a multi-page xamarin forms application (PCL), and I'm debugging it on a Nexus 5. After some nested pages in a menu I must load a page with a map. For a first try I tried the code in...
View ArticleHow to make .Forms stable…?
Unfortunately, I don’t think (but hope) that this posting will change things, but I have to write it (the hope dies last). Today (2015-05-19), I personally have 25 filled bugs in Bugzilla 11 of the 25...
View ArticleUnable to add nuget packages in Xamarin.Forms project
I keep getting this error when I try to install a package in Xamarin.Forms project. Install-Package : The type initializer for 'NuGet.EnvironmentUtility' threw an exception. I had a similar issue...
View ArticleHow to intercept Navigation Bar Back Button Clicked in Xamarin Forms?
I have a xamarin forms page where the user can update some data in a form. I need to intercept the Navigation Bar Back Button Clicked to warn the user if some data have not been saved.How to do it? I'm...
View ArticleDetect visibility of item on ListView
I'm trying to detect when a ViewCell in a ListView is fully visible on screen, so I can do an action. Imagine something like what Vine or Facebook does that when you scroll up and down, the videos are...
View ArticleCan I do effects/animations in Xamarin.Forms XAML?
Title says it all.. googling, I found nothing. Is this possible or planned? Thanks
View ArticleScrollable text within ViewCell
I have a multiline text field which sometimes needs to be editable and sometimes not. The whole thing is placed inside a TableView. I started with a simple ViewCell with an Editor in it. On iOS this...
View ArticleArranging StackLayouts under each other forming a grid 3x2
I'm still new to Xamarin and I want some help. In my project, there is an image as a logo of the company which is the first thing the user sees and it is centered. Below it directly I want to add 6...
View ArticleXAML - setting a constructor parameter
Hey everyone, I have a custom label CustomLabel. It may not have a default constructor, a parameter has to be specified (CustomLabel(string parameter)). How would one add a constructor parameter when...
View ArticleXAML Namespace http://schemas.microsoft.com/winfx/2009/xaml is not resolved.
HI Now i am Creating a New Windows Phone App using Xamarin in VS2013. If I add the Shared Code and I am getting Error like this. "XAML Namespace http://schemas.microsoft.com/winfx/2009/xaml is not...
View ArticleProblem with @(Content) in Visual Studio with Xamarin
Hi! I have a problem.I created a solution (mobile apps) and when execute, I get the following warning : Warning XA0101: @(Content) build action is not supported (XA0101). and then the android emulator...
View ArticleHow to change user input from 0123 to 01:23
Hello everyone. I have some entrys in a xaml file with numeric keyboards and I want to make some kind of validation check and change for the input. So if someone types in 0122, afterwards it should...
View ArticleSymbol icons
Hi, is there any symbol icons in xamarin forms like the one Microsoft has for save, settings, favorite star, delete and things like that? Thanks
View ArticleConfused about Xamarin.Forms.Portable
After I created a solution using Xamarin.Forms.Portable, I don't see any XML files for me to change. I thought the concept of using this project was to allow me to modify one single UI and it will...
View Article