GURUUMEDITATION

[responsive-menu menu="HamburgerMenu"]
IoT
3 Jan, 2017

Barcodes on MS Band

Yes, I know: Microsoft has (it seems) dropped the Band (sad!). But as the article was 95% ready, I didn’t want throw it 🙂 There is a way to display a bar code on the Band. To do this, simply add a control of type BarCode (Surprise!) in a layout. This layout accepts the barcode type 39 and Pdf417 The best way to show something is to make [...]

Code
27 Dec, 2016

Detecting Continuum mode

One of the specific feature of W10M, unmatched by other mobile OS is Continuum. What is the Continuum? Basically, this is a feature of some Windows 10 Mobile phones (the Lumia 950 and 950XL, for instance) that turns the phone into a sort of mini PC. It is a way to add secondary screen via a dock (HD-500, for example, that also allows to add a mouse [...]

Astuce
30 Sep, 2016

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

Astuce
21 Aug, 2016

DEP 0600 while deploying a Windows Phone app

A stupid thing that happened to me several times and, because of the cryptic message, makes me lose time. It is the VS error message “ ” Error DEP0600 Can not deploy or debug it device “. ” It may come with a very explicit “Index (zero based) must be greater than or equal to zero and less than the size of the argument [...]

Hololens
19 Jun, 2016

DEP0001 : Unexpected Error:–2145615869 while deploying on Hololens

I have sometimes (read : often) the following error when I deploy an app on HoloLens : DEP0001 : Unexpected Error: -2145615869 It is VS that “lost” the connection to Hololens. The only way I found to fix this error is to restart VS. Convenient… To avoid getting this error too often, and since it happens mostly when the device enter [...]

Hololens
9 Jun, 2016

How to detect if UWP app is running on Hololens

OK, I am gonna sound like Captain Obvious on this one ! You just have to check the DeviceFamily. If it is “Windows.Holographic” then you are on Hololens (The only holographic device out for the moment) Here is a state trigger : using Windows.System.Profile; using Windows.UI.Xaml; namespace DetectHololens { public class HololensStateTrigger [...]

Astuce
7 Jun, 2016

DEP6810 : MdilXapCompile.exe failed with error code 2001

Just a (very) small post. Recently I met, when I started to try debug a Windows Phone app, this error at deploy error: DEP6810 : MdilXapCompile.exe failed with error code 2001 It just means you have already the same application installed from the Store on your phone. And that, Visual Studio doesn’t like. Just uninstall it and everything will work [...]

Astuce
3 May, 2016

vstest.console.exe tfs logger unauthorized access

I had a small problem a few days ago with my unit tests. I run them by hand with vstest.console.exe and sends it the direct relationship to VSTS using the /logger:TfsPublisher switch. Everything was fine until, suddenly, the drama. Unable to publish : vstest.console started to have a problem each time: “Error: Exception occurred while initializing [...]

Astuce
27 Mar, 2016

Dynamically change the language of a universal app

When writing a multi-language application, it is always nice to offer the user the choice of the language used. It’s even more fun when this is done on the fly, without having to restart the application, let’s see how. Change the language Not too complicated. Let’s just change the language of the application through the property PrimaryLanguageOverride [...]

Astuce
25 Nov, 2015

Debug made (almost) easy with DebugProxy

Dammit, an article that does not speak of mobile! With such a console application! Nothing goes right anymore in this world… No, I don’t change expertise, but, for once, this is a pure c# article, valid for any project, so for convenience I went in console mode. Debuging is sometimes…tedious Often, in fact. If you find values in complex [...]