- Xamarin enables developers to create native iOS, Android, Mac, and Windows applications using C# and the .NET framework. This allows sharing of code and libraries across platforms.
- Xamarin uses a unique approach of native user interfaces, native performance, and shared code across platforms while using C# and .NET. It allows full API coverage on all platforms.
- Xamarin has been used by enterprises for over a decade and allows writing applications once in C# that can run on over 2.5 billion devices.
3. Enabling Developers to Create Native
iOS, Android, Mac, & Windows apps in C#
Rabi Satter
Rabi@Satter.org
www.satter.org
@rsatter42
4. What is Xamarin?
• Xamarin enables developers to reach all major mobile
platforms!
Native User Interface
Native Performance
Shared Code Across Platforms
C# & .NET Framework
7. Write Once, Run Anywhere Approach
Black
Box
• Lowest common denominator
• Browser fragmentation
• Developing & designing for 1
platform, happen to get other
platforms
8. Xamarin’s Unique Approach
• Native User Interface
• Native Performance
• Shared code across platforms
• C# & .NET Framework
• Full API Coverage
9. 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.
10. Code Sharing: Accelerate Development
Code-sharing stats from iCircuit, built with Xamarin and featured
on the App Store.
Source: http://praeclarum.org/post/42378027611/icircuit-code-reuse-
part-cinq
• Up to 90% Code Reuse
• Leverage existing libraries
12. C# Is Awesome
• LINQ Support
• Work With XML Easily
XDocument
• Event Handling &
Delegates
13. C# Is Awesome – JSON Made
Easy
Json.NET offers simple conversions to and from JSON strings
and .NET objects, with SerializeObject and DeserializeObject
methods.
19. Write Everything in C#
iOS, Android, Windows, Windows Phone,
Mac
2.5+ Billion Devices!
20. Xamarin History
Over a Decade of Enterprise Production Use
2000
Ximian
Founded
2001
Mono
Started
2003
Ximian
Acquired
by Novell
2009
First iOS
product (now
Xamarin.iOS)
launches
2011
Xamarin
Founded
!
First
Release of
Xamarin.Android
2012
First
release of
Xamarin.Mac
!
Launch
Partner
Program
2013
Xamarin 2.0
!
Component
Store
!
Evolve 2013
!
Xamarin Test
Cloud
!
Microsoft
Partnership
Reach 200,000
Developer
Mark
500,000+
Developers
100+ Partners
100+ Components
21. Anything you can do in Objective-C or Java can
be done in C# and Visual Studio with Xamarin!
100% API Coverage
22. Always Up to Date
Always up-to-date with
the latest APIs.
Great track record.
Shipped same-day
support for iOS 5, iOS
6, iOS 6.1, iOS 7
24. Portable Class Libraries Features
•Centralized Code Sharing
•How you expect it to
work
•Debug seamlessly into
and out of PCL
!
•Project/Assembly Sharing
•NuGet
26. Microsoft and Xamarin Partner Globally
With Xamarin, developers combine all of the
productivity benefits of C#, Visual Studio 2013
and Windows Azure with the flexibility to
quickly build for multiple device targets.”
S. Somasegar, Corporate Vice President, Microsoft
31. Visual Studio Integration
A single solution:
• iOS
• Android
• Windows Phone
• Windows Store
!
Leverage the entire
Microsoft
ecosystem:
• ReSharper
• Team Foundation Server
• Your favorite code
coverage and profiling
tools
32. Visual Studio Integration
Debug to:
• Emulators
• Devices
!
!
Integrated into
toolbar
• Status
• Logs
• List of devices
!
Just Click Start
Debugging!
33. Xamarin Studio
• Optimized for cross-
platform mobile
development
!
• Explore native APIs
with code completion
!
• World class Android
and iOS designers
!
• Powerful debugging on
simulator or device
34. Android Designer
• Worlds best Android designer
• Available in:
• Xamarin Studio
• Visual Studio
!
• Create UI with drag & drop
simplicity
!
• Target multiple screen sizes,
resolutions and Android
versions
!
• Layouts saved in standard
Android XML files
35. iOS Designer
• World’s first iOS Designer
available in Xamarin
Studio (and soon Visual
Studio)
!
• Follows familiar Visual
Studio designer idioms
!
• Supports all UIKit
elements
!
• Edit custom and 3rd party
components
!
• Live preview of changes
to properties
!
36. Xamarin Component Store
Build Apps Faster
!
• Add high quality pre-
built app components
directly from Visual
Studio and Xamarin
Studio
!
• Beautiful cross-
platform UI controls,
cloud services and
enterprise backend
37. .NET Mobility Scanner
How mobile is your .NET?
• Scan .exe or .dll to determine
compatibility
• Generates full report:
38. Prebuilt Field Service App
App Features:
• Location-based assignments / routing
• Time recording
• Camera capture of work
• Signature capture
!
Cross-Platform Techniques
• MVVM pattern
• Xamarin.Mobile
• Signature control from Component Store
• SQLite for storage on all 3 platforms
44. About Rdio
• Rdio is the leading music
streaming and sharing
service started by the
founders of Skype
!
• Rdio is already in 30
countries with over 20
million songs.
!
• Available in 31 countries
“Rdio’s mobile app is also the best looking and best
implemented of the three [music streaming apps reviewed].”
Wired Magazine
45. Challenge
• Unable to deliver features on all
platforms simultaneously because of
multiple, platform-specific code bases
!
• High costs to development and
maintain apps
Sharing 50,000 lines of code
!
Results
• Using Xamarin, Rdio now shares over 50,000 lines of
C# across iOS, Android, and Windows, enabling them to
focus on feature-parity and user experience.
46. “Xamarin offers the best of all worlds. We
deliver high performance, native apps that,
until Xamarin, were only possible with
Objective-C and Java. Sharing over 50,000
lines of code across platforms gives us more
time to spend on great user experiences.”
Matt Crocker!
Director of Client
Engineering
Sharing 50,000 lines of code
47. • Go Mobile Program
Live online training from Xamarin experts
Lectures and labs
One-on-one with expert Xamarin mobile
developers
• What You’ll Learn
• iOS and Android
Fundamentals
• Mobile App Lifecycle
• Native UI and Controls
• Cross-platform Architecture
• Mobile Best Practices
• Secure Backend Integration