Quantcast
Channel: Recent Threads — Xamarin Community Forums
Browsing all 204402 articles
Browse latest View live

Running a UITest for iOS on Mac

Unfortunately all the videos on Channel 9 and YouTube demonstrating UITest usage only show running it on an Android device / emulator unless you deploy to Test Cloud. Is there any video available at...

View Article


Create CGImage from an array of bytes (pixels)

Hey, I'm fairly new to iOS and Xamarin. I dove into image editing and immediately hit a brick wall. I'm using CGBitmapContext to feed image information into a byte[] array. After that, I'm manipulating...

View Article


Mono strongname verification failing

This is a cross-post. I am using a Xamarin build of Mono on Ubuntu. At some point in the past (while I was using the stock, ancient monodevelop from the Ubuntu repo) the following approach worked: sn...

View Article

[PRISM] Getting AutowireViewModel in a ControlTemplate to work

Hi, In my Xamarin application I use PRISM and on my pages I use the AutowireViewModel support for my viewmodels. I'm also using ControlTemplates so I can easy change the look and feel. <ContentView...

View Article

Image may be NSFW.
Clik here to view.

Android Highlight and Background Color of a Cell

So I'm trying to theme the background color of a cell. And keep a long press highlight on the item. I've themed the highlight with the style.xml: <style name="MyTheme" parent="MyTheme.Base">...

View Article


Runtime crash: Termination Reason: Namespace CODESIGNING

I'm getting some strange code signing issues, when building my app for the AppStore target. I'm getting a runtime crash: com.apple.xpc.launchd[1] (com.apple.xpc.launchd.oneshot.0x10000002[651]): Binary...

View Article

Image may be NSFW.
Clik here to view.

Xamarin UI Test WebView Google LogIn

In my application, I use google login and i need to write UI tests When I click on login button - on top of the application opens a web view. The problem is that neither in Android nor in Ios I can not...

View Article

Image may be NSFW.
Clik here to view.

Visual studio 2017 intellisense not working for axml layouts

Hi! I am using Visual Studio 2017 with Xamarin.Android 7.2.

View Article


My Xamarin Studio shows no signing identities or profiles

I wasn't sure where to post this as there doesn't appear to be a Xamarin Studio section. My Xamarin Studio is showing no Signing Identities or Provisioning Profiles for the Apple ID it's attached to....

View Article


Wanted: Xamarin developer to create binding for existing native Android library

Hi, We have an existing native Android library project (deployed as an AAR) with several dependencies. For a customer we need a Xamarin binding for that library. As we did not get it working by...

View Article

Image may be NSFW.
Clik here to view.

Xamarin.Android 7.0+ and Sqlite : how to make it work?

Hi, as stated in Xamarin.Android release notes for 7.0, there are some issues regarding Xamarin, SqLite and Android 7.0. The project I'm working on references few SqLite libs and indeed, when trying to...

View Article

Unable to use AOT when compiling in VSTS

I'm using continuous integration with Microsofts VSTS but if I enable AOT compilation I get the following error: Java.Interop.Tools.Diagnostics.XamarinAndroidException: error XA5101: Missing Android...

View Article

How to Work realm with Xamarin forms with UWP?

I have try to add realm package in UWP Project Error : Package restore failed. Rolling back package changes for 'QuickJournal.UWP'. so please tell me how to work realm with Xamarin.UWP

View Article


Image may be NSFW.
Clik here to view.

Run C# in .Net and iOS in Xamarin or Mono

For last few days I was looking for a solution, to have one C# code, that could be run in two existing projects (Windows Desktop WPF and iOS application). I wish I could build 2 libraries, one for iOS...

View Article

Scrolling works VERY slow on some Android devices

When using scrolling methods like ScrollUpTo or ScrollDownTo, the scrolling works VERY slow on some Android phones. Specifically on Android versions below 7.0 It takes literally minutes before the UI...

View Article


Xamarin.Forms Droid Project: Debugger throws strange DivideByZero-Exception...

Hi all, When I try to run my app on my Tablet after I logged in the debugger throws the following exception: Unhandled Exception: System.DivideByZeroException: Attempted to divide by zero. 06-01...

View Article

Media Plugin - Take Pictures

Hi, Is there a way to confirm the taken image in custom view or Auto Confirm the taken Image using MediaPlugin. (https://github.com/jamesmontemagno/MediaPlugin)

View Article


Linker Issue with Prism.Forms

I have been trying for a while now to achieve linking in mainly my Xamarin.Forms Android project. I'm using Prism in my project and when i set the Linker to SDK and User assemblies I seem to receive...

View Article

Webview PDF MonoTouchException

Hello, I'm having a problem with using a Webview to display a pdf, as described in this tutorial: https://developer.xamarin.com/recipes/cross-platform/xamarin-forms/controls/display-pdf/ Some of my...

View Article

No compatible code running

I am using windows 8, Visual studio 2015. When trying to debug the program i get: No compatible code running The selected debug engine does not support any code executing on the current thead (e.g....

View Article
Browsing all 204402 articles
Browse latest View live