My iOS8 adventure as a Xamarin developer

With this post I sum up my experiences with iOS8 as a developer. If possible I will provide solutions and workarounds.

The release of iOS8 is really unfortunate for me. A lot of my demos have stopped working and it seems like there are some really annoying bugs in iOS8.

Update: Added working example for reachability

Update: Apple confirms bug in iOS8 Simulator regarding backgrounding.

Update: explanation for the NSUrlSession issue found!

Continue reading

iOS8 is draining your iPhone’s battery? Maybe here’s why.

If you like me are an early adoptor of iOS8 – be it because you’re just or curious about the new feature, or did it for work – you might have noticed that your device’s battery life might have decreased a lot. Yesterday I talked to some developer-friends and they told me: “You know what’s cool, iOS8 keeps on running threads even if applications have been backgrounded!” I was baffled.

UPDATE: This post has been moved and is now part of http://krumelur.me/2014/09/23/my-ios8-advent…arin-developer/ ‎

Android – handling screen rotation and different layouts using Fragments with Xamarin

When I was asked if I could demo how to handle different screen sizes and rotation in Android, I created a small project which I’d like to share here. You can find the complete repo at Github.

The demo uses Xamarin.Android and was built using the Compatibility Lib v4 to support Android’s navigation drawer layout. Fragments are used directly and not via the compatibility packages.

Navigation Drawer on a Nexus 7

Navigation Drawer on a Nexus 7

Continue reading

Change language in Google’s Developer console

If you are (like me) located in Germany but prefer to use the Google Developer Console in English, I encourage you to navigate to https://play.google.com/apps/publish/ now and then try to change your language settings. I’m waiting here…

You’re back? What do you mean, it’s not possible? Turns out you’re almost right. I talked to Google support and indeed there is nothing in the UI that would allow you to switch the language. However there’s a workaround. Just append “&hl=en” to the URL and you’re set!

 https://play.google.com/apps/publish?hl=en

Visual Studio fails to connect to Xamarin Build Host

Is it one of those rainy days where you sit in front of  your Mac and would like to try out the latest and greatest Xamarin features like Xamarin.Forms and then Visual Studio refuses to connect to the Xamarin Build Host?

Xamarin Build Host

You did not change anything of course. It just stopped working over night. That’s what computers do to keep us busy. Your options: Xamarin support? Takes to long, so let’s resolve this all by ourselves.

Continue reading