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

Xamarin App crashes on Reopen NullReference

I have an app on Xamarin, it works fine, if I press back button, to move to main menu it hides in app stack, so when I open it back from app stack it suddenly crashes with NullReference 06-10...

View Article


Linker Stripping Out Serialization

I've been using the following bit of code for years to save simple objects local storage. using (FileStream fs = new FileStream(filename, FileMode.Create)) { DataContractSerializer dcs = new...

View Article


Use MasterDetail page (Menu) and Navigation page in a project

Hello All, I am developing XF app for iOS and Andorid. I need to use Menu in my project. I followed this article to use MasterDetail navigation page -...

View Article

Displaying app's build information

Hi, I need to show the build information ( build date and environment(Adhoc/Distribution) in my app which is for three platforms.I am able to get the version number .Pasted the code below.I will also...

View Article

iOS Inline Picker with Xamarin.Forms

Anybody have any guidance on how to go about having an iOS inline style picker in my Xamarin.Forms iOS app? The Android side is fine as is I'm just being asked to make the iOS look more iOS. Not having...

View Article


Add TapGestureRecognizer to Custom Frame

Hi there. I have a problem when working with TapGestureRecognizer. I have a custom of Frame. Inside custom Frame i add a StackLayout ( inside this StackLayout have few controls ). My code as bellow :...

View Article

Getting my .resx file commented out after a semicolon

Hello, I've been following https://developer.xamarin.com/guides/cross-platform/xamarin-forms/localization/ in order implement localization and I have been stuck at a point where encoded values comment...

View Article

Fatal signal 6 (SIGABRT)

Hi, Since I upgraded to Xamarin 4.0 I have an issue. When I want to deploy my application on the test device (Android 4.4) I receive the following error (either Visual Studio 2013, 2015, or Xamarin...

View Article


Auto rendering 20+ icons for iOS, Droid and WinPhone Apps

The number of icons needed to create a Xamarin Forms app is most irritating. That motivated me to hack together a WPF desktop application that renders application icons / splash screen using XAML (and...

View Article


Correct approach of adding zoom and panning capabilities to a custom Image...

I'm creating an Image custom renderer for iOS on Xamarin.Forms. I'm able to successfully recognize the different touch gestures such as pinch gesture and swipe gestures in my iOS custom renderer. My...

View Article

[UWP] CaptureElement only displays content after resize

I have a universal Windows app that uses a captureelement to display a camera stream (I set the CaptureElement in a custom renderer vor a View). The thing is, that the stream is only displayed after I...

View Article

How to attach an ImageSource object to an email?

I'm working on an Android dependency service to open the default email client and add an image attachment. I'm passing an ImageSource object to the Android dependency service, but now I'm trying to add...

View Article

Image may be NSFW.
Clik here to view.

MVVM Binding Issues

Hello all, I am having difficulty with the data bindings with xamarin and I was hoping someone might be able to see what I am doing wrong. First created this in my resources <DataTemplate...

View Article


Exception while trying to RaiseChild during Container.LayoutChanged on Android.

I am working on a video layout manager for a conference app. The following code is an excerpt for a Layout manager for a custom renderer. It works fine on iOS, but on Android it throws an...

View Article

How to use platform Idiom in Xaml

Although I can do the following in code, I want to do it in Xaml: if (Xamarin.Forms.Device.Idiom == TargetIdiom.Phone) { MainPage = new NavigationPage(new MyPage()); } else...

View Article


Icon image on Toolbar item in xamarin Forms

Hi, I'm creating all forms UI with the code using the Shared project. I want to add the icon image to the toolbar item. Can anyone guide me how can I achieve the same ? I could not find a suitable...

View Article

[Custom Renderer/XF] Getting Native Camera Stream To Work

Please, before I explain and give code snippets, note that I do not want/need what Xamarin Forms Labs offers. That camera is intent, which is impractical to me, and I want to be able to customize the...

View Article


System.ArgumentException: 'jobject' must not be IntPtr.Zero

03-28 00:21:42.803 E/mono (30674): Unhandled Exception: 03-28 00:21:42.803 E/mono (30674): System.ArgumentException: 'jobject' must not be IntPtr.Zero. 03-28 00:21:42.803 E/mono (30674): Parameter...

View Article

Line break in paragraph in Xamarin TextView

Hi All, Am binding lines of content(Dynamically) into TextView, it looks like a paragraph for whole content, how split paragraph while binding content into TextView, I tried \n, HTML line break but not...

View Article

Xamarin.Forms.Maps pins implementation

Hi guys, The Maps implementations is really puzzling. I tested on Android a couple of months ago and now tested the iOS version - they both have the same pin implementation - every time the pin...

View Article
Browsing all 91519 articles
Browse latest View live


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