GURUUMEDITATION

[responsive-menu menu="HamburgerMenu"]

Genymotion ADB server version (xx) doesn’t match this client (yy)

I recently had this very explicit error message (he seems write cryptic messages is part of the specification now): “Genymotion ADB server version (xx) doesn’t match this customer (yy)”. The error comes from the fact that the ADB used by Genymotion is not the same as that used by Xamarin (which is installed with the Android SDK). To [...]

Autolayout with Fluentlayout

  I am currently developing some iOS app with Xamarin. I wanted to use Autolayout for the UI as it is the modern way. Besides, I like those “reactive” layout. Autolayout is not the most intuitive (at least for me ) so I was looking for something to make it easier. I found this, Fluentlayout. As it is developed by the author of MvvmCross, I know [...]

Xamarin Forms behaviors

A new thing in Xamarin Forms 1.3 is the behaviors. The behaviors are a kind of super attached property. You can see it as a independent reusable functionality you can add to existing controls as you want. You don’t need to subclass the control, it is just like a piece you clip on the control.   As example, I’ll make a behavior that executes a command [...]

Could not load type in release mode (Xamarin)

I got a weird problem with a Xamarin Android app today. In debug mode, it works. In release, I have a weird exception “Could not load type System.Guid”. The problem is with the linker. Sometimes it “forget” to include some types. You can reproduce it in debug mode by copying the same linker release settings to the debug settings. Mainly : and With [...]

Mobile Dev Day 2014 : a succes !

The Mobile Dev Day 2014 took place on Thursday, November 27th. We got bigger than last time : 2 tracks (one in French, one in English) 10 international speakers (8 MVPs, one from MS Corp (Scott Hanselman) on one MEET member) 250+ people showed up   We got very good feedback from attendees as nice ideas so we are motivated to do bigger and better [...]

Enable Two-way binding with MVVMCross

  A quick tip. On a Xamarin Android project with MVVMCross, I had to make some binding on the DisplayedChild property of a ViewFlipper. I needed a two-way binding, but it didn’t work. After some reading, I understood how binding is working : – For one way binding, it uses Reflection to get the property (DisplayedChild in my case) – For [...]

HAXM / Genymotion installation on Surface Pro 2

Anyone who is doing Android development knows this : the emulators are slower than Java (which is a huge achievement). In order to have something useable, you can either install the Intel HAXM drivers and use the x86 images of the emulator, or install Genymotion emulators.   So I tried the HAXM drivers, but I got this message when I am installing it [...]