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

Equivalent of ResignFirstResponder in Xamarin Forms

Hi, is there an equivalent of ResignFirstResponder in Xamarin Forms? I need to dismiss the keyboard after i populate the listview with results. Thanks

View Article


ListView itemtapped event stops working on Android

I don't want nothing more, just handle ListView's itemtapped event. When I open the page first time, it works. BUT When I navigate to another page with tabs, and later navigate to the listview page...

View Article


TouchesBegan doesn't work in iOS

I'm trying to handle start of touch in iOS project using TouchesBegan event. I've done everything, that is described here . Gestures like pan, swipe, longpress and so on work fine and I'm trying to...

View Article

Publication 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 Article

[Android] "The 'LinkAssemblies' task failed unexpectedly"

I'm getting this error in my Forms app. My app targets Android 14. I did not create it from the Xamarin.Forms project template, but rather re-purposed the original app while trying to upgrade to...

View Article


Java.Lang.RuntimeException every time I try to use Xamarin Forms Maps on...

Hi, I have a page to select the address of the user. It has a Map page on it. It works perfect on iOS, but every time it starts on Android it errors out. I saw on other posts, there is a way in Visual...

View Article

RendererFactory.GetRenderer() - is it bug - child content?

Is it bug that RendererFactory.GetRenderer(Forms.View) doesn't return child content? For instance if you call this with non-empty Grid (for ex. with few buttons) only the Top-Level element would be...

View Article

Image may be NSFW.
Clik here to view.

[PROBLEM] Set Button HeightRequest

I have this code: loginBox_bttLogin = new Button { HeightRequest = 30, Text = "ĐĂNG NHẬP", TextColor = Color.White, FontAttributes = FontAttributes.Bold, BackgroundColor = Color.FromHex("#006fb4") };...

View Article


EgorBo CrossChatApp

Hi, My question is regarding the: https://github.com/EgorBo/CrossChat-Xamarin.Forms How to deploy the backend? and project? cant seem to find a deploy guide, hope my thread won't be out of context(I...

View Article


Error initializing task XamlG: Not registered task XamlG

Hi guys, could you help me out, what does this error means? Error: Error initializing task XamlG: Not registered task XamlG. (MapTest.Android) Thx in advance? BR VM

View Article

MasterDetails Page

How can add sub menu in master details page?

View Article

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


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


Azure Mobile Services Authentication vs. AD Graph API

Hi Guys I have manage to authenticate the AD user with Mobile Services successfully, and I get the user ID and the token According to this http://msdn.microsoft.com/en-us/library/azure/dn151678.aspx I...

View Article

How to get Azure Mobile Services SQLiteStore working on Windows Phone using...

My app is happily using both "Azure Mobile Services SQLiteStore" and "Windows Azure Mobile Services" in the Android and iOS builds. However, I have wasted rather a lot of hours trying to get the same...

View Article


Using Views

Why when I make a variable of type view I get a: Error : 'Xamarin.Forms.View.View()' is inaccessible due to its protection level I'm trying to do it like this: View content = new View(); Can elements...

View Article

Visual Design of MasterDetailPage

I'm noticing that on iOS the MasterDetailPage looks different than I'd expect on small form factor. It appears that the page I've set to be the Detail hangs over a bit on the right hand side of the...

View Article

Need to set Content Page Background color to transparent in iOS

Hi Guys Currently I am pushing a modal content page to display some content as a custom pop up. What I am doing is setting the background color of the content page to Color.Transparent and centering a...

View Article
Browsing all 91519 articles
Browse latest View live


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