Published on March 14, 2014
GETTING STARTED WITH CROSS PLATFORM MOBILE DEV IN C# Ed Snider Feb Mar 12 2014 Northern VA Mobile C# Developers’ Group
CONTENT Introduction The Problem with Native Mobile App Dev The Benefits of Multi-Platform Mobile Dev with C# What is Xamarin? What does this mean for how we build mobile apps? How? Share Code Leverage the MVVM Pattern Code! Wrap up
INTRODUCTION Ed Snider - @edsnider Developer at InfernoRed Technology Co-Organizer of NoVA Mobile C# Developers Group www.infernored.com @infernoredtech
THE PROBLEM WITH TRADITIONAL NATIVE MOBILE APP DEV… Native mobile apps are great but here’s the problem: Several Platforms: Windows, iOS, Android Several Languages: C#, Objective-C, Java Maintenance nightmares Customers and end-users suffer
THE BENEFITS OF MULTI- PLATFORM NATIVE MOBILE APP DEV WITH C#Develop for all platforms with a single language – C# - using Xamarin Harness the power of the .NET framework Single solution with shared code Unified and consistent maintenance/testing Feature parity across platforms = happy end users + C#
WHAT IS XAMARIN? Xamarin is built on Mono Allows native app compilation on Android and iOS using C# 100% API Coverage – All iOS and Android APIs are exposed as C# class libraries Up-to-date with API releases from Apple and Google
XAMARIN DEVELOPMENT TOOLS Xamarin for Visual Studio Xamarin Studio for Windows and Mac
WHAT DOES THIS MEAN? You can build most of your app using shared logic You can use a single language with familiar tools You can keep native and platform-specific/familiar UIs
LEVERAGE THE MVVM PATTERN View (UI) ViewModel Model Data Binding Commands Service Interfaces Connectivity Location Camera Etc… Platform Specific Service Implementations
SHARE CODE! Portable Class Library (PCL) ViewModels Models Core App Library Services, Business Logic, Service Access, Data Access, etc. Windows iOS Android View / UI Platform Specifics View / UI Platform Specifics View / UI Platform Specifics
SOME OTHER COOL THINGS ABOUT XAMARIN… Component Store: http://components.xamarin.com/ .NET Mobility Scanner: http://scan.xamarin.com/ F# preview: http://docs.xamarin.com/guides/cross-platform/fsharp/ Xamarin Test Cloud: http://xamarin.com/test-cloud
RESOURCES Demo code: https://github.com/edsnider/CoffeeFinder-XamarinDemo Xamarin Sample / Starter-Apps Employee Directory App - http://xamarin.com/prebuilt/employeedirectory Field Service App - http://xamarin.com/prebuilt/fieldservice
PUBLIC SERVICE ANNOUNCEMENT FROM @VISUALSTUDIO
Build & design a mobile app using Xamarin’s cross-platform development software which ... or Java you can do in C# with Xamarin; ... Get started today ...
Xamarin Platform C# on iOS, Android, Mac & Windows; Xamarin Test Cloud ... cross-platform mobile ... Getting started with Xamarin.iOS iOS Multiscreen ...
Adobe PhoneGap Enterprise. Enterprise mobile application development and management across channels and platforms
Get Started Fast. 1. ... type cordova platform add
Xamarin's mobile application development platform with native user interfaces enables sharing of code across all platforms with a single C# ... Get Started ...
Get started; Get started with ... The Universal Windows Platform is available across all Windows ... and guidelines for designing great Windows apps for ...
Getting Started with Visual C# and Visual Basic. ... Getting Started with Debugging in Visual Studio 2015. Build cross-platform apps with Apache Cordova.
... manage and analyze cross-platform, web, native and hybrid mobile ... Cross-Platform Mobile Development ... device type and user location while getting ...
By leveraging C# and other .NET languages on Microsoft and Mono platforms you can write modern, fast, and reliable game code. Cross-Platform. ... MonoGame ...