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

Can't target Android 6.0

I have a Xamarin Forms app with a Droid project. I have Android 6.0 (API 23) installed via SDK Manager. But Xamarin Studio only shows up to 5.1 in Options / General / Target Framework. I reinstalled...

View Article


Video plays only sound but no visual.

Good day, I'm developing an app with Xamarin.Forms and I'm trying to play a video. I have been googling for the past two days and almost every discussion has the same/similar possible solutions but...

View Article


Xamarin forms in windows phone cannot debug in device and simulator

When I trying Debug Xamain forms application target windows phone 8.1 (device or simulator) silverlight application, but always output this error and end the debug mode. Anyone got idea how to fix...

View Article

Howto convert from C# code to XAML

Hi, I am new to Xamarin and implemented some examples in "pure" c# code. Now I am trying to "convert" my code to XAML. I have a mainpage that passes an object containing data to several detailpages....

View Article

Missing Services : Exit with error code 1

Working with Google Cloud Messaging in Xamarin.Forms Android app with VS 2012 exits by return error code 1 GoogleApiAvailability.Instance.IsGooglePlayServicesAvailable(this) Codes work successfully and...

View Article


Can not convert EventColor to type 'Xamarin.Forms.Color'

I'm trying to change TextColorProperty on a TextCell using a DataTemplate. in my model I have public Xamarin.Forms.Color EventColor to use in the datatemplate. For some reason its telling me it can't...

View Article

How Render PDF file in Xamarin Forms (Android & IOS)

Hi, I am new in Xamarin , Please let me how we Render PDF file in Xamarin Forms (Android & IOS) any example code please share with me. Thanks

View Article

Image may be NSFW.
Clik here to view.

Define layout sizes in inches with IDisplay extension (code only)

I am not sure if there is built in functionality in Xamarin Forms for specifying layout dimensions in device independent way and the Device.OnPlatform method seemed very cumbersome and unpractical to...

View Article


NavigationRender Issue

Hi, I used below code for my custom navigation renderer in Xamarin.Forms App. But due to this extra blank space(Black Color) left at the bottom of the screen. Please have a look in the attached...

View Article


How to write a unittest with Device.OnPlatform()

Hello I want to test a method on the pcl-part. The IOS-Part do other stuff than the android one. For example the ios-part make a ModalPush and the android-part a normal one How do you test such parts?

View Article

What triggers the "CanUpdate" Characteristic property in Monkey.Robotics

What triggers the "CanUpdate" Characteristic property in Monkey.Robotics? I am building a xamarin.forms app using the monkey robotics plugin for my BLE requirements. It has been working, but since I...

View Article

Image may be NSFW.
Clik here to view.

Trying to make 'Next' and 'Prev' buttons on Keyboard through Custom Renderer....

So I'm trying to test if I can make the Next button on my keyboard go to the next Entry. My Done, Next, and Previous buttons on the keyboard were made using Custom Renderer for iOS. Here's the code...

View Article

Fix for Button Layout Bug on Android

If you've run into the same problems with layout on buttons that I have where when you either add other controls, or even just do things like set text on labels, and you're finding that the Button text...

View Article


How do I call a method on a custom Xamarin.Forms control?

As the title says - if I have a custom control, like this one, how can I call a method on the renderer? My use-case: I'd like to create a custom cross-platform control for rendering SVG's. The logic is...

View Article

Problem to create a touch plugin

I'm trying to create a plugin to use touch events in forms. I'll use iOS as exemple, so i've created the classes, ViewTouch and CrossTouch extended to UIView and Interface respectively public class...

View Article


Get content of a WebView as a string

Is it possible to get the content of a WebView as a string? I tried using: HttpWebRequest httpWebRequest = (HttpWebRequest)WebRequest.Create(Constants.LOGIN_URL); HttpWebResponse response =...

View Article

Android crashes with ActivityIndicator while starting

Hi, on our project (and a blank test project for reproduction) the ActivityIndicator let Android Apps crash when they use minimum API Level 16 (4.1 Jelly Beans). It's enough to put a ActivityIndicator...

View Article


who can help me with this error

Could not install package 'DotImaging.Primitives2D 3.0.2'. You are trying to install this package into a project that targets 'portable-net45+wp80+win+MonoAndroid10+xamarinios10+MonoTouch10', but the...

View Article

Is it possible to set an items visibility depending if list view item is...

I have a listview like so: <ListView x:Name="listView" ItemsSource="{Binding Customers}" SelectedItem="{Binding SelectedCustomer}"> <ListView.ItemTemplate> <DataTemplate>...

View Article

How can I prevent RelativeLayout from re-drawing when child changes?

I've got a relative layout that contains a grid I position slightly off screen. The user needs to press a button in order for the grid to "open" (using LayoutTo). Once open, there is a toggle switch...

View Article
Browsing all 81910 articles
Browse latest View live


Latest Images

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