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

What is the best way to convert an Android Bitmap to an ImageSource?

I have tried: Parcel p = Parcel.Obtain(); bmp.WriteToParcel( p, ParcelableWriteFlags.None ); var imgsrc = ImageSource.FromStream( () => new MemoryStream( p.CreateByteArray() ) ); Where "bmp" is of...

View Article


TapGestureRecognizer not firing for Android

TapGestureRecognizer is working for WinPhone but on Android although the Application Output is showing [ViewRootImpl] ViewPostImeInputStage ACTION_DOWN but the Tapped evenit isn't being called... var...

View Article


Disable item selection in a ListView in iOS

On Android I am able to keep the user from clicking any cell within a grouped ListView by setting IsEnabled to false. This seems to have no effect on iOS. Is this a bug? And if so, is there a...

View Article

OpenGLView Not Rendering Frame Buffer

Hi all, I am trying to simply put a triangle on the screen using OpenGLView in a Xamarin.Forms shared project. I believe my code is set up right, but no triangle ends up on the screen. Any insight...

View Article

SQLite Throw Exception

Hi, I want to create an internal librairy for my project and I followed this tutorial. On Android and IOS it works but on windows phone 8.1 it throw an exception on this part of the code: var conn =...

View Article


Push Notification that really works

Hello everyone, along these 4 days i tried every plugin and component that Xamarin and others provide to work with push notification and no one of them works. i've tried Azure Message, Azure Web...

View Article

Please help me understand what's wrong with this binding

I've read through the binding material on the getting started, and I watched probably a half hour of the university course. I'm trying to get a basic binding to work. I have this XAML toolbar item <...

View Article

Image may be NSFW.
Clik here to view.

A ListView with an expanding footer

Hey guys, I've been Googling around for a while and I'm unable to find something that will help me do what I need. I want a ListView where the footer will expand to fill the screen if there are not...

View Article


ListView Image recycling

I'm using the Image class from Xamarin.Forms along with a binding using the UriImageSource. The problem is that while scrolling the ListView and new images are downloaded you often see the previous...

View Article


Application starting behind the top time/battery bar on iOS?

I tried using my Xamarin.Forms app on iOS for the first time today and ran into the minor problem where my App runs behind that top bar on iOS, so the battery icon/time/carrier bar is in front of my...

View Article

how to download and install a new application into existing application using...

I am new to xamarin.forms. In my xaml content page I have one button-name-update. when click on that button I want to update the old app with new app with out lossing the database files. I need the...

View Article

Control working in debug on device and in simulator but not in Ad Hoc build

I have a control a built using NControl for Xamarin forms. It works in debug on the device and the simulator, but when I do an ad hoc build and test it, the controls don't show up. Anyone have any...

View Article

Could not add Kidozen package in Xamarin Studio on Windows platform

Hi , I am trying to add KidoZen package in my project.But It is showing following error. Adding KidoZen... Attempting to resolve dependency 'modernhttpclient (≥ 2.1.5)'. Attempting to resolve...

View Article


Binary XML file #1: Error inflating class Test.Droid.CropImageView

I'm using the following segment in a cropimage.axml and when I choose an image this error appears, does anyone know what this is about? <view class="test.droid.CropImageView" android:id="@+id/image"...

View Article

Upgraded to Forms 1.3 pre 1 and get a "Not registered task XamlG" build error...

The output from the build is the following: Target GenerateXamlG: Task "XamlG" error : Error initializing task XamlG: Not registered task XamlG. Error initializing task XamlG: System.Exception: Not...

View Article


How to handle individual ViewCell clicking events once added to a ListView

So I have a ViewCell that displays some labels and two images, and I would like to make the ViewCell clickable and then handle what to do once the ViewCell is clicked. I would like to have one of the...

View Article

Xamarin.Forms Designer

I've modified the DesignerHost-Sample from Microsoft to create a Designer that works in conjunction with Xamarin.Forms, WinForms and GTK# It's not the swiss army knife and requires a large function...

View Article


Image may be NSFW.
Clik here to view.

How to handle local notifications on Windows Phone

I'm having problems with navigation after user taps a local notification. My goal is to navigate user to specific view after he taps a notification. I already managed to make it work on both Android...

View Article

Image may be NSFW.
Clik here to view.

Getting "Method Not Allowed" error when trying to Login to Azure Mobile Services

Hello everyone, I have a problem with Xamarin.Auth, Azure Mobile Services and LinkedIn login that I haven't been able to solve for a couple of days now. First of all I have the Azure Mobile Services...

View Article

Transparent Page when using PopModalAsync?

Trying to have a modal popover displayed with a transparent background. I've set the Page BackgroundColor, the Content BackgroundColor and any nested children BackgroundColor to Transparent, but there...

View Article
Browsing all 75885 articles
Browse latest View live


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