How to tell if running on a phone or tablet in Xamarin Forms
Hi, I know how I can tell if we are in a tablet or phone on Android but looking for a fairly foolproof way in Xamarin Forms. I was pointed to: if (Device.Idiom == TargetIdiom.Phone) That differentiates...
View ArticlePublication of Android App Failed using Xamarin Studio
I'm using Mac with Xamarin Studio version 5.9.5 to Archive for Publishing my Android App. I followed the steps in "Part 1 - Preparing an Application for Release" to publish the app but I encountered...
View ArticleWebView rendering when not Visible
Hi All, I have a WebView that is not visible when the page is displayed. Visibility is set when tapping a StackLayout gesture. The WebView source is using a HtmlWebViewSource converter. When the...
View ArticleListview without tapping and higlighting. Only for displaying informations
Hi there, I'm searching a solution for a listview which is not tappable. I only want to display some informations via this view - there should be no highlighting by tapping or any action after a tap....
View ArticleNo Activity Indicator on Nexus 5 (Lollipop) (API 21)
I'm using the "IsBusy" code in my OnAppearing method and in the upper right corner of the Android version (API 19), I can see the Activity Indicator working properly but when I change my Xamarin...
View ArticleHow to show compass to locate fixed coordinate as destination in windows...
I have implemented the functionality to show compass pointing to fixed location as destination from current location using dependency service on android and iOS in xamarin forms project . The compass...
View ArticleSet listview text color from model string
I'm trying to figure out how to apply a hex color to my listview items. I've been searching high and low and can't get this to work. My current error when trying to debug is: "Additional unparsable...
View Articleproblems with background IOS
someone help me , I used a background image for my app so that because the ios 4s, 5s , and 6 use the extension @ 2x , my background image is getting short on ios 6 that he had a larger screen, does...
View ArticleHow to close application in Xamarin forms cross-platform
Can i have the code to close the whole application in Xamarin Forms Cross-Platform PCL. I written the below code in button click protected void BtnExit_Click(object sender, EventArgs args) { if...
View ArticlePop Display Alert/ Message from ViewModel
Guys. How do i invoke/ call display alert/show message once my program did some logic in ViewModel (MVVM)? E.g Login Form --> Enter Login Data ---> Click Login Button---> Bind button command...
View Articlexamarin forms audio video player
hi , how can i embed a audio/video player in xamarin forms ? what are the supported formats ? what are the options of location of content like local resource , URL ? thanks Jamal.
View ArticleXamarin Forms Connectivity Plugin
I am testing out the plugin created by James Montemagno, which looks pretty awesome. However, on my Android and IPhone emulators with a simple project I am getting False for...
View ArticleWhat is wrong with the binding in this custom viewcell?
As I have a component i need to show on several listviews, i have extended a viewcell. I would like to bind the fields in the viewcell to properties in my viewmodels list. Simplified XAML for...
View ArticleProblem compiling pages derived from ExtendedTabbedPage
Hi, I am trying to use the ExtendedTabbedPage in a Xamarin.Forms shared code project. When I compile I get the following error: error CS0246: The type or namespace name 'ExtendedTabbedPage' could not...
View ArticleCustom TabbedRenderer to set tab text color on Android
I found an iOS render: http://forums.xamarin.com/discussion/17811/tabbedpage-tabbar-background-color-tint but I can't seem to find a similar Android rendered to set to set the tab text color. I found a...
View ArticleDifferences with scaling between the platforms
Hi, New to XF but enjoying be able to use XAML again! However I found that the same XAML (with no custom renderers) renders very differently between the Windows Phone and Android emulators. Attached is...
View ArticleAndroid XF Map issue when pushing navigation page with map from map pin of...
I have a main map with markers representing persons. When you click on the pin marker, it pops up the annotation, then click that, should navigate to another page with another map on it and other...
View ArticleHow do you allow buttons to maximize the space inside it for text?
As I currently have it, I wrote a bit of code that allows you to get the font size needed for text (label or button) to fit exactly into the encompassing area. The problem I'm having though is it seems...
View ArticleHTTPClient hangs at GetAsync when debugging on Android device
I'm getting some strange behavior with my HTTPClient when running on a device. I originally created a test C# console project just to test out the results from our server API, and everything went fine....
View ArticleRelease configuration to publish Android app in Xamarin.Forms (PCL project)
Hi, I have created a configuration in order to add some custom commands etc when I publish an Android app (see attached image). If I select "Release|Test" for the Android project then Xamarin Studio...
View Article