desert code camp 2014, ios and android development for c# developers with xamarin

Post on 14-Jun-2015

517 Views

Category:

Engineering

1 Downloads

Preview:

Click to see full reader

DESCRIPTION

As the mobile landscape continues to expand and evolve managing multiple code bases in different programming languages and development tools can become a nightmare fast. In this session learn how to leverage the awesome features of C# and combine them with Xamarin technology to create beautiful native cross platform mobile apps from a shared C# code base with the tools that you love.

TRANSCRIPT

@JamesMontemagno!!

Introduction to Cross Platform Mobile Development in C# with Xamarin!

Who is this guy?!

James Montemagno!Developer Evangelist, Xamarin!

@JamesMontemagno !!motzcod.es!

MyStepCounterApp.com!

The best language for Windows development. Modern Features • Advanced Tools • Proven Libraries • Large Community • Statically Typed

Windows Developer in Phoenix

I had an opportunity.

Xamarin makes C# the best language for mobile development. Native Code Generation • Platform API Bindings • Code Sharing • Visual Studio

+

What is native?!

The Anatomy of a Native App!

Native User Interfaces! Native API Access! Native Performance!

Architecting !Mobile Apps!

The Silo Approach!

Build App !Multiple Times!

The Write-Once-Run-Anywhere Approach!

Lowest Common!Denominator!

Xamarin’s Unique Approach!

Native With !Code Sharing!

How Xamarin!Works!

Windows APIs!

iOS APIs | 100% Coverage!

Android APIs | 100% Coverage!

Anything you can do in Objective-C, Swift, or Java !can be done in C# with Xamarin using Visual Studio!

Xamarin.iOS does full Ahead Of Time (﴾AOT)﴿ compilation to produce an ARM binary for Apple’s App Store.

Native Performance

Xamarin.Android takes advantage of Just In Time (﴾JIT)﴿ compilation on the Android device.

Always Up to Date

Same day support for iOS 5, iOS 6, iOS 6.1, iOS 7, iOS 7.1, iOS 8!

Emerging Technologies & Devices

Android Wear Google Glass Amazon Fire Phone Amazon Fire TV!

Where to start!

Development Environment

Xamarin Studio PC or Mac

Visual Studio Plugin VS 2010/2012/2013

Android Develop on:!•  Mac or PC!•  Xamarin Studio or Visual Studio!

Run on:!•  Google Emulators!•  Xamarin Android Player!•  Physical Device!

Develop on:!•  Mac in Xamarin Studio!•  or!•  PC in Visual Studio (connected to Mac “Build

Host”)!

Run on:!•  iOS Simulators on Mac!•  iOS Device plugged into

a Mac!

Live Coding Adventure 1!

Let’s talk about !code sharing…!

Code Sharing: Accelerate Development

Android  

iOS  

Mac  

WinPhone  

WP  

File Linking

Shared Code Projects

Portable Class Libraries •  1 Assembly •  Multiple Platforms •  Including: •  Xamarin.Android •  Xamarin.iOS

Portable Class Libraries Features • Centralized Code Sharing • How you expect it to work • Debug seamlessly into and out of PCL

• Project/Assembly Sharing • NuGet

Live Coding Adventure 2!

Share More Code!

Xamarin + Xamarin.Forms!With Xamarin.Forms: !

more code-sharing, native controls!Traditional Xamarin approach!

Shared UI Code!

Arizona – Xamarin!Monthly Mobile .NET User Group!meetup.com/azxplatform!

More Xamarin in Phoenix!!

Game Jam at UAT in Tempe!Nov. 7th – 9th !48 hours of game development!Follow me on Twitter for details!@JamesMontemagno!!

Unrivaled Mobile Development Training!Live unlimited mobile development training from mobile experts, !in your time-zone, on your schedule and as often as you'd like.!

xamarin.com/university!

Q & A!!Get your free C# t-shirt:!xamarin.com/shirt!

Find Me:!@JamesMontemagno | motzcod.es!@XamarinHQ | blog.xamarin.com!

top related