Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Browsing all 58056 articles
Browse latest View live

Is it possible to get the user's (more accurately, the Device's or SIM's)...

I have an issue where people enter their mobile number in their local format (for example, US users would enter "(123) 456-7890" or similar) into my App, but I need to know what country that number is...

View Article


Button command fired twice?

Hello, I have a simple page with a button linked to a command: <Button Text="ContactWise" Command="{Binding NavigateToPage}" CommandParameter="ContactWise" /> In the "NavigateToPage" command,...

View Article


Xamarin.Forms IMediaPicker WinPhone

Hi All, I working on an app that will run on Android and Windows Phone 8.0. This app must to be able to take photos. I found an easy way to do that by using IMediaPicker. However, it only works on...

View Article

Binding a ListView to all public properties of a class : possible?

Hello, Is there a way to bind a ListView to a list of properties in a class? Let's say we want to display a list of the characteristics of a company. The BindingContext is already set to the company in...

View Article

Xamarin.Forms.Labs select camera picture

Hello, I'm using https://github.com/XLabs/Xamarin-Forms-Labs/wiki/Camera to take a picture and select it. I can take a picture successfully and save it, but the problem is that the picture is saved in...

View Article


Microsoft.AspNet.Identity Implementation

Is there any way to integrate the .Net Identity into a Xamarin Forms project? I need an app to work offline, so was going to bring over the database to the app. However, I can't get the Identity into...

View Article

Device.StartTimer problem

Hi I would highly appreciate if someone could tell me why this code does not work in iOS 7 or 8 where it works perfectly under Android private void StartTimer() { var countDownTimeSpan = new...

View Article

Cannot launch Android or Windows Phone emulators

I have a brand new machine, Windows 8.1 Pro (received 2/10/2015) and I've installed Xamarin, Visual Studio 2013, SQL Server 2012 and some other components. I'm able to build my app and have it compile...

View Article


TabbedPage - lifecycle hook for when a tab is visible?

Hi! I'm currently working on an app which uses a TabbedPage. I'm looking for a way to have a method run every time one of the tabs in the tabbed page gets visible. I.e. when you select a tab on iOS or...

View Article


Form validation with Exception handling using MVVM and Commands needed

I'm looking for a real world sample application that uses MVVM with Xamarin.Forms that binds to a Command which calls a service to update some data and then have MVVM command handle any exceptions....

View Article

Setting height of WebView dynamically

Hi, I have random HTML content coming from service which I am displaying in a webview in a xamarin forms application. Now, I want to adjust the height of this webview as per the content. Currently I am...

View Article

Losing pages in back stack on iOS

When navigating back quickly, I sometimes end up with missing pages i.e. page from step3 appears under title for step 1. This happens on both device and simulator. I'll try to reproduce this issue. Has...

View Article

Is this a layout fault?

If you set a label to "CenterAndExpand" it centers in the middle of the available width. If however the text goes over the available width, it seems to revert to left aligned for the multiple lines -...

View Article


Progress Indicator not showing

Hi I have a progress indicator in my C# code that is not showing... Am not making use of XAML but build UI in C# code. _progressIndicator = new ActivityIndicator { HorizontalOptions =...

View Article

Image may be NSFW.
Clik here to view.

Entry and Button highlight

Hi All, I've set my Entry to have a black background and white text. It works fine on Android, but on WinPhone it's only black when entry is not highlighted. Once I highlight it, the entry becomes...

View Article


horizontal scrollview

Hi xamarin developers, my horizontal scrollview doesnt scroll horizontally, here is code. ` StackLayout stack = new StackLayout { Orientation = StackOrientation.Horizontal }; for (int i = 0; i < 40;...

View Article

How to add authentication to webview?

Hi, I am loading url in webview but url having authentication, is there any method for passing username and password to webview in forms?

View Article


Backbutton causes error

Hello, I just noticed that (at any time) when I press the physical back button on my android phone the app crashes. I think this is due the Xamarin Forms update from 1.2 to 1.3 that I did a while ago....

View Article

Image may be NSFW.
Clik here to view.

Is DateTime broken on Android?

I have a forms app in which Im trying to use DateTime.UtcNow. I get unexpected results to say the least. The image below shows the side by side simulators both returning a UTC from a call to my mobile...

View Article

Xamarin.Forms 1.3.4-pre4 Released

1.3.4-pre4 Information Bug Fixes Bug 27016 - Incorrect placement of StackLayout within AbsoluteLayout 1.3.4-pre3 Information Bug Fixes A further improvement to the button memory leak fix on Android Fix...

View Article
Browsing all 58056 articles
Browse latest View live


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