23 Jun, 2015

Create a panel to give all GridView items the maximum width/height

I found myself still recently facing a standard problem using a GridView (note: it is just as valid for the ListView). The items of the list contained a text which can be small or long, giving something like this: Great. By default, GridView takes the size of the first item as the size for all items. To work around this, I’ll create my own class [...]

22 Jun, 2015

Customize default theme for Universal App 8.1

  Very busy days, just a small trick this time. You can customize easily the default theme for Universal app. The theme ressource is not showing in Blend, but you can find it in the Windows Kit directory: Check for c:\Program Files (x86)\Windows Kits\8.1\Include\winrt\xaml\design\ . You will see two files : themeresources.xaml and Generic.xaml. [...]

7 May, 2015

Impressions of HoloLens

I was at //build/ last week and I had the chance to get into the HoloLens Academy. What is the HoloLens academy? It is a course delivered by the HoloLens team. An introduction to development on HoloLens. The places were very limited and, as you can imagine, there was a rush. Everybody wanted to try those enigmatic glasses. I had problem registering, [...]

20 Apr, 2015

Sharing files in Windows 10

There is a new way of sharing files in Windows 10. You can still share with the Share Contract, but there is also a way to share using a token. The principle : An application add one of its file to its shared file list. It receive a token for that file The application send the token (using uri activation for instance. Or any other way you can imagine, [...]

1 Apr, 2015

Playing with MS Band SDK

The Band SDK is out since a few weeks. Finally, I was waiting for it since I got the Band (Beginning of November, during the MVP Summit). I was a bit disappointed because you can’t write “real” Band app, but I understand. It is the first version of the device, I hope for the next ones, we will be able to do more. With this SDK, we can do 3 big [...]

30 Mar, 2015

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 [...]

8 Mar, 2015

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 [...]

31 Dec, 2014

Import ResX to XLF

I used the Multilingual Tool on a project, but the team sent me the translations not in the xlf file but in a resx file. I didn’t found any tool that could import the values from the resx into the xlf. After some search on the internet, I found some code in a forum that do what I need. (I couldn’t find the forum anymore, if you are the author, contact [...]

30 Dec, 2014

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 [...]

7 Dec, 2014

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 [...]