How to succeed with Xamarin.Forms

Xamarin.Forms makes it possible to write UI for all the major mobile platforms, iOS, Android and Windows Phone with one shared code base. Many developers think that Xamarin.Forms isn’t is good enough to create apps that will be published and they think Xamarin.Forms is more a tool for prototyping. If you think Xamarin.Forms is a […]

  10/16/2015 - 1:14 PM

TechDays 2015

Den 20 oktober börjar TechDays med förkonferens, jag och Johan Karlsson kommer att dela med oss av våra kunskapar gällande cross-platformutveckling. Att bygga cross-platformlösningar är alltid en stor utmaning då det i grunden är olika operativsystem, programmeringsspråk och utvecklingsmiljöer. Xamarin löser en stor del av cross platform problematiken genom att man kan utveckla appar för […]

  6/30/2015 - 8:13 PM

Get started with Xamarin.Forms for Windows

Xamarin has finally released support for Windows apps using WinRT. This make it possible to write apps for Windows Phone 8.1 (the stable release uses Windows Phone 8 Silverlight but can be upgraded to Windows Phone 8.1 Silverlight by changing target platform) and Windows 8.1. It’s still in preview and Xamarin not recommending that we […]

  3/24/2015 - 2:03 PM

Xamarin.Forms: Placeholder text color password box Windows Phone

When using the Entry control in Xamarin.Forms with IsPassword set to true the text color property will not affect placeholder text on Windows Phone. To solve this you need to create a custom renderer for entry in your Windows Phone project. The native control will be a Grid that contains a PasswordBox (PhoneTextBox if IsPassword […]

  3/23/2015 - 10:05 AM

Building a ScreenshotManager to capture the screen with code

This blog post will show you how to build a screenshot manager to use from shared code when building apps with Xamarin for Windows Phone, Android and iOS. First of all we need to create an interface in the shared code library. In this example there will be one method in the screenshot manager. This […]

  2/26/2015 - 11:32 AM

Using Context Actions in Xamarin.Forms ListView

One of the news in Xamarin.Forms 1.3 is what Xamarin call context actions. With context actions you can make a ListView much more richer. What you can do is to add a menu to every row in the ListView. On Windows Phone and Android is the menu showing when you’re long pressing on a item, […]

  2/20/2015 - 1:10 PM

Grouping a ListView – Xamarin.Forms

In many cases when you want a list of items you want to group them in the list. To use groups in a ListView with Xamarin.Forms is very easy. Below are screenshots from Android, iOS and Windows Phone where there is no HeaderTemplate used. First step is to create a group class that inherits from […]

  2/18/2015 - 2:17 PM

Monitor an app with Xamarin Insights

I Think it’s really important to monitor apps. Of course the most important part is to log errors in the app. But I also like to track how my users uses my apps. For the lastest app I have built I have used a monitoring tool from Xamarin called Insights, While I alwas have […]

  2/13/2015 - 11:55 AM

Crossplatform and storage strategies

Many applications need to store data related to the application. If you’re building applications for multiple platforms the APIs for storage is different. Following five storage types is the most common ones: Local storage Storage to store application data locally on the device. Remote storage Storage to store application data in the cloud, for example OneDrive or […]

  1/20/2015 - 2:44 PM

Xamarin.Forms and panorama in a Windows Phone app

One common scenario when building an app is that we want to use tabs on iOS and Android and a Panorama on Windows Phone. Xamarin.Forms has a control called TabbedPage that render tabs on iOS and Android. At the bottom of the page for iOS and at the top of the page under the ActionBar for […]

  12/17/2014 - 8:31 PM

Extend Label in Xamarin.Forms with a font color property

The label control in Xamarin.Forms does not have a FontColor property. But the control is easy to extend. First create a new class that inherits from Label. Create a FontColor property of type string. The value of the FontColor will in this example be an RGBA string. public class CustomLabel : Label { public static readonly […]

  9/24/2014 - 3:31 PM

Handle Windows Phone back button pressed when using MVVM

When I building an app with a MVVM framework I want to have my view models in a portable class library so I can use same view models for the Windows Phone app as for the iOS and Android app when building apps using Xamarin. If I press the back button in a Windows Phone […]

  9/6/2014 - 10:31 PM

Building a tabbed app using Xamarin.Forms

Xamarin.Forms is one of the biggest news with Xamarin 3. With Xamarin.Forms you can build UI for 3 platforms (Windows Phone, iOS and Android) with one shared codebase. What is unique for Xamarin.Forms is that the UI code you are writing with Xamarin.Forms will render native UI controls. That means that the UI will look […]

  7/28/2014 - 11:29 AM

TechDays 2014

Den 19-20 november (17-20 november med pre-conf inkluderat) anordnas utvecklarkonferensen TechDays av Microsoft. Jag och min Sogeti- och IO2GameLabs kollega Johan Karlsson har fått äran att vara med på den. Vi kommer att prata om det vi brinner mest för nämligen cross platform utveckling för mobila enheter. På pre-conf (den 17 november) kommer vi tillsammans […]

  6/17/2014 - 11:18 AM

Running Windows Phone emulator in Parallels on OS X

If you’re developing apps for all the major mobile platforms i guess you are using a Mac since that is the only way you can build iOS apps. If you’re using Parallels to run Windows for Windows Phone development you need to activate nested virtualization if you want to use the emulator. This is because that […]

  6/16/2014 - 2:31 PM

Authentication for REST calls with HTTPClient to Azure MobileServies

In a current project I working with an app that uses a .NET Backend in Azure Mobile Services. Backend is a WebAPI. On client side I have all the code for networking in portable class library so I can reuse it on other platforms. Right now we are building the app for Windows Phone, but […]

  4/17/2014 - 9:47 AM

Build 2014

Now we are in San Francisco for the BUILD Conference that starts on Wednesday. It was a long flight from Sweden yesterday, but I used the time for coding. Have to say that Surface Pro is an excellent device for coding on an airplane. What I expect from the BUILD conference is a big amount […]

  3/31/2014 - 3:27 PM

Workaround for invalid markup problems when developing for Windows Phone

Every time I open up a Windows Phone Project in Visual Studio 2013 I got a lots of  errors in the XAML markup. The designer shows “Invalid markup” and the error list is long. I found a workaround for this: Open Configuration Manager for your Visual Studio solution Change platform for the Windows Phone Project […]

  1/22/2014 - 12:19 PM

Windows Azure Mobile Services in Portable Class Library

In my current project, a multiplayer game for mobile devices I only using Windows Azure Mobile Services as backend. The game will be available for multiple platforms and I will use Xamarin for iOS and android. When using Xamarin I can reuse a lot of code if I using PCL (Portal Class Library) that i […]

  1/7/2014 - 12:14 PM

Glyphicons on Windows Phone

If you using Twitter Bootstrap and glyphicons and having problem that the glyphicons is not showing up on Windows Phone you need to add the MIME-type to your web.config.

  1/7/2014 - 9:46 AM

Modern UI icons

If you searching for icons for your app or website, check out There are over 1000 icons designed for your app or website. It is a very good library when building modern UI apps for Windows Phone, Windows 8 or iOS7. But I have also used them for different websites. When I searching for icons […]

  9/30/2013 - 9:26 AM

Travelling with my Lumia

For a couple of weeks was me, my girlfriend and a friend visiting Unites States, we visiting New York and drove around by car at the west side of the country. Under the two weeks we was there we travelled over 400 miles by car. To navigate we used my Nokia Lumia 920 and the […]

  9/10/2013 - 7:12 PM

Beyond the Tiles

Monday was me, Johan (@johankson) and David(@d_andersson) visiting Microsoft for a seminar about design, primary for Windows 8 and Windows Phone. Arturo Toledo (@arturot), Alex Toledo (@toledoal) and Vincent Garcia (@vincentgarcia) was the speakers at the seminar. Arturo is a former member of Microsofts Windows Phone team but now he has his own company, Toledo2, […]

  5/22/2013 - 10:45 AM

Size limit on app download when using 3G

iOS and Windows Phone has size limit on how big apps you can downloaded when you’re not connected to a Wi-Fi-network. Windows Phone has a limit on 20 Mb and iOS has 50 Mb.  Android has not that type of limit, but an APK on Google Play is limited to 50 Mb, but you can […]

  5/15/2013 - 10:16 AM

Developing apps with mono

WordRoom started as a Windows Phone project, the third client we started to develop and the first one we released was for Windows 8. We developed the windows 8 relative fast because we could reuse a lot of the code from the Windows Phone project in that we used portal library for the core logic. […]

  2/6/2013 - 11:09 AM