Quantcast
Browsing all 76418 articles
Browse latest View live

Disabled button color

I changed background color of a button and noticed that when button is disabled (IsEnabled=False) the button is not changed at all and looks same as enabled button. Then I decided to use triggers to...

View Article


Access the camera does not work - Error - " Only one operation can be active...

Hello, i've make a simple app with xamarin.forms that access to photo camera or take picture. I've used the service of Xamarin-Forms-Labs , iv've configurated all, ioc... ecc.. but when i use the...

View Article


Can't add System.Timers as an assembly reference for CarouselLayout?

I'm trying to use CarouselLayout from this source but when I copy some of the code into my Xamarin.Forms project, I can't seem to get a reference to System.Timers that's needed in CarouselLayout...

View Article

Binding to call a method of the binding class from a button.

Hey, So i have a View that i have bound to a List of Timer objects called Timers (custom class i have made), and in the view i have added a start and remove button. when a user clicks start i want them...

View Article

Xamarin.Forms + UIDocumentInteractionController.PresentOpenInMenu

I need to open a file in a different app. For this I used PresentOpenInMenu in my old Xamarin iOS app which I now want to port to Xamarin.Forms. Unfortunately the other app does not open. My code looks...

View Article


Need to add one content page into second page stack layout

Hi, I have put one content page ( Let's assume it as first page ) with some controls, and then i will put one more new content page with one stack layout. Here can we able to add the first content page...

View Article

Displaying Placeholder text on a DatePicker - Can't get this to work

I followed the renderer here: https://forums.xamarin.com/discussion/35792/crash-in-custom-renderer-on-ios However, the text is never displayed and the datepicker always shows todays date when...

View Article

App Suspended after Async Call

Hi. I am using MS Http Client in Xamarin Forms App. If I call any async method from my ViewModel (for example HttpClient.GetAsync()) before page view all working good. But if I same call after Page...

View Article


System.Net.Http not found

Visual Studio 2015 Xamarin 3.9.289 Xamarin.Android 4.20.0.34 I have a basic almost hello world type app that is making a rest call with basic authentication. This is the most relevant error message I...

View Article


Killing a shared application

I want the user of my shared (Android/IOS) application to be able to download an entire (updated) SQLite database for their app (rather than updating individual records one-by-one). To this end, I can...

View Article

Activity vs Application

Whats the difference b/w using Activity vs Application in Xamarin? Why would one want to use one approach over another? For example, when I create a new Xamarin Form project in VS I get the follow:...

View Article

Moved: Session management b/w activities

This discussion has been moved.

View Article

which social authentication to use?

Hi, I'm developing a Xamarin forms app. And now I want to implement user authentication. And later posting on facebook. I have looked at teh component store and found many different components. So...

View Article


Is it possible to disable navigation toolbar items in xamarin.forms?

I'm trying to find a cross-platform way to disable user interaction with navigation toolbar buttons. When the user clicks "done" I make a request and want to prevent any further clicking of "done" or...

View Article

Calling method from a view model

I'm looking to implement a countdown timer which displays the count... 10, 9, 8, 7... 1. Then when it hits 0 it fires a command. I'm unsure what the "right" approach for this would be. I'm using Xaml...

View Article


ImageSource to Stream

Hey guys, I am trying to persist a user photo by converting it to a byte array. The initial placeholder image is loaded using xaml and static resources. The holdup is, that ImageSource is a XF Element...

View Article

iOS images in Xamarin Forms

So I have an image with 3 different resolutions: camera.png camera@2x.png camera@3x.png All with a build action of "Bundle Resource". If I do ImageSource.FromFile("camera.png"); it always retrieves the...

View Article


c.Delegate = null; crashes App on iOS < 8

Hey guys, I am using Xamarin Forms to develop an App as part of my master thesis. Now I got stuck with an iPhone 4 and iOS 7.1. With iOS 8 and 8.4 @ iPhone 6 everything works like a charm. Also on the...

View Article

Get BindingContext of cell in a ListView

I'm converting a C# layout to XAML. The layout displays a list of Contacts that each have an Id, a PhoneNumber, and a Name property. I have a method CallContact that accepts a Contact as a parameter....

View Article

Image As Background

Hello, I am working with Xamarin Forms and would like to use an image as the background for some pages. I have several Views and Layouts on different pages, and would like to overlay them onto a...

View Article
Browsing all 76418 articles
Browse latest View live