Xamarin

  • Moving from MvvmLight to Microsoft Mvvm Toolkit – Messaging

    I recently needed to rework an existing Xamarin project and replace the MvvmLight implementation with the new Microsoft Mvvm Toolkit. This is generally an easy process and it has been designed as the spiritual successor to Laurent’s library. One area… Continue reading

  • Wrapping up 2020

    I haven’t posted as much as I would have liked this year, because “reasons” but I thought I would put together a short post to wrap up some of the things that have been going on behind the scenes. 32feet… Continue reading

  • Asyncify a method and event response

    It’s common to come across a pattern where you call a synchronous method to kick off an activity then await an event which gives you the result (or an error). In the process of building 32feet‘s Bluetooth LE library this… Continue reading

  • Changes coming in Xamarin Android BluetoothSocket

    While debugging an app I came across this new message in the Output window:- “Not wrapping exception of type Java.IO.IOException from method `Read`. This will change in a future release.” When working with an RFComm service on Android you use… Continue reading

  • WPF Activity in Xamarin Forms

    I’ve recently been working on extending an existing product written in Xamarin Forms to Windows desktop and this has meant learning a lot more about the WPF implementation. Originally Xamarin Forms was created for mobile platforms such as Android and… Continue reading

    WPF Activity in Xamarin Forms
  • New Year, New 32feet.NET Library

    I’ve been working away on the Bluetooth code for some time. I’d been meaning to modernise the code and build with .NET Standard and NuGet in mind and ideally support more platforms. However the project has stopped and started a… Continue reading

    New Year, New 32feet.NET Library
  • MediaElement Enhancements

    In the process of digging into a native exception when disposing the MediaElementRenderer on iOS I came across the closest thing I would get to the source of the problem. Because the resulting stacktrace contains redacted elements there was no… Continue reading

  • Xamarin Forms MediaElement now available on WPF

    Continuing from my last post on macOS, there is now a MediaElement renderer for WPF in InTheHand.Forms 2.0.2019.913. The native control in WPF is a lot more limited and is missing two big features – no system provided transport controls,… Continue reading

  • Xamarin Forms MediaElement now available for macOS

    As the Pull Request to Xamarin Forms continues in its holding pattern I thought about what else I can do with it. I had neglected the original codebase for a while but I’ve spent some more time with it recently… Continue reading

  • Xamarin macOS Binding Libraries

    In creating an IOBluetooth binding for Xamarin Mac I learned about Objective Sharpie and binding libraries. There is little documentation on this but it is fairly similar to Xamarin iOS and for that there is a lot more source material.… Continue reading