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

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 to check if app has Camera permission on iOS

I need to check if appliaction has camera permission before launching ZXing barcode scanner or Augumented Reality page. If I just launch them and user has disabled camera access in ios settings -...

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

Search Bar in Navigation Bar

Hello every one, I am trying to add search bar in the navigation bar in forms. i know that its not possible directly, but can be achieved using renderer. So i tried to implement one and add search bar,...

View Article


Facilidad de uso

Q parte del codigo es reutiizable

View Article


How to disable zoom in WebView

In my app (Android, iOS and Windows Phone) I have a Page with a WebView that loads content from a URL (an html page). The WebView takes all the space in my page and it's all working perfectly except...

View Article

Image may be NSFW.
Clik here to view.

Amazon Fire Tv (Stick)

Hi All, I tried using Xamarin.Forms on the Amazon Fire Tv (Stick), unfortunately it didn't work. The problem is that it doesn't have an ActionBar, but the initialization tries to set it up, an simple...

View Article

Xamarin.Forms not found

Hi, I'm using the latest Xamarin studio on my macbook. I was working on a portable xamarin.forms project which gets data from a Rest API. However, at some random point Xamarin refuses to build the...

View Article

Xamarin.Forms Xaml to add icon image next to user name and password field

Does anyone know how to add an image next to a Text field used for data entry? I can't figure this out. I even tried to create an ImageCell. Here is my code. This code centers the icon image just above...

View Article


How are we to do global exception handling in Xamarin.Forms?

I've found the AdvancedLifecycleDemos for Android, and I'm thinking of converting it to some sort of cross platform implementation, but I'm wondering if someone has already done this? I haven't found...

View Article

Unable to target android 6.0 and api level 23

Guys, Need some urgent help here. I have installed api 23 sdk from sdk manager but yet i unable to see any android 6.0 options or api level 23 option in both target framework and target android version...

View Article


Is there a way to tell if a label will truncate text?

I have an iOS implementation I am trying to port to forms. In the iOS version I show full names but if the name will be longer than the field width I use first initial and last name, if it still doesnt...

View Article

New FormsAppCompatActivity is raising an exception in NavigationRenderer...

I'm upgrading my app to use FormsAppCompatActivity. Now in my custom renderer that's inheriting NavigationRenderer, I'm getting an exception when calling base.OnElementChanged: [MonoDroid] UNHANDLED...

View Article


Android Exception in Xamarin Shared App

I am getting the following error in an android signed apk, (xamarin shared code app) and after hours of googling and testing differently things it hasn't changed....here is the error from the logcat......

View Article

Android Exception in Xamarin Shared App

I am getting the following error and am unable to figure out why... 1-02 00:55:16.255 4218 4218 I MonoDroid: UNHANDLED EXCEPTION: 11-02 00:55:16.258 4218 4218 I MonoDroid:...

View Article

Adjust Width of Master on MasterDetailPage

I am using the MasterDetailPage for the NavigationDrawer on Android. Implementing the functionality has gone perfectly, however the width is too large and i would like to adjust it. I have tried to set...

View Article
Browsing all 91519 articles
Browse latest View live


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