• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Introduction to Android with C# using Xamarin
 

Introduction to Android with C# using Xamarin

on

  • 394 views

Presented at NDC Oslo, 14th June 2013.

Presented at NDC Oslo, 14th June 2013.

Statistics

Views

Total Views
394
Views on SlideShare
394
Embed Views
0

Actions

Likes
0
Downloads
19
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    Introduction to Android with C# using Xamarin Introduction to Android with C# using Xamarin Presentation Transcript

    • Craig Dunn Developer Evangelist Xamarin craig@xamarin.com @conceptdev Android with C# using Xamarin
    • Why Xamarin.Android? aka Why Are You Here? • Write C# apps for Android phones & tablets • Share C# with other platforms: Xamarin.iOS Windows Phone Windows Store Apps re-use C# from existing projects • Create native Android user interface • Native runtime == native performance • Use Java libraries (if required)
    • How Does it Work? • Mono C# + .NET implementation for Linux started in 2001/released 2004 perfect fit for today’s mobile platforms: iOS & Android • “Bindings” exposes Android as C# you can write your own to incorporate any Java • Compiler produces IL and ships a native runtime to execute it can link out unused code
    • How Does it Work?
    • Xamarin Installer • Simple unified installer http://xamarin.com/download installs Android SDK for you • Register with Google to deploy on Play (but you can deploy directly too) http://play.google.com/apps/publish
    • Development Environment Support Mac OS X IDE iOS Android Windows Phone Windows + Xamarin Business Edition + Mac
    • Android Development Environment Visual Studio Xamarin Studio
    • Android UI Designer Visual Studio Xamarin Studio
    • Android Development Environment Linking reduces size Choose CPU arch Shared runtime for debugging only.
    • Android Development Environment • AndroidManifest.xml Permissions App configuration use [Activity] and other attributes
    • Android Development Environment • Deployment Signing wizard
    • DEMO
    • DEMO
    • RESULT
    • SHARE Components Code ‘Structure’ Design
    • SHARE
    • Recap • • • • • • Build Android apps in C# with .NET Use Xamarin Studio or Visual Studio Apps have native look and feel Apps run natively, with native performance Share code Component Store http://components.xamarin.com
    • What’s Next? • • • • async/await F# Portable Class Libraries (PCL) Google Play Services In app purchasing Location services Maps v2 • Google Support Lib Drawer Navigation + more!
    • What’s Next? async/await
    • Go! • 10 minute guide to building an app http://xamarin.com/getting-started • Docs, Recipes http://docs.xamarin.com/ • Forums http://forums.xamarin.com • Samples http://github.com/xamarin http://xamarin.com/download
    • Q&A
    • Craig Dunn Developer Evangelist Xamarin craig@xamarin.com @conceptdev THANK YOU