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

Not able to find good code snippet for getting current device location using...

Hi I am searching for small code snippet demo for getting current device location . I tried follwoing code . using PerpetualEngine.Location; //add package Button btn = new Button () { Text="SHow Loc",...

View Article


Setting the source for MediaPlayer

Please enlighten me in this scenario: I have an interface: public interface ISoundService { void SetSource(string pathToFile); Task<bool> Play(); void Stop(); void Pause(); } I have it simple...

View Article


Listview Height Problems

I have some problems dealing with listview height. I have a listview (and some labels) in my StackLayout and no matters how many items there are in the listview, it have always a fixed height. In this...

View Article

ListView shows an exception

I have ListView in ListView, and when I click in parent ListView item and show child ListView ( IsVisible = true ) I get an exception: System.MissingMethodException: No constructor found for...

View Article

Error: Code signing failed.

I have an older Xamarin.Forms project (created late last year). I'm trying to rebuild the iOS version to run on 9, but no matter what I set for signing options I get "Error: Code signing failed.". I...

View Article


Image may be NSFW.
Clik here to view.

Error creating new Forms project in VS 2013 and Xamarin Studio

Hopefully someone can tell me what I am missing here. I get the following error when I try to create a new Xamarin Forms (Portable) project: "Specified argument was out of the range of valid values....

View Article

WP 8.1: Deploy error: Package could not be registered (after update from 8.0)

Hi all Unfortunately, I have a vital problem. I have updated my app (based on 1.4.4 stable) from WP 8.0 to WP 8.1 Silverlight. After doing that, I had no problems to debug/deploy my app to the...

View Article

[WinPhone RT] TabbedPage header consumes a lot of space

Hi, When using a TabbedPage (included in a NavigationPage) in Windows Phone WinRT project the tab header consumes a lot of space on the page. It seems both the NavigationPage and TabbedPage add some...

View Article


PCLStorage failing on Visual Studio for Xamarin.Forms project

I've created a Xamarin.Forms project that uses PCLStorage. I've added PCLStorage from Nuget to all projects in the solution (iOS, Android, Win Phone and shared). When I run the app in the iOS simulator...

View Article


Creating custom Horizontal scroll list

I am trying to create horizontal scroll list. Multiple forums recommended writing a custom renderer since there does not exists one. My final output is something like this. Each element in the scroll...

View Article

Problem with Master/Detail view in Xamarin.Forms 1.5.0

Hello! We use a master-detail view in Xamarin Forms and so far it worked on Android and iOS. Since the last update (Xamarin.Forms 1.5.0) the iOS version throws an exception when changing the MainPage...

View Article

Image may be NSFW.
Clik here to view.

[WinPhone] Display Image from StorageFolder

Hi all, I'm currently trying to display an Image that is being saved to the StorageFolder of the App on Windows Phone. I'm using DependecyService to Save the Image, which is working on all three...

View Article

Custom view single instance

I have created a custom view in my PCL project which is used on 2 XAML pages. The custom view has a timer which is started and stopped according to if the view is displayed or not. It appears though...

View Article


Can I scale my TitleIcon image to fit into my NavigationPage?

I'm trying to put the product logo in my NavigationPage but sizing has been a pain in the butt. Do I have to have the perfect size image to use it in the NavigationPage? And if so, what is the optimal...

View Article

Can't deploy to iPhone

Cross-posting this from the Visual Studio forum, since it hasn't gotten a response in 24 hours. Hopefully I can get some attention here. Whenever I try to run on an iPhone, Visual Studio hangs for a...

View Article


iOS App size in TestFlight is much bigger than the .ipa

I pretty much finished converting a Xamarin.iOS app to Xamarin.Forms. The size of the old version in the app store as 24.5MB. The .ipa of my Forms app is 22MB (with many features added), so this is...

View Article

MVVM Pattern without XAML and Fody in Xamarin?

Hello everyone, i would like to know about MVVM pattern without XAML, i dont feel corfortable using XAML, so you guys have experience with MVVM without XAML? i found only this tutorial:...

View Article


Navigation Bar behavior in Android

I swear, inconsistency between versions (and devices) of Android will be the death of me. Consider the following very simple XForms application: using Xamarin.Forms; namespace AndroidNavBar { public...

View Article

Custom Page Transitions with Xamarin.Forms?

Is it possible to override the default Page Transitions for Xamarin.Forms when calling PushAsync or PushModalAsync? For example, I would like to have slide or fade transitions for Android. I have tried...

View Article

Listview Item Animation and Delay

Hi there. I'm having trouble getting each item in a ListView to show up at separate times(like half a second apart each), similar to Google+ where each item animates in separately. I have a ScaleTo...

View Article
Browsing all 77050 articles
Browse latest View live


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