Day 1: Adding Up the Platforms

Or, Building an iOS and Android View

Today we’ll dive in and build a Xamarin solution, or set of projects, which will have both an Android and an iOS UI for a calculator. Most of the code we write will use native APIs and widgets on those platforms, just written in C# instead of native code.

Creating and Setting Up a Solution

The first step is to use Xamarin Studio to create a new solution. We want to build this app for both iOS and Android, so we need to choose to build a cross-platform app. We’ll start with the native single-view app this time. On Day 3 we’ll rebuild the UI using Xamarin.Forms, so don’t choose that option at this time. We also want to have unit tests generated, so make sure you check the box ...

Get Seven Mobile Apps in Seven Weeks now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.