SlideShare ist ein Scribd-Unternehmen logo
1 von 60
Developing Cross-Platform
Native Apps with
Xamarin
for Boston Tech Workshops
by Dan Hermes
Xamarin MVP, Software Consultant
Lexicon Systems
dan@lexiconsystemsinc.com
www.mobilecsharpcafe.com
@danhermes
About Me
Dan Hermes
President of Lexicon Systems
Mobile and .NET software consultant
Author, speaker
My Xamarin Book
Now Available on Amazon
“This weighty book gives clear guidance that will help you
build quality apps, starting with architectural considerations,
and then jumping into practical code strategies.”
- Bryan Costanich, Vice President, Xamarin
“Dan Hermes’ extraordinary book is the most intelligent work
on cross-platform mobile development I’ve seen.”
– Jesse Liberty, Director of New Technology Development, Falafel Software,
Xamarin Certified Developer / Xamarin MVP
Why are we building
mobile apps for business?
Explosive Mobile v. PC Growth
Quarterly unit shipments (m)
300
250
200
150
100
50
0
PCs iOS & Android
March-95 March-97 March-99 March-01 March-03 March-05 March-07 March-09 March-11 March-13
Source: “Mobile is Eating the World” (Benedict Evans)
How do we build
mobile apps for business?
Mobile App Types
• Mobile Web /Responsive
• Browser-based
• Native
• iOS, Android, OR Windows
• Hybrid
• Web app wrapped in a native app
• Cross-platform
• iOS, Android, AND Windows
Native vs. Hybrid
Native User Interface and Native User Experience vs. Hybrid
People Expect Great Experiences
Which platforms
do we build for?
Smartphone OS Market Share
• Android – 66%
• iOS – 28%
• Windows Phone – 3%
What does this mean?
Single platform apps are risky
Cross-platform Apps
• Develop using a single technology (ex. C#, HTML5)
• Can run on all platforms
• iOS
• Android
• Windows Phone
What Are the Benefits
of Cross-platform Apps?
• Shared Code
• Code reuse
• One technology stack
• Instead of several
• Native app quality
• Native app performance
• Native phone functionality (location, camera, etc.)
Biggest Challenges
of Multi-platform Development
 Code Divergence
 Development Complexity
 Team Divergence
 Process Complexity
 Schedule
 Cost=
Cross-Platform Solutions
 Xamarin
 Code in C# then compile to respective native platforms
 Titanium, NativeScript & React Native
 Native shell around a JavaScript core app with some UI compiled to native
 Cordova
 Device-resident web app that can be wrapped in a native shell
Xamarin’s Approach
Native UI
C# +
XAML
Fully native apps written
entirely in C#
Shared App Logic in C#
 Xamarin delivers fully native user
interfaces and app functionality
 Complete access to 100% of the
native APIs for iOS, Android and
Windows in C#
 Share app logic and UI code across
device platforms
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
Xamarin Plug-in for Visual Studio
Native Performance
Xamarin.iOS does full Ahead Of Time
(AOT) compilation to produce an ARM
binary for Apple’s App Store.
Xamarin.Android takes advantage of
Just In Time (JIT) compilation on the
Android device.
Mobile Visionary in Gartner Magic Quadrant
“Xamarin's architectural approach provides
completely native UIs with better performance than
other cross-platform techniques… Xamarin uses
multifaceted technology built by a cohesive team with a
solid long-term track record.”
Mobile Visionary in Magic Quadrant
Xamarin’s Enterprise Partnerships
The experiences your users expect.
The security and connections your organization requires.
Benefits of Cross-Platform Development
• Combine code and development teams
• Shared codebase
• Same programming skillset
• Run on multiple platforms
• iOS
• Android
• Windows Phone
Xamarin’s Default App Architecture
Native UI
C# +
XAML
Shared app logic,
platform-specific UI,
all in C#
Shared App Logic in C#
iOS C# UI Android C# UI Windows C# UI
Shared App Logic
 Platform-specific UI code in C#
 Shared app logic code in C#
 Fine-grain control over the app user
interface
 Good for apps with sophisticated UX
requirements (complicated gestures,
animations, design)
Xamarin.Forms
• Cross-platform user interface for Xamarin
• Announced in May of 2014
• Growing set of cross-platform controls
• Each control will be mapped to its native equivalent at runtime
Xamarin.Forms UI
 Xamarin.Forms features first developed for C# (code-first)
 XAML implementation then provided, so…
Anything you can do in C#, I can do in XAML
 What is XAML?
C# or XAML for UI Development
The Xamarin.Forms App Architecture
Shared App Logic
Xamarin.Forms
Increase Code Sharing Up to 100% and Deliver a Fully Native App
 Shared UI code in C#
 Shared app logic code in C#
 Mix-and-Match the use of Xamarin.Forms
with platform-specific code.
 Good for forms-based, apps with a lot of
data entry screens
 Easy to learn API makes you productive
immediately, without platform-specific
knowledge
Xamarin App Architectures
iOS C# UI Android C# UI Windows C# UI
Shared App Logic Shared App Logic
Xamarin.Forms
Platform-specific Xamarin.Forms
Page, Layout, View
Pages
Layouts
When to Use Xamarin.Forms?
• Learning Xamarin
• Cross-platform scaffolding
• Basic business apps
• Basic design
• Simple cross-platform screens
• Device-unique controls are not needed
• Complex graphics processing is not needed
Microsoft acquired Xamarin
Miguel de Icaza,
Xamarin CTO
Automatically test your app on hundreds of real
devices in the cloud
Xamarin Test Cloud – Testing Made Easy
What do I do all day?
• Develop web and mobile apps
• Xamarin experts
• Founded in 1999
• Microsoft technology stack
We advise on and build apps for business.
What We Do
a continuum of services from advisement to hands-on
Our Clients Include
and many small and medium-sized companies.
Our Proficiencies
•Web applications
• Microsoft Technologies
• C#, .NET, ASP.NET, MVC, HTML5,
Javascript
•Mobile apps
• iOS, Android, Windows Phone
• Built using Xamarin
MOBILE APPS
IN THE WILD
(Case Studies)
        
Certification training and professional platform for orthopedic surgeons
•50,000 orthopedic surgeon user base
•Surgical topics, case studies, images
•Sample tests and test questions
•Surgeons can vote, comment, and cite journal entries
Cross-platform
iOS Android
Feature-rich and Intuitive UI
          
Biotech market leader
•DNA and breast cancer research
•Engage lab techs more deeply through their ThermoFisher
equipment
•Bring real-time data directly from DNA-processing
laboratory equipment into the hands of scientists
Xammy
Finalist
Thermo Cycler or
PCR Device (polymerase chain reaction)
for DNA Duplication
PCR Essentials
Internet of Things (IoT)
Real-time Integration with Lab Devices
Federal Aviation Administration (FAA)
• Recreational drone use presents
risks and threats
• FAA announcing new regulations
• Help drone flyers fly safely
B4UFLY
• Plan your trips
• Airport locations
• Controlled Airspace
• Special Airspace
• Flight Warnings
• No-fly Zones
Xamarin gives us cross-platform reach
with native power and performance
Web and Mobile Work Together
• Modern biz apps combine web and mobile technology
• They share data sources, look and feel, and support one another
• A Unified technology foundation simplifies this
• Mobile and web apps all built with C# provides this foundation
• Xamarin
• .NET
• ASP.NET MVC
• Angular and other JavaScript options
Need Something Xamarin-flavored?
• I do Xamarin consultations
• I do Xamarin coaching and training
• My firm does Xamarin development
• We help make Xamarin projects work
Developing Cross-Platform
Native Apps with
Xamarin
Dan Hermes
developer, author, consultant,
founder of Lexicon Systems
dan@lexiconsystemsinc.com
Available on Amazon
My blog: www.mobilecsharpcafe.com
Twitter: @danhermes

Weitere ähnliche Inhalte

Was ist angesagt?

Native i os, android, and windows development in c# with xamarin 4
Native i os, android, and windows development in c# with xamarin 4Native i os, android, and windows development in c# with xamarin 4
Native i os, android, and windows development in c# with xamarin 4Xamarin
 
Getting Started with iOS & Android Development Using Xamarin & Visual Studio
Getting Started with iOS & Android Development Using Xamarin & Visual StudioGetting Started with iOS & Android Development Using Xamarin & Visual Studio
Getting Started with iOS & Android Development Using Xamarin & Visual StudioMark Arteaga
 
Cross-Platform Mobile App Development
Cross-Platform Mobile App DevelopmentCross-Platform Mobile App Development
Cross-Platform Mobile App DevelopmentJosue Bustos
 
Cross-platform Mobile Development
Cross-platform Mobile DevelopmentCross-platform Mobile Development
Cross-platform Mobile DevelopmentXamarin
 
Cross Platform Development with Xamarin
Cross Platform Development with XamarinCross Platform Development with Xamarin
Cross Platform Development with Xamarinbryan costanich
 
Xamarin cross platform
Xamarin cross platformXamarin cross platform
Xamarin cross platformGuada Casuso
 
Powering your Apps with Cloud Services
Powering your Apps with Cloud ServicesPowering your Apps with Cloud Services
Powering your Apps with Cloud ServicesXpand IT
 
Highlights from the Xamarin Evolve 2016 conference
Highlights from the Xamarin Evolve 2016 conferenceHighlights from the Xamarin Evolve 2016 conference
Highlights from the Xamarin Evolve 2016 conferenceChristopher Miller
 
Introducing mono & xamarin
Introducing mono & xamarinIntroducing mono & xamarin
Introducing mono & xamarinTechizzaa
 
Pembuatan Aplikasi Multiplatform dengan Xamarin Forms
Pembuatan Aplikasi Multiplatform dengan Xamarin FormsPembuatan Aplikasi Multiplatform dengan Xamarin Forms
Pembuatan Aplikasi Multiplatform dengan Xamarin FormsYoza Aprilio
 
Developing and Designing Native Mobile Apps in Visual Studio
Developing and Designing Native Mobile Apps in Visual StudioDeveloping and Designing Native Mobile Apps in Visual Studio
Developing and Designing Native Mobile Apps in Visual StudioXamarin
 
Dotnetconf - Introduction to Xamarin and Xamarin.Forms
Dotnetconf - Introduction to Xamarin and Xamarin.FormsDotnetconf - Introduction to Xamarin and Xamarin.Forms
Dotnetconf - Introduction to Xamarin and Xamarin.FormsJames Montemagno
 
Flying High with Xamarin
Flying High with XamarinFlying High with Xamarin
Flying High with XamarinSam Basu
 
Xamarin overview droidcon.tn
Xamarin overview   droidcon.tnXamarin overview   droidcon.tn
Xamarin overview droidcon.tnHoussem Dellai
 
Cross Platform Mobile Development with Xamarin
Cross Platform Mobile Development with XamarinCross Platform Mobile Development with Xamarin
Cross Platform Mobile Development with XamarinJoe Koletar
 
Native Mobile Apps, Xamarin, and PhoneGap
Native Mobile Apps, Xamarin, and PhoneGapNative Mobile Apps, Xamarin, and PhoneGap
Native Mobile Apps, Xamarin, and PhoneGapSasha Goldshtein
 

Was ist angesagt? (20)

Introduction to Xamarin
Introduction to XamarinIntroduction to Xamarin
Introduction to Xamarin
 
Native i os, android, and windows development in c# with xamarin 4
Native i os, android, and windows development in c# with xamarin 4Native i os, android, and windows development in c# with xamarin 4
Native i os, android, and windows development in c# with xamarin 4
 
Getting Started with iOS & Android Development Using Xamarin & Visual Studio
Getting Started with iOS & Android Development Using Xamarin & Visual StudioGetting Started with iOS & Android Development Using Xamarin & Visual Studio
Getting Started with iOS & Android Development Using Xamarin & Visual Studio
 
Cross-Platform Mobile App Development
Cross-Platform Mobile App DevelopmentCross-Platform Mobile App Development
Cross-Platform Mobile App Development
 
Cross-platform Mobile Development
Cross-platform Mobile DevelopmentCross-platform Mobile Development
Cross-platform Mobile Development
 
Cross Platform Development with Xamarin
Cross Platform Development with XamarinCross Platform Development with Xamarin
Cross Platform Development with Xamarin
 
Xamarin cross platform
Xamarin cross platformXamarin cross platform
Xamarin cross platform
 
Powering your Apps with Cloud Services
Powering your Apps with Cloud ServicesPowering your Apps with Cloud Services
Powering your Apps with Cloud Services
 
Highlights from the Xamarin Evolve 2016 conference
Highlights from the Xamarin Evolve 2016 conferenceHighlights from the Xamarin Evolve 2016 conference
Highlights from the Xamarin Evolve 2016 conference
 
Introducing mono & xamarin
Introducing mono & xamarinIntroducing mono & xamarin
Introducing mono & xamarin
 
Xamarin.Forms
Xamarin.FormsXamarin.Forms
Xamarin.Forms
 
Pembuatan Aplikasi Multiplatform dengan Xamarin Forms
Pembuatan Aplikasi Multiplatform dengan Xamarin FormsPembuatan Aplikasi Multiplatform dengan Xamarin Forms
Pembuatan Aplikasi Multiplatform dengan Xamarin Forms
 
Introduction to xamarin
Introduction to xamarinIntroduction to xamarin
Introduction to xamarin
 
Developing and Designing Native Mobile Apps in Visual Studio
Developing and Designing Native Mobile Apps in Visual StudioDeveloping and Designing Native Mobile Apps in Visual Studio
Developing and Designing Native Mobile Apps in Visual Studio
 
Dotnetconf - Introduction to Xamarin and Xamarin.Forms
Dotnetconf - Introduction to Xamarin and Xamarin.FormsDotnetconf - Introduction to Xamarin and Xamarin.Forms
Dotnetconf - Introduction to Xamarin and Xamarin.Forms
 
Flying High with Xamarin
Flying High with XamarinFlying High with Xamarin
Flying High with Xamarin
 
Xamarin overview droidcon.tn
Xamarin overview   droidcon.tnXamarin overview   droidcon.tn
Xamarin overview droidcon.tn
 
Cross Platform Mobile Development with Xamarin
Cross Platform Mobile Development with XamarinCross Platform Mobile Development with Xamarin
Cross Platform Mobile Development with Xamarin
 
Native Mobile Apps, Xamarin, and PhoneGap
Native Mobile Apps, Xamarin, and PhoneGapNative Mobile Apps, Xamarin, and PhoneGap
Native Mobile Apps, Xamarin, and PhoneGap
 
Introduction to xamarin.forms
Introduction to xamarin.formsIntroduction to xamarin.forms
Introduction to xamarin.forms
 

Andere mochten auch

Cross Platform Mobile Development with Xamarin
Cross Platform Mobile Development with XamarinCross Platform Mobile Development with Xamarin
Cross Platform Mobile Development with XamarinPuja Pramudya
 
Mb0039 business communication spring2015_assignment- SMU_MBA-Solved-Assignment-
Mb0039 business communication spring2015_assignment- SMU_MBA-Solved-Assignment-Mb0039 business communication spring2015_assignment- SMU_MBA-Solved-Assignment-
Mb0039 business communication spring2015_assignment- SMU_MBA-Solved-Assignment-pkharb
 
Mb0045
Mb0045Mb0045
Mb0045pkharb
 
SMU_MBA-Solved Assignment-Mb0038 management process and organizational behavi...
SMU_MBA-Solved Assignment-Mb0038 management process and organizational behavi...SMU_MBA-Solved Assignment-Mb0038 management process and organizational behavi...
SMU_MBA-Solved Assignment-Mb0038 management process and organizational behavi...pkharb
 
Mb0040 statistics for management spring2015_assignment- SMU_MBA-Solved-Assign...
Mb0040 statistics for management spring2015_assignment- SMU_MBA-Solved-Assign...Mb0040 statistics for management spring2015_assignment- SMU_MBA-Solved-Assign...
Mb0040 statistics for management spring2015_assignment- SMU_MBA-Solved-Assign...pkharb
 
Medi pragma documento di progetto della soluzione pf20-10
Medi pragma documento di progetto della soluzione pf20-10Medi pragma documento di progetto della soluzione pf20-10
Medi pragma documento di progetto della soluzione pf20-10medipragma
 
Rolf White C.V. - August 2015
Rolf White C.V. - August 2015Rolf White C.V. - August 2015
Rolf White C.V. - August 2015Rolf White
 
Hunger in africa
Hunger in africaHunger in africa
Hunger in africabrianna7
 
Aumbry Complete Website Content Management System
Aumbry Complete Website Content Management SystemAumbry Complete Website Content Management System
Aumbry Complete Website Content Management SystemDavid Sharples
 
QUAL A DOSAGEM CORRETA DA FOLIA MAGRA?
QUAL A DOSAGEM CORRETA DA FOLIA MAGRA?QUAL A DOSAGEM CORRETA DA FOLIA MAGRA?
QUAL A DOSAGEM CORRETA DA FOLIA MAGRA?Folia
 
Mobile Apps vs Mobile Web - The debate from Mobile Monday 3rd june 2013
Mobile Apps vs Mobile Web - The debate from Mobile Monday 3rd june 2013Mobile Apps vs Mobile Web - The debate from Mobile Monday 3rd june 2013
Mobile Apps vs Mobile Web - The debate from Mobile Monday 3rd june 2013Darren Cousins
 
Md 10 G1 Jeamaire Drone
Md 10 G1 Jeamaire DroneMd 10 G1 Jeamaire Drone
Md 10 G1 Jeamaire DroneHESABLE1
 
Mobile App, Web, or Hybrid: How To Decide?
Mobile App, Web, or Hybrid: How To Decide?Mobile App, Web, or Hybrid: How To Decide?
Mobile App, Web, or Hybrid: How To Decide?Progress® Sitefinity™
 
Introduction to Xamarin Development
Introduction to Xamarin DevelopmentIntroduction to Xamarin Development
Introduction to Xamarin DevelopmentIsham Mohamed Iqbal
 

Andere mochten auch (18)

Cross Platform Mobile Development with Xamarin
Cross Platform Mobile Development with XamarinCross Platform Mobile Development with Xamarin
Cross Platform Mobile Development with Xamarin
 
Mb0039 business communication spring2015_assignment- SMU_MBA-Solved-Assignment-
Mb0039 business communication spring2015_assignment- SMU_MBA-Solved-Assignment-Mb0039 business communication spring2015_assignment- SMU_MBA-Solved-Assignment-
Mb0039 business communication spring2015_assignment- SMU_MBA-Solved-Assignment-
 
Mb0045
Mb0045Mb0045
Mb0045
 
SMU_MBA-Solved Assignment-Mb0038 management process and organizational behavi...
SMU_MBA-Solved Assignment-Mb0038 management process and organizational behavi...SMU_MBA-Solved Assignment-Mb0038 management process and organizational behavi...
SMU_MBA-Solved Assignment-Mb0038 management process and organizational behavi...
 
Mb0040 statistics for management spring2015_assignment- SMU_MBA-Solved-Assign...
Mb0040 statistics for management spring2015_assignment- SMU_MBA-Solved-Assign...Mb0040 statistics for management spring2015_assignment- SMU_MBA-Solved-Assign...
Mb0040 statistics for management spring2015_assignment- SMU_MBA-Solved-Assign...
 
profResume
profResumeprofResume
profResume
 
Medi pragma documento di progetto della soluzione pf20-10
Medi pragma documento di progetto della soluzione pf20-10Medi pragma documento di progetto della soluzione pf20-10
Medi pragma documento di progetto della soluzione pf20-10
 
Rolf White C.V. - August 2015
Rolf White C.V. - August 2015Rolf White C.V. - August 2015
Rolf White C.V. - August 2015
 
russell resume
russell resumerussell resume
russell resume
 
Hunger in africa
Hunger in africaHunger in africa
Hunger in africa
 
Aumbry Complete Website Content Management System
Aumbry Complete Website Content Management SystemAumbry Complete Website Content Management System
Aumbry Complete Website Content Management System
 
QUAL A DOSAGEM CORRETA DA FOLIA MAGRA?
QUAL A DOSAGEM CORRETA DA FOLIA MAGRA?QUAL A DOSAGEM CORRETA DA FOLIA MAGRA?
QUAL A DOSAGEM CORRETA DA FOLIA MAGRA?
 
Mobile Apps vs Mobile Web - The debate from Mobile Monday 3rd june 2013
Mobile Apps vs Mobile Web - The debate from Mobile Monday 3rd june 2013Mobile Apps vs Mobile Web - The debate from Mobile Monday 3rd june 2013
Mobile Apps vs Mobile Web - The debate from Mobile Monday 3rd june 2013
 
Deborah Amellio Resume
Deborah Amellio ResumeDeborah Amellio Resume
Deborah Amellio Resume
 
Md 10 G1 Jeamaire Drone
Md 10 G1 Jeamaire DroneMd 10 G1 Jeamaire Drone
Md 10 G1 Jeamaire Drone
 
Mobile App, Web, or Hybrid: How To Decide?
Mobile App, Web, or Hybrid: How To Decide?Mobile App, Web, or Hybrid: How To Decide?
Mobile App, Web, or Hybrid: How To Decide?
 
Introduction to Xamarin Development
Introduction to Xamarin DevelopmentIntroduction to Xamarin Development
Introduction to Xamarin Development
 
Intro to Xamarin
Intro to XamarinIntro to Xamarin
Intro to Xamarin
 

Ähnlich wie Developing Cross-platform Native Apps with Xamarin

Cross-Platform Mobile Development using Visual Studio and Xamarin
Cross-Platform Mobile Development using Visual Studio and XamarinCross-Platform Mobile Development using Visual Studio and Xamarin
Cross-Platform Mobile Development using Visual Studio and XamarinShravan Kumar Kasagoni
 
TechEd Europ 2014 DEV-B306 Building Multi-Device Applications with Xamarin an...
TechEd Europ 2014 DEV-B306 Building Multi-Device Applications with Xamarin an...TechEd Europ 2014 DEV-B306 Building Multi-Device Applications with Xamarin an...
TechEd Europ 2014 DEV-B306 Building Multi-Device Applications with Xamarin an...James Montemagno
 
Building Mobile Cross-Platform Apps for iOS, Android & Windows in C# with Xam...
Building Mobile Cross-Platform Apps foriOS, Android & Windows in C# with Xam...Building Mobile Cross-Platform Apps foriOS, Android & Windows in C# with Xam...
Building Mobile Cross-Platform Apps for iOS, Android & Windows in C# with Xam...Nick Landry
 
Why is xamarin the most popular framework for business app development
Why is xamarin the most popular framework for business app developmentWhy is xamarin the most popular framework for business app development
Why is xamarin the most popular framework for business app developmentFullestop
 
TechEd Europe 2014 DEV-B217 Go Mobile with C#, Xamarin, and Visual STudio
TechEd Europe  2014 DEV-B217 Go Mobile with C#, Xamarin, and Visual STudioTechEd Europe  2014 DEV-B217 Go Mobile with C#, Xamarin, and Visual STudio
TechEd Europe 2014 DEV-B217 Go Mobile with C#, Xamarin, and Visual STudioJames Montemagno
 
Essential Tools for Xamarin Developers
Essential Tools for Xamarin DevelopersEssential Tools for Xamarin Developers
Essential Tools for Xamarin DevelopersSam Basu
 
Why xamarin app development is growing for startups
Why xamarin app development is growing for startupsWhy xamarin app development is growing for startups
Why xamarin app development is growing for startupsMarie Weaver
 
Xamarin COE by Mukteswar Patnaik
Xamarin COE by Mukteswar PatnaikXamarin COE by Mukteswar Patnaik
Xamarin COE by Mukteswar PatnaikMukteswar Patnaik
 
Introduction to xamarin
Introduction to xamarinIntroduction to xamarin
Introduction to xamarinDaniel Fikre
 
[XamarinDay] Xamarin History - From 0 to microsoft acquisition !
[XamarinDay] Xamarin History - From 0 to microsoft acquisition ![XamarinDay] Xamarin History - From 0 to microsoft acquisition !
[XamarinDay] Xamarin History - From 0 to microsoft acquisition !Cellenza
 
Introduction to Mobile Development with Xamarin -DotNet Westide
Introduction to Mobile Development with Xamarin -DotNet WestideIntroduction to Mobile Development with Xamarin -DotNet Westide
Introduction to Mobile Development with Xamarin -DotNet WestideJames Montemagno
 
Deep Dive in Xamarin.Forms
Deep Dive in Xamarin.FormsDeep Dive in Xamarin.Forms
Deep Dive in Xamarin.FormsJames Montemagno
 
Introduction to Xamarin Philly Code Camp 2014
Introduction to Xamarin Philly Code Camp 2014Introduction to Xamarin Philly Code Camp 2014
Introduction to Xamarin Philly Code Camp 2014James Montemagno
 
Why is xamarin the preferred app development platform among app developers
Why is xamarin the preferred app development platform among app developersWhy is xamarin the preferred app development platform among app developers
Why is xamarin the preferred app development platform among app developersFullestop
 
iOS Native Development with Xamarin
iOS Native Development with XamariniOS Native Development with Xamarin
iOS Native Development with XamarinArul Kumaran
 
Why is xamarin app development important for your business
Why is xamarin app development important for your businessWhy is xamarin app development important for your business
Why is xamarin app development important for your businessFullestop
 

Ähnlich wie Developing Cross-platform Native Apps with Xamarin (20)

Cross-Platform Mobile Development using Visual Studio and Xamarin
Cross-Platform Mobile Development using Visual Studio and XamarinCross-Platform Mobile Development using Visual Studio and Xamarin
Cross-Platform Mobile Development using Visual Studio and Xamarin
 
Xamarin
XamarinXamarin
Xamarin
 
Lecture 08 Xamarin
Lecture 08 XamarinLecture 08 Xamarin
Lecture 08 Xamarin
 
TechEd Europ 2014 DEV-B306 Building Multi-Device Applications with Xamarin an...
TechEd Europ 2014 DEV-B306 Building Multi-Device Applications with Xamarin an...TechEd Europ 2014 DEV-B306 Building Multi-Device Applications with Xamarin an...
TechEd Europ 2014 DEV-B306 Building Multi-Device Applications with Xamarin an...
 
Building Mobile Cross-Platform Apps for iOS, Android & Windows in C# with Xam...
Building Mobile Cross-Platform Apps foriOS, Android & Windows in C# with Xam...Building Mobile Cross-Platform Apps foriOS, Android & Windows in C# with Xam...
Building Mobile Cross-Platform Apps for iOS, Android & Windows in C# with Xam...
 
Why is xamarin the most popular framework for business app development
Why is xamarin the most popular framework for business app developmentWhy is xamarin the most popular framework for business app development
Why is xamarin the most popular framework for business app development
 
TechEd Europe 2014 DEV-B217 Go Mobile with C#, Xamarin, and Visual STudio
TechEd Europe  2014 DEV-B217 Go Mobile with C#, Xamarin, and Visual STudioTechEd Europe  2014 DEV-B217 Go Mobile with C#, Xamarin, and Visual STudio
TechEd Europe 2014 DEV-B217 Go Mobile with C#, Xamarin, and Visual STudio
 
Essential Tools for Xamarin Developers
Essential Tools for Xamarin DevelopersEssential Tools for Xamarin Developers
Essential Tools for Xamarin Developers
 
Introduction to xamarin
Introduction to xamarinIntroduction to xamarin
Introduction to xamarin
 
Why xamarin app development is growing for startups
Why xamarin app development is growing for startupsWhy xamarin app development is growing for startups
Why xamarin app development is growing for startups
 
Xamarin the good, the bad and the ugly
Xamarin  the good, the bad and the uglyXamarin  the good, the bad and the ugly
Xamarin the good, the bad and the ugly
 
Xamarin COE by Mukteswar Patnaik
Xamarin COE by Mukteswar PatnaikXamarin COE by Mukteswar Patnaik
Xamarin COE by Mukteswar Patnaik
 
Introduction to xamarin
Introduction to xamarinIntroduction to xamarin
Introduction to xamarin
 
[XamarinDay] Xamarin History - From 0 to microsoft acquisition !
[XamarinDay] Xamarin History - From 0 to microsoft acquisition ![XamarinDay] Xamarin History - From 0 to microsoft acquisition !
[XamarinDay] Xamarin History - From 0 to microsoft acquisition !
 
Introduction to Mobile Development with Xamarin -DotNet Westide
Introduction to Mobile Development with Xamarin -DotNet WestideIntroduction to Mobile Development with Xamarin -DotNet Westide
Introduction to Mobile Development with Xamarin -DotNet Westide
 
Deep Dive in Xamarin.Forms
Deep Dive in Xamarin.FormsDeep Dive in Xamarin.Forms
Deep Dive in Xamarin.Forms
 
Introduction to Xamarin Philly Code Camp 2014
Introduction to Xamarin Philly Code Camp 2014Introduction to Xamarin Philly Code Camp 2014
Introduction to Xamarin Philly Code Camp 2014
 
Why is xamarin the preferred app development platform among app developers
Why is xamarin the preferred app development platform among app developersWhy is xamarin the preferred app development platform among app developers
Why is xamarin the preferred app development platform among app developers
 
iOS Native Development with Xamarin
iOS Native Development with XamariniOS Native Development with Xamarin
iOS Native Development with Xamarin
 
Why is xamarin app development important for your business
Why is xamarin app development important for your businessWhy is xamarin app development important for your business
Why is xamarin app development important for your business
 

Mehr von danhermes

Azure Mobile Apps with Xamarin
Azure Mobile Apps with XamarinAzure Mobile Apps with Xamarin
Azure Mobile Apps with Xamarindanhermes
 
Xamarin Navigation Patterns
Xamarin Navigation PatternsXamarin Navigation Patterns
Xamarin Navigation Patternsdanhermes
 
Xamarin Navigation Patterns
Xamarin Navigation PatternsXamarin Navigation Patterns
Xamarin Navigation Patternsdanhermes
 
Building Mobile Apps for Business
Building Mobile Apps for BusinessBuilding Mobile Apps for Business
Building Mobile Apps for Businessdanhermes
 
Mobile UI Design Patterns
Mobile UI Design PatternsMobile UI Design Patterns
Mobile UI Design Patternsdanhermes
 
How App Usability, Functionality, and Analysis are Changing with Mobile
  How App Usability, Functionality, and Analysis are Changing with Mobile  How App Usability, Functionality, and Analysis are Changing with Mobile
How App Usability, Functionality, and Analysis are Changing with Mobiledanhermes
 
Cross platform mobile development in c#
Cross platform mobile development in c#Cross platform mobile development in c#
Cross platform mobile development in c#danhermes
 
What can mobile do for me
What can mobile do for meWhat can mobile do for me
What can mobile do for medanhermes
 
Agile Development in .NET
Agile Development in .NETAgile Development in .NET
Agile Development in .NETdanhermes
 
Mastering human communication patterns
Mastering human communication patternsMastering human communication patterns
Mastering human communication patternsdanhermes
 

Mehr von danhermes (10)

Azure Mobile Apps with Xamarin
Azure Mobile Apps with XamarinAzure Mobile Apps with Xamarin
Azure Mobile Apps with Xamarin
 
Xamarin Navigation Patterns
Xamarin Navigation PatternsXamarin Navigation Patterns
Xamarin Navigation Patterns
 
Xamarin Navigation Patterns
Xamarin Navigation PatternsXamarin Navigation Patterns
Xamarin Navigation Patterns
 
Building Mobile Apps for Business
Building Mobile Apps for BusinessBuilding Mobile Apps for Business
Building Mobile Apps for Business
 
Mobile UI Design Patterns
Mobile UI Design PatternsMobile UI Design Patterns
Mobile UI Design Patterns
 
How App Usability, Functionality, and Analysis are Changing with Mobile
  How App Usability, Functionality, and Analysis are Changing with Mobile  How App Usability, Functionality, and Analysis are Changing with Mobile
How App Usability, Functionality, and Analysis are Changing with Mobile
 
Cross platform mobile development in c#
Cross platform mobile development in c#Cross platform mobile development in c#
Cross platform mobile development in c#
 
What can mobile do for me
What can mobile do for meWhat can mobile do for me
What can mobile do for me
 
Agile Development in .NET
Agile Development in .NETAgile Development in .NET
Agile Development in .NET
 
Mastering human communication patterns
Mastering human communication patternsMastering human communication patterns
Mastering human communication patterns
 

Kürzlich hochgeladen

Call US Pooja 9892124323 ✓Call Girls In Mira Road ( Mumbai ) secure service,
Call US Pooja 9892124323 ✓Call Girls In Mira Road ( Mumbai ) secure service,Call US Pooja 9892124323 ✓Call Girls In Mira Road ( Mumbai ) secure service,
Call US Pooja 9892124323 ✓Call Girls In Mira Road ( Mumbai ) secure service,Pooja Nehwal
 
9892124323 | Book Call Girls in Juhu and escort services 24x7
9892124323 | Book Call Girls in Juhu and escort services 24x79892124323 | Book Call Girls in Juhu and escort services 24x7
9892124323 | Book Call Girls in Juhu and escort services 24x7Pooja Nehwal
 
FULL ENJOY - 9999218229 Call Girls in {Mahipalpur}| Delhi NCR
FULL ENJOY - 9999218229 Call Girls in {Mahipalpur}| Delhi NCRFULL ENJOY - 9999218229 Call Girls in {Mahipalpur}| Delhi NCR
FULL ENJOY - 9999218229 Call Girls in {Mahipalpur}| Delhi NCRnishacall1
 
CALL ON ➥8923113531 🔝Call Girls Gomti Nagar Lucknow best Night Fun service
CALL ON ➥8923113531 🔝Call Girls Gomti Nagar Lucknow best Night Fun serviceCALL ON ➥8923113531 🔝Call Girls Gomti Nagar Lucknow best Night Fun service
CALL ON ➥8923113531 🔝Call Girls Gomti Nagar Lucknow best Night Fun serviceanilsa9823
 
CALL ON ➥8923113531 🔝Call Girls Saharaganj Lucknow best sexual service
CALL ON ➥8923113531 🔝Call Girls Saharaganj Lucknow best sexual serviceCALL ON ➥8923113531 🔝Call Girls Saharaganj Lucknow best sexual service
CALL ON ➥8923113531 🔝Call Girls Saharaganj Lucknow best sexual serviceanilsa9823
 
BDSM⚡Call Girls in Sector 71 Noida Escorts >༒8448380779 Escort Service
BDSM⚡Call Girls in Sector 71 Noida Escorts >༒8448380779 Escort ServiceBDSM⚡Call Girls in Sector 71 Noida Escorts >༒8448380779 Escort Service
BDSM⚡Call Girls in Sector 71 Noida Escorts >༒8448380779 Escort ServiceDelhi Call girls
 
Powerful Love Spells in Arkansas, AR (310) 882-6330 Bring Back Lost Lover
Powerful Love Spells in Arkansas, AR (310) 882-6330 Bring Back Lost LoverPowerful Love Spells in Arkansas, AR (310) 882-6330 Bring Back Lost Lover
Powerful Love Spells in Arkansas, AR (310) 882-6330 Bring Back Lost LoverPsychicRuben LoveSpells
 

Kürzlich hochgeladen (7)

Call US Pooja 9892124323 ✓Call Girls In Mira Road ( Mumbai ) secure service,
Call US Pooja 9892124323 ✓Call Girls In Mira Road ( Mumbai ) secure service,Call US Pooja 9892124323 ✓Call Girls In Mira Road ( Mumbai ) secure service,
Call US Pooja 9892124323 ✓Call Girls In Mira Road ( Mumbai ) secure service,
 
9892124323 | Book Call Girls in Juhu and escort services 24x7
9892124323 | Book Call Girls in Juhu and escort services 24x79892124323 | Book Call Girls in Juhu and escort services 24x7
9892124323 | Book Call Girls in Juhu and escort services 24x7
 
FULL ENJOY - 9999218229 Call Girls in {Mahipalpur}| Delhi NCR
FULL ENJOY - 9999218229 Call Girls in {Mahipalpur}| Delhi NCRFULL ENJOY - 9999218229 Call Girls in {Mahipalpur}| Delhi NCR
FULL ENJOY - 9999218229 Call Girls in {Mahipalpur}| Delhi NCR
 
CALL ON ➥8923113531 🔝Call Girls Gomti Nagar Lucknow best Night Fun service
CALL ON ➥8923113531 🔝Call Girls Gomti Nagar Lucknow best Night Fun serviceCALL ON ➥8923113531 🔝Call Girls Gomti Nagar Lucknow best Night Fun service
CALL ON ➥8923113531 🔝Call Girls Gomti Nagar Lucknow best Night Fun service
 
CALL ON ➥8923113531 🔝Call Girls Saharaganj Lucknow best sexual service
CALL ON ➥8923113531 🔝Call Girls Saharaganj Lucknow best sexual serviceCALL ON ➥8923113531 🔝Call Girls Saharaganj Lucknow best sexual service
CALL ON ➥8923113531 🔝Call Girls Saharaganj Lucknow best sexual service
 
BDSM⚡Call Girls in Sector 71 Noida Escorts >༒8448380779 Escort Service
BDSM⚡Call Girls in Sector 71 Noida Escorts >༒8448380779 Escort ServiceBDSM⚡Call Girls in Sector 71 Noida Escorts >༒8448380779 Escort Service
BDSM⚡Call Girls in Sector 71 Noida Escorts >༒8448380779 Escort Service
 
Powerful Love Spells in Arkansas, AR (310) 882-6330 Bring Back Lost Lover
Powerful Love Spells in Arkansas, AR (310) 882-6330 Bring Back Lost LoverPowerful Love Spells in Arkansas, AR (310) 882-6330 Bring Back Lost Lover
Powerful Love Spells in Arkansas, AR (310) 882-6330 Bring Back Lost Lover
 

Developing Cross-platform Native Apps with Xamarin

  • 1. Developing Cross-Platform Native Apps with Xamarin for Boston Tech Workshops by Dan Hermes Xamarin MVP, Software Consultant Lexicon Systems dan@lexiconsystemsinc.com www.mobilecsharpcafe.com @danhermes
  • 2. About Me Dan Hermes President of Lexicon Systems Mobile and .NET software consultant Author, speaker
  • 3. My Xamarin Book Now Available on Amazon “This weighty book gives clear guidance that will help you build quality apps, starting with architectural considerations, and then jumping into practical code strategies.” - Bryan Costanich, Vice President, Xamarin “Dan Hermes’ extraordinary book is the most intelligent work on cross-platform mobile development I’ve seen.” – Jesse Liberty, Director of New Technology Development, Falafel Software, Xamarin Certified Developer / Xamarin MVP
  • 4. Why are we building mobile apps for business?
  • 5. Explosive Mobile v. PC Growth Quarterly unit shipments (m) 300 250 200 150 100 50 0 PCs iOS & Android March-95 March-97 March-99 March-01 March-03 March-05 March-07 March-09 March-11 March-13 Source: “Mobile is Eating the World” (Benedict Evans)
  • 6. How do we build mobile apps for business?
  • 7. Mobile App Types • Mobile Web /Responsive • Browser-based • Native • iOS, Android, OR Windows • Hybrid • Web app wrapped in a native app • Cross-platform • iOS, Android, AND Windows
  • 8. Native vs. Hybrid Native User Interface and Native User Experience vs. Hybrid
  • 9. People Expect Great Experiences
  • 10. Which platforms do we build for?
  • 11. Smartphone OS Market Share • Android – 66% • iOS – 28% • Windows Phone – 3% What does this mean? Single platform apps are risky
  • 12. Cross-platform Apps • Develop using a single technology (ex. C#, HTML5) • Can run on all platforms • iOS • Android • Windows Phone
  • 13. What Are the Benefits of Cross-platform Apps? • Shared Code • Code reuse • One technology stack • Instead of several • Native app quality • Native app performance • Native phone functionality (location, camera, etc.)
  • 14. Biggest Challenges of Multi-platform Development  Code Divergence  Development Complexity  Team Divergence  Process Complexity  Schedule  Cost=
  • 15. Cross-Platform Solutions  Xamarin  Code in C# then compile to respective native platforms  Titanium, NativeScript & React Native  Native shell around a JavaScript core app with some UI compiled to native  Cordova  Device-resident web app that can be wrapped in a native shell
  • 16. Xamarin’s Approach Native UI C# + XAML Fully native apps written entirely in C# Shared App Logic in C#  Xamarin delivers fully native user interfaces and app functionality  Complete access to 100% of the native APIs for iOS, Android and Windows in C#  Share app logic and UI code across device platforms
  • 17. 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
  • 18. Xamarin Plug-in for Visual Studio
  • 19.
  • 20. Native Performance Xamarin.iOS does full Ahead Of Time (AOT) compilation to produce an ARM binary for Apple’s App Store. Xamarin.Android takes advantage of Just In Time (JIT) compilation on the Android device.
  • 21. Mobile Visionary in Gartner Magic Quadrant “Xamarin's architectural approach provides completely native UIs with better performance than other cross-platform techniques… Xamarin uses multifaceted technology built by a cohesive team with a solid long-term track record.” Mobile Visionary in Magic Quadrant
  • 22. Xamarin’s Enterprise Partnerships The experiences your users expect. The security and connections your organization requires.
  • 23.
  • 24. Benefits of Cross-Platform Development • Combine code and development teams • Shared codebase • Same programming skillset • Run on multiple platforms • iOS • Android • Windows Phone
  • 25. Xamarin’s Default App Architecture Native UI C# + XAML Shared app logic, platform-specific UI, all in C# Shared App Logic in C# iOS C# UI Android C# UI Windows C# UI Shared App Logic  Platform-specific UI code in C#  Shared app logic code in C#  Fine-grain control over the app user interface  Good for apps with sophisticated UX requirements (complicated gestures, animations, design)
  • 26. Xamarin.Forms • Cross-platform user interface for Xamarin • Announced in May of 2014 • Growing set of cross-platform controls • Each control will be mapped to its native equivalent at runtime
  • 27.
  • 28. Xamarin.Forms UI  Xamarin.Forms features first developed for C# (code-first)  XAML implementation then provided, so… Anything you can do in C#, I can do in XAML  What is XAML? C# or XAML for UI Development
  • 29. The Xamarin.Forms App Architecture Shared App Logic Xamarin.Forms Increase Code Sharing Up to 100% and Deliver a Fully Native App  Shared UI code in C#  Shared app logic code in C#  Mix-and-Match the use of Xamarin.Forms with platform-specific code.  Good for forms-based, apps with a lot of data entry screens  Easy to learn API makes you productive immediately, without platform-specific knowledge
  • 30. Xamarin App Architectures iOS C# UI Android C# UI Windows C# UI Shared App Logic Shared App Logic Xamarin.Forms Platform-specific Xamarin.Forms
  • 32. Pages
  • 34. When to Use Xamarin.Forms? • Learning Xamarin • Cross-platform scaffolding • Basic business apps • Basic design • Simple cross-platform screens • Device-unique controls are not needed • Complex graphics processing is not needed
  • 37. Automatically test your app on hundreds of real devices in the cloud
  • 38. Xamarin Test Cloud – Testing Made Easy
  • 39. What do I do all day?
  • 40. • Develop web and mobile apps • Xamarin experts • Founded in 1999 • Microsoft technology stack We advise on and build apps for business.
  • 41. What We Do a continuum of services from advisement to hands-on
  • 42. Our Clients Include and many small and medium-sized companies.
  • 43. Our Proficiencies •Web applications • Microsoft Technologies • C#, .NET, ASP.NET, MVC, HTML5, Javascript •Mobile apps • iOS, Android, Windows Phone • Built using Xamarin
  • 44. MOBILE APPS IN THE WILD (Case Studies)
  • 45.          Certification training and professional platform for orthopedic surgeons •50,000 orthopedic surgeon user base •Surgical topics, case studies, images •Sample tests and test questions •Surgeons can vote, comment, and cite journal entries
  • 46.
  • 49.
  • 50.            Biotech market leader •DNA and breast cancer research •Engage lab techs more deeply through their ThermoFisher equipment •Bring real-time data directly from DNA-processing laboratory equipment into the hands of scientists Xammy Finalist
  • 51. Thermo Cycler or PCR Device (polymerase chain reaction) for DNA Duplication
  • 53. Internet of Things (IoT) Real-time Integration with Lab Devices
  • 54.
  • 55. Federal Aviation Administration (FAA) • Recreational drone use presents risks and threats • FAA announcing new regulations • Help drone flyers fly safely
  • 56. B4UFLY • Plan your trips • Airport locations • Controlled Airspace • Special Airspace • Flight Warnings • No-fly Zones
  • 57. Xamarin gives us cross-platform reach with native power and performance
  • 58. Web and Mobile Work Together • Modern biz apps combine web and mobile technology • They share data sources, look and feel, and support one another • A Unified technology foundation simplifies this • Mobile and web apps all built with C# provides this foundation • Xamarin • .NET • ASP.NET MVC • Angular and other JavaScript options
  • 59. Need Something Xamarin-flavored? • I do Xamarin consultations • I do Xamarin coaching and training • My firm does Xamarin development • We help make Xamarin projects work
  • 60. Developing Cross-Platform Native Apps with Xamarin Dan Hermes developer, author, consultant, founder of Lexicon Systems dan@lexiconsystemsinc.com Available on Amazon My blog: www.mobilecsharpcafe.com Twitter: @danhermes

Hinweis der Redaktion

  1. Xamarin is the only major framework that compiles to respective native binaries for a 100% native application. Appcelerator’s Titanium, Telerik’s NativeScript and Facebook’s React Native have 100% native UIs but offshore their logic to the native JavaScript engine.
  2. Your customers are going mobile
  3. Notes Can save time by reusing code Can save money
  4. Notes: Since being announced, Xamarin.Forms has grown and will continue to grow Controls are added occasionally when updates are made to Xamarin When the application is run, a control that is abstracted in Xamarin.Forms will be mapped to its native equivalent. For example, the Xamarin.Forms.Button control maps to UIButton in iOS, Button in Android and Button in Windows Phone References: Image Source: http://www.meritsolutions.com/wp-content/uploads/2015/09/Xamarin-Approach-1024x491.png
  5. Notes: Platform-specific is sometimes called Traditional architecture, and uses Xamarin.Android or Xamarin.iOS.
  6. References: Xamarin Mobile Application Development by Dan Hermes http://amzn.to/1rowG7K
  7. Image courtesy of Xamarin
  8. Image courtesy of Xamarin
  9. Full-featured E-Commerce, Video Education, Calculator, and IoT Device Integration
  10. As with anything really fun…