SlideShare uma empresa Scribd logo
1 de 69
Baixar para ler offline
The future of apps
Rui Marinho
Software Engineer
The future of apps
The future of apps
Global Overview
MODULES
1 INTROTO	XAMARIN
2 IOS	DEVELOPMENT USING XAMARIN
3 ANDROID	DEVELOPMENT
4 SHARING	MORE CODE	– XAMARINFORMS
5 UI	TESTS
6 INSIGHTS
The future of apps
1 - Intro to Xamarin
• What’s is Xamarin
• Xamarin with Visual Studio
• What you require to get started
• Demo – Hello Xamarin iOS & Android
The future of apps
500+
partners
10,000+ 1.2M
customers downloads
The future of apps
10,000+ customers, 100+ of the Fortune 500
The future of apps
Businesses are rapidly appifying
The number of enterprise
applications optimized for mobility
will quadruple by 2016.”
“
The future of apps
Make it fast, easy, and fun to
create great mobile apps.
Our mission
The future of apps
Stay current
Your priorities when building apps
Works EverywhereNative 5-Star App Integration
The future of apps
Xamarin : the complete mobile lifecycle
BUILD TEST MONITOR ACCELERATE
The future of apps
Train developers for mobile
and keep skills current
Test any app on 2,000 real
devices in the cloud
Xamarin: the complete mobile lifecycle
Use C# to build native
apps for iOS and Android
Monitor performance and user
behavior in live apps
BUILD TEST MONITOR ACCELERATE
The future of apps
Train developers for mobile
and keep skills current
Test any app on 2,000 real
devices in the cloud
Xamarin 4: the complete mobile lifecycle
Use C# to build native
apps for iOS and Android
Monitor performance and user
behavior in live apps
BUILD TEST MONITOR ACCELERATE
BUILD TEST MONITOR ACCELERATE
The future of apps
Silo Approach
iOS WindowsAndroid
Objective-C
Xcode
C#
Visual Studio
Java
Android Studio
No shared code • Many languages & development environments • Multiple teams
The future of apps
Write Once, Run Anywhere
App Generator
Lua
Javascript
Actionscript
HTML+CSS
Limited native API access • Slow performance • Poor user experience
The future of apps
Xamarin Platform: native UX and shared code
Shared App Logic
BUILD TEST MONITOR
iOS C# UI Android C# UI Windows C# UI
Shared App Logic
ACCELERATE
Shared App Logic
Shared UI
The future of apps
Xamarin’s Unique Approach
Shared C# codebase • 100% native API access • High performance
iOS C# UI Windows C# UIAndroid C# UI
Shared C# Mobile C# Server
Linux/Mono
CoreCLRAzure
Shared C# Client/Server
The future of apps
Anything you can do in Objective-C, Swift, or Java
can be done in C# and Visual Studio with Xamarin.
The future of apps
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.
The future of apps
✓Always Up-to-
Date
Same-day
support:
• iOS 5
• iOS 6
• iOS 7
• iOS 7.1
• iOS 8
• iOS 9
Full support for:
• Apple Watch
• Google Glass
• Android Wear
• Amazon Fire TV
• and much more
The future of apps
Xamarin Platform: native apps across platforms
The future of appsBUILD TEST MONITOR LEARN
Demo
The future of apps
2 - IOS DEVELOPMENT USING XAMARIN
• How Xamarin.IOS works
• Demo – iOS simple app – UITableView and
MapKit
The future of apps
iOS – 100% API Coverage
MapKit UIKit iBeacon CoreGraphics CoreMotion
System.Data System.Windows System.Numerics System.Core System.ServiceModel
System.Net System System.IO System.Linq System.Xml
The future of apps
Xamarin.IOS Execution Model
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.
The future of appsBUILD TEST MONITOR ACCELERATE
Demo
The future of apps
2 – Recap
• How Xamarin.IOS works
• IOS App Lifecycle
• Using UITableView
• Using Storyboards
• Using MapKit
• Using Segues
The future of apps
3 – ANDROID DEVELOPMENT USING XAMARIN
• How Xamarin.Android works
• Demo – Android simple app – Listview and Maps
• Start with code sharing techniques
The future of apps
Xamarin.Android Execution Model
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.
The future of apps
Android – 100% API Coverage
Text-to-speech ActionBar Printing Framework Renderscript NFC
System.Data System.Windows System.Numerics System.Core System.ServiceModel
System.Net System System.IO System.Linq System.Xml
The future of apps
#if Conditional Blocks
• Enable / Disable code based on the target platform
• Platform specific compilations constants :
• _IOS_
• _ANDROID_
• NETFX_CORE
• For subtle differences in the API’s
The future of apps
#if Conditional Blocks
The future of apps
Partial Classes
• Shared Functionality in one code file
Ex: DataModel
• Platform specific code in another code file
Ex: DataModel.IOS
• Partial classes are compiled into a single class
The future of apps
Shared Projects
The future of appsBUILD TEST MONITOR ACCELERATE
Demo
The future of apps
3 – Recap
• How Xamarin.Android works
• Android App Lifecycle
• Using Listview
• Using Intents
• Using Maps
The future of apps
4 – SHARE MORE CODE – XAMARIN FORMS
• What’s Xamarin.Forms
• Xamarin.Forms Controls
• Rebuild App using Xamarin Forms
• More code sharing
PCL
MVVM
DI
The future of apps
Build native UIs for iOS, Android, and Windows Phone from a single,
shared C# codebase.
Meet Xamarin.Forms
The future of apps
Xamarin + Xamarin.Forms
Traditional Xamarin
Approach
With Xamarin.Forms:
More code-sharing, all
native
iOS C# UI Windows C# UIAndroid C# UI
Shared C# Backend
Shared UI Code
Shared C# Backend
The future of apps
What’s included
✓ 40+ Pages, layouts, and controls
(Build from code behind or XAML)
✓ Two-way data binding
✓ Navigation
✓ Animation API
✓ Dependency Service
✓ Messaging Center
Shared C# Backend
Shared UI Code
The future of apps
• <?xml version="1.0"	encoding="UTF-8"?>
• <TabbedPage xmlns="http://xamarin.com/schemas/2014/forms"
• xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
• x:Class="MyApp.MainPage">
• <TabbedPage.Children>
• <ContentPage Title="Profile"	Icon="Profile.png">
• <StackLayout Spacing="20" Padding="20"
• VerticalOptions="Center">
• <Entry Placeholder="Username"
• Text="{Binding	Username}"/>
• <Entry	Placeholder="Password"
• Text="{Binding	Password}"
• IsPassword="true"/>
• <Button Text="Login"	TextColor="White"
• BackgroundColor="#77D065"
• Command="{Binding	LoginCommand}"/>
• </StackLayout>
• </ContentPage>
• <ContentPage	 Title="Settings"	 Icon="Settings.png">
• <!-- Settings	-->
• </ContentPage>
• </TabbedPage.Children>
Native UI from shared code
The future of apps
Layout
s
Pages
Stack Absolute Relative Grid ContentView ScrollView Frame
Content MasterDetail Navigation Tabbed Carousel
The future of apps
ActivityIndicator BoxView Button DatePicker Editor
Entry Image Label ListView Map
OpenGLView Picker ProgressBar SearchBar Slider
Stepper TableView TimePicker WebView EntryCell
ImageCell SwitchCell TextCell ViewCell
Controls
Which Xamarin approach is
best for your app?
Xamarin.Forms is best for: Xamarin.iOS / Xamarin.Android is best for:
• Data entry apps
• Prototypes and proofs-of-concept
• Apps that require little platform-specific
functionality
• Apps where code sharing is more important
than custom UI
Learn more: xamarin.com/forms Learn more: xamarin.com/platform
• Apps that require specialized interaction
• Apps with highly polished design
• Apps that use many platform-specific APIs
• Apps where custom UI is more important than
code sharing
The future of appsBUILD TEST MONITOR ACCELERATE
Demo
The future of apps
5 – UI Tests
The future of apps
Train developers for mobile
and keep skills current
Test any app on 2,000 real
devices in the cloud
Xamarin 4: the complete mobile lifecycle
Use C# to build native
apps for iOS and Android
Monitor performance and user
behavior in live apps
BUILD TEST MONITOR ACCELERATE
BUILD TEST MONITOR ACCELERATE
The future of apps
Train developers for mobile
and keep skills current
Test any app on 2,000 real
devices in the cloud
Xamarin 4: the complete mobile lifecycle
Use C# to build native
apps for iOS and Android
Monitor performance and user
behavior in live apps
BUILD TEST MONITOR ACCELERATE
BUILD TEST MONITOR ACCELERATE
The future of apps
Android fragmentation
Brand Fragmentation
2012
500
device brands
2015
1,294
device brands
The future of apps
iOS diversification
3D Touch
iPhone 6s
series only
Apple pencil
iPad Pro only
Multi Tasking
Only select iPads
iPads
iPod
touch
iPhones
Form factors iOS 9 features
The future of apps
Xamarin Test Cloud: automated testing on thousands of devices
The future of apps
What’s new in Xamarin Test Cloud?
Integrated
with Platform
UITest 1.0
BUILD TEST MONITOR
Test Recorder
ACCELERATE
The future of appsBUILD TEST MONITOR
Demo
ACCELERATE
The future of apps
The future of apps
“Xamarin Test Cloud has saved us 2,000
monthly manual testing hours.”
Steve Robbins, CTO
The future of apps
6 – Insights
The future of apps
Train developers for mobile
and keep skills current
Test any app on 2,000 real
devices in the cloud
Xamarin 4: the complete mobile lifecycle
Use C# to build native
apps for iOS and Android
Monitor performance and user
behavior in live apps
BUILD TEST MONITOR ACCELERATE
BUILD TEST MONITOR ACCELERATE
The future of apps
Train developers for mobile
and keep skills current
Test any app on 2,000 real
devices in the cloud
Xamarin 4: the complete mobile lifecycle
Use C# to build native
apps for iOS and Android
Monitor performance and user
behavior in live apps
BUILD TEST MONITOR ACCELERATE
BUILD TEST MONITOR ACCELERATE
The future of apps
Monitoring your app in real time
Is my app crashing? What features are popular?
Does it perform well?
How many people are using it?
What countries are users in?Do users stick with the app?
What devices are they using?
BUILD TEST MONITOR ACCELERATE
The future of apps
Introducing Xamarin Insights
The future of apps
//Crash Report
Insights.Report(exception);
//Feature Usage
Insights.Track(“Splash Page”);
//Timed Events
Insights.TrackTime(“TimeToSync”);
//User Sessions
Insights.Identify(“Steve”, user_traits);
The future of appsBUILD TEST MONITOR
Demo
ACCELERATE
The future of apps
//Crash Report
Insights.Report(exception);
//Feature Usage
Insights.Track(“Splash Page”);
//Timed Events
Insights.TrackTime(“TimeToSync”);
//User Sessions
Insights.Identify(“Steve”, user_traits);
The future of apps
We wouldn’t have caught the bugs as early as
we did without Xamarin Insights. No other
suppliers offered the kinds of benefits we’ve
seen from Xamarin. The ability to trace a user
journey so we can see exactly what led up to an
issue and receive detailed information about
crashes has been tremendously helpful.”
“
Yos Noor
Head of Research and Innovation
reed.co.uk
The future of apps
Train developers for mobile
and keep skills current
Test any app on 2,000 real
devices in the cloud
Xamarin 4: the complete mobile lifecycle
Use C# to build native
apps for iOS and Android
Monitor performance and user
behavior in live apps
BUILD TEST MONITOR ACCELERATE
BUILD TEST MONITOR ACCELERATE
The future of apps
Train developers for mobile
and keep skills current
Test any app on 2,000 real
devices in the cloud
Xamarin 4: the complete mobile lifecycle
Use C# to build native
apps for iOS and Android
Monitor performance and user
behavior in live apps
BUILD TEST MONITOR ACCELERATE
BUILD TEST MONITOR ACCELERATE
The future of apps
What’s Xamarin University?
BUILD TEST MONITOR
Reduced renewal
pricing
Over 60 classes Guest Lectures
and office hours
Certification:
Be recognized for
being a mobile
and Xamarin
expert
ACCELERATE
The future of apps
Train developers for mobile
and keep skills current
Test any app on 2,000 real
devices in the cloud
Xamarin : the complete mobile lifecycle
Use C# to build native
apps for iOS and Android
Monitor performance and user
behavior in live apps
BUILD TEST MONITOR ACCELERATE
The future of apps
How to buy: a la carte
All Xamarin customers get
+Free Test Cloud time
+Free Insights crash reporting
The future of apps
Xamarin Ultimate
xamarin.com/ultimate
BUILD TEST MONITOR ACCELERATE
The future of apps
evolve.xamarin.com
April 24-28 Orlando, FL

Mais conteúdo relacionado

Mais procurados

Xamarin cross platform
Xamarin cross platformXamarin cross platform
Xamarin cross platformGuada Casuso
 
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
 
State of Union: Xamarin & Cross-Platform .NET in 2016 and Beyond
State of Union: Xamarin & Cross-Platform .NET in 2016 and BeyondState of Union: Xamarin & Cross-Platform .NET in 2016 and Beyond
State of Union: Xamarin & Cross-Platform .NET in 2016 and BeyondNick Landry
 
C# everywhere: Xamarin and cross platform development
C# everywhere: Xamarin and cross platform developmentC# everywhere: Xamarin and cross platform development
C# everywhere: Xamarin and cross platform developmentGill Cleeren
 
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
 
Introducing mono & xamarin
Introducing mono & xamarinIntroducing mono & xamarin
Introducing mono & xamarinTechizzaa
 
Xamarin 4 - the future of apps
Xamarin 4  - the future of appsXamarin 4  - the future of apps
Xamarin 4 - the future of appsJames Montemagno
 
Introduction to Xamarin
Introduction to XamarinIntroduction to Xamarin
Introduction to XamarinGuy Barrette
 
Say hello to Xamarin 3
Say hello to Xamarin 3Say hello to Xamarin 3
Say hello to Xamarin 3Xamarin
 
Xamarin overview droidcon.tn
Xamarin overview   droidcon.tnXamarin overview   droidcon.tn
Xamarin overview droidcon.tnHoussem Dellai
 
Building Your First iOS App with Xamarin for Visual Studio
Building Your First iOS App with Xamarin for Visual StudioBuilding Your First iOS App with Xamarin for Visual Studio
Building Your First iOS App with Xamarin for Visual StudioXamarin
 
Intro to Xamarin for Visual Studio: Native iOS, Android, and Windows Apps in C#
Intro to Xamarin for Visual Studio: Native iOS, Android, and Windows Apps in C#Intro to Xamarin for Visual Studio: Native iOS, Android, and Windows Apps in C#
Intro to Xamarin for Visual Studio: Native iOS, Android, and Windows Apps in C#Xamarin
 
Cross Platform Mobile Development with Xamarin
Cross Platform Mobile Development with XamarinCross Platform Mobile Development with Xamarin
Cross Platform Mobile Development with XamarinJoe Koletar
 
Powering your Apps with Cloud Services
Powering your Apps with Cloud ServicesPowering your Apps with Cloud Services
Powering your Apps with Cloud ServicesXpand IT
 
Enterprise-grade mobile barcode scanning with Scandit and Xamarin
Enterprise-grade mobile barcode scanning with Scandit and XamarinEnterprise-grade mobile barcode scanning with Scandit and Xamarin
Enterprise-grade mobile barcode scanning with Scandit and XamarinXamarin
 
Building Your First Xamarin.Forms App
Building Your First Xamarin.Forms AppBuilding Your First Xamarin.Forms App
Building Your First Xamarin.Forms AppXamarin
 

Mais procurados (20)

Xamarin cross platform
Xamarin cross platformXamarin cross platform
Xamarin cross platform
 
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
 
State of Union: Xamarin & Cross-Platform .NET in 2016 and Beyond
State of Union: Xamarin & Cross-Platform .NET in 2016 and BeyondState of Union: Xamarin & Cross-Platform .NET in 2016 and Beyond
State of Union: Xamarin & Cross-Platform .NET in 2016 and Beyond
 
C# everywhere: Xamarin and cross platform development
C# everywhere: Xamarin and cross platform developmentC# everywhere: Xamarin and cross platform development
C# everywhere: Xamarin and cross platform development
 
Cross-Platform Mobile App Development
Cross-Platform Mobile App DevelopmentCross-Platform Mobile App Development
Cross-Platform Mobile App Development
 
Introduction to xamarin
Introduction to xamarinIntroduction to xamarin
Introduction to xamarin
 
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
 
Introduction to xamarin
Introduction to xamarinIntroduction to xamarin
Introduction to xamarin
 
Introducing mono & xamarin
Introducing mono & xamarinIntroducing mono & xamarin
Introducing mono & xamarin
 
Xamarin 4 - the future of apps
Xamarin 4  - the future of appsXamarin 4  - the future of apps
Xamarin 4 - the future of apps
 
Introduction to Xamarin
Introduction to XamarinIntroduction to Xamarin
Introduction to Xamarin
 
Say hello to Xamarin 3
Say hello to Xamarin 3Say hello to Xamarin 3
Say hello to Xamarin 3
 
Xamarin overview droidcon.tn
Xamarin overview   droidcon.tnXamarin overview   droidcon.tn
Xamarin overview droidcon.tn
 
Building Your First iOS App with Xamarin for Visual Studio
Building Your First iOS App with Xamarin for Visual StudioBuilding Your First iOS App with Xamarin for Visual Studio
Building Your First iOS App with Xamarin for Visual Studio
 
Intro to Xamarin for Visual Studio: Native iOS, Android, and Windows Apps in C#
Intro to Xamarin for Visual Studio: Native iOS, Android, and Windows Apps in C#Intro to Xamarin for Visual Studio: Native iOS, Android, and Windows Apps in C#
Intro to Xamarin for Visual Studio: Native iOS, Android, and Windows Apps in C#
 
Cross Platform Mobile Development with Xamarin
Cross Platform Mobile Development with XamarinCross Platform Mobile Development with Xamarin
Cross Platform Mobile Development with Xamarin
 
Powering your Apps with Cloud Services
Powering your Apps with Cloud ServicesPowering your Apps with Cloud Services
Powering your Apps with Cloud Services
 
Enterprise-grade mobile barcode scanning with Scandit and Xamarin
Enterprise-grade mobile barcode scanning with Scandit and XamarinEnterprise-grade mobile barcode scanning with Scandit and Xamarin
Enterprise-grade mobile barcode scanning with Scandit and Xamarin
 
Building Your First Xamarin.Forms App
Building Your First Xamarin.Forms AppBuilding Your First Xamarin.Forms App
Building Your First Xamarin.Forms App
 

Semelhante a Xamarin Platform

C# no bolso - desenvolvendo apps multiplataforma
C# no bolso - desenvolvendo apps multiplataformaC# no bolso - desenvolvendo apps multiplataforma
C# no bolso - desenvolvendo apps multiplataformaAllan Cleysson
 
Deep Dive in Xamarin.Forms
Deep Dive in Xamarin.FormsDeep Dive in Xamarin.Forms
Deep Dive in Xamarin.FormsJames Montemagno
 
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
 
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
 
The Great Mobile Debate: Native vs. Hybrid App Development
The Great Mobile Debate: Native vs. Hybrid App DevelopmentThe Great Mobile Debate: Native vs. Hybrid App Development
The Great Mobile Debate: Native vs. Hybrid App DevelopmentNick Landry
 
Introduction to xamarin
Introduction to xamarinIntroduction to xamarin
Introduction to xamarinDaniel Fikre
 
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
 
Xamarin COE by Mukteswar Patnaik
Xamarin COE by Mukteswar PatnaikXamarin COE by Mukteswar Patnaik
Xamarin COE by Mukteswar PatnaikMukteswar Patnaik
 
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
 
EastBay.net Building Mobile Apps with Xamarin and Visual Studio
EastBay.net Building Mobile Apps with Xamarin and Visual StudioEastBay.net Building Mobile Apps with Xamarin and Visual Studio
EastBay.net Building Mobile Apps with Xamarin and Visual StudioCraig Dunn
 
Going Mobile with C#, Visual Studio, and Xamarin
Going Mobile with C#, Visual Studio, and XamarinGoing Mobile with C#, Visual Studio, and Xamarin
Going Mobile with C#, Visual Studio, and XamarinMatthew Soucoup
 
Smau Milano 2016 - Erica Barone e Lorenzo Barbieri, Microsoft
Smau Milano 2016 - Erica Barone e Lorenzo Barbieri, MicrosoftSmau Milano 2016 - Erica Barone e Lorenzo Barbieri, Microsoft
Smau Milano 2016 - Erica Barone e Lorenzo Barbieri, MicrosoftSMAU
 
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
 
Introduction to Cross Platform Natitve Mobile Development with C# and Xamarin
Introduction to Cross Platform Natitve Mobile Development with C# and XamarinIntroduction to Cross Platform Natitve Mobile Development with C# and Xamarin
Introduction to Cross Platform Natitve Mobile Development with C# and XamarinJames Montemagno
 
Introduction to cross platform natitve mobile development with c# and xamarin
Introduction to cross platform natitve mobile development with c# and xamarinIntroduction to cross platform natitve mobile development with c# and xamarin
Introduction to cross platform natitve mobile development with c# and xamarinJames Montemagno
 
Hybrid Mobile App Development - Xamarin
Hybrid Mobile App Development - XamarinHybrid Mobile App Development - Xamarin
Hybrid Mobile App Development - XamarinDeepu S Nath
 
Xamarin Open House talk - Sela Group - Ofir Makmal
Xamarin Open House talk - Sela Group - Ofir MakmalXamarin Open House talk - Sela Group - Ofir Makmal
Xamarin Open House talk - Sela Group - Ofir MakmalOfir Makmal
 

Semelhante a Xamarin Platform (20)

C# no bolso - desenvolvendo apps multiplataforma
C# no bolso - desenvolvendo apps multiplataformaC# no bolso - desenvolvendo apps multiplataforma
C# no bolso - desenvolvendo apps multiplataforma
 
Deep Dive in Xamarin.Forms
Deep Dive in Xamarin.FormsDeep Dive in Xamarin.Forms
Deep Dive in Xamarin.Forms
 
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
 
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...
 
The Great Mobile Debate: Native vs. Hybrid App Development
The Great Mobile Debate: Native vs. Hybrid App DevelopmentThe Great Mobile Debate: Native vs. Hybrid App Development
The Great Mobile Debate: Native vs. Hybrid App Development
 
Introduction to xamarin
Introduction to xamarinIntroduction to xamarin
Introduction to xamarin
 
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...
 
Introduction to xamarin
Introduction to xamarinIntroduction to xamarin
Introduction to xamarin
 
Xamarin COE by Mukteswar Patnaik
Xamarin COE by Mukteswar PatnaikXamarin COE by Mukteswar Patnaik
Xamarin COE by Mukteswar Patnaik
 
Lecture 08 Xamarin
Lecture 08 XamarinLecture 08 Xamarin
Lecture 08 Xamarin
 
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
 
EastBay.net Building Mobile Apps with Xamarin and Visual Studio
EastBay.net Building Mobile Apps with Xamarin and Visual StudioEastBay.net Building Mobile Apps with Xamarin and Visual Studio
EastBay.net Building Mobile Apps with Xamarin and Visual Studio
 
Going Mobile with C#, Visual Studio, and Xamarin
Going Mobile with C#, Visual Studio, and XamarinGoing Mobile with C#, Visual Studio, and Xamarin
Going Mobile with C#, Visual Studio, and Xamarin
 
Smau Milano 2016 - Erica Barone e Lorenzo Barbieri, Microsoft
Smau Milano 2016 - Erica Barone e Lorenzo Barbieri, MicrosoftSmau Milano 2016 - Erica Barone e Lorenzo Barbieri, Microsoft
Smau Milano 2016 - Erica Barone e Lorenzo Barbieri, Microsoft
 
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
 
Introduction to Cross Platform Natitve Mobile Development with C# and Xamarin
Introduction to Cross Platform Natitve Mobile Development with C# and XamarinIntroduction to Cross Platform Natitve Mobile Development with C# and Xamarin
Introduction to Cross Platform Natitve Mobile Development with C# and Xamarin
 
Introduction to cross platform natitve mobile development with c# and xamarin
Introduction to cross platform natitve mobile development with c# and xamarinIntroduction to cross platform natitve mobile development with c# and xamarin
Introduction to cross platform natitve mobile development with c# and xamarin
 
Xamarin
XamarinXamarin
Xamarin
 
Hybrid Mobile App Development - Xamarin
Hybrid Mobile App Development - XamarinHybrid Mobile App Development - Xamarin
Hybrid Mobile App Development - Xamarin
 
Xamarin Open House talk - Sela Group - Ofir Makmal
Xamarin Open House talk - Sela Group - Ofir MakmalXamarin Open House talk - Sela Group - Ofir Makmal
Xamarin Open House talk - Sela Group - Ofir Makmal
 

Último

Mobile App Penetration Testing Bsides312
Mobile App Penetration Testing Bsides312Mobile App Penetration Testing Bsides312
Mobile App Penetration Testing Bsides312wphillips114
 
Satara Call girl escort *74796//13122* Call me punam call girls 24*7hour avai...
Satara Call girl escort *74796//13122* Call me punam call girls 24*7hour avai...Satara Call girl escort *74796//13122* Call me punam call girls 24*7hour avai...
Satara Call girl escort *74796//13122* Call me punam call girls 24*7hour avai...nishasame66
 
Mobile Application Development-Android and It’s Tools
Mobile Application Development-Android and It’s ToolsMobile Application Development-Android and It’s Tools
Mobile Application Development-Android and It’s ToolsChandrakantDivate1
 
Android Application Components with Implementation & Examples
Android Application Components with Implementation & ExamplesAndroid Application Components with Implementation & Examples
Android Application Components with Implementation & ExamplesChandrakantDivate1
 
Mobile Application Development-Components and Layouts
Mobile Application Development-Components and LayoutsMobile Application Development-Components and Layouts
Mobile Application Development-Components and LayoutsChandrakantDivate1
 

Último (6)

Obat Penggugur Kandungan Di Apotik Kimia Farma (087776558899)
Obat Penggugur Kandungan Di Apotik Kimia Farma (087776558899)Obat Penggugur Kandungan Di Apotik Kimia Farma (087776558899)
Obat Penggugur Kandungan Di Apotik Kimia Farma (087776558899)
 
Mobile App Penetration Testing Bsides312
Mobile App Penetration Testing Bsides312Mobile App Penetration Testing Bsides312
Mobile App Penetration Testing Bsides312
 
Satara Call girl escort *74796//13122* Call me punam call girls 24*7hour avai...
Satara Call girl escort *74796//13122* Call me punam call girls 24*7hour avai...Satara Call girl escort *74796//13122* Call me punam call girls 24*7hour avai...
Satara Call girl escort *74796//13122* Call me punam call girls 24*7hour avai...
 
Mobile Application Development-Android and It’s Tools
Mobile Application Development-Android and It’s ToolsMobile Application Development-Android and It’s Tools
Mobile Application Development-Android and It’s Tools
 
Android Application Components with Implementation & Examples
Android Application Components with Implementation & ExamplesAndroid Application Components with Implementation & Examples
Android Application Components with Implementation & Examples
 
Mobile Application Development-Components and Layouts
Mobile Application Development-Components and LayoutsMobile Application Development-Components and Layouts
Mobile Application Development-Components and Layouts
 

Xamarin Platform

  • 1. The future of apps Rui Marinho Software Engineer The future of apps
  • 2. The future of apps Global Overview MODULES 1 INTROTO XAMARIN 2 IOS DEVELOPMENT USING XAMARIN 3 ANDROID DEVELOPMENT 4 SHARING MORE CODE – XAMARINFORMS 5 UI TESTS 6 INSIGHTS
  • 3. The future of apps 1 - Intro to Xamarin • What’s is Xamarin • Xamarin with Visual Studio • What you require to get started • Demo – Hello Xamarin iOS & Android
  • 4. The future of apps 500+ partners 10,000+ 1.2M customers downloads
  • 5. The future of apps 10,000+ customers, 100+ of the Fortune 500
  • 6. The future of apps Businesses are rapidly appifying The number of enterprise applications optimized for mobility will quadruple by 2016.” “
  • 7. The future of apps Make it fast, easy, and fun to create great mobile apps. Our mission
  • 8. The future of apps Stay current Your priorities when building apps Works EverywhereNative 5-Star App Integration
  • 9. The future of apps Xamarin : the complete mobile lifecycle BUILD TEST MONITOR ACCELERATE
  • 10. The future of apps Train developers for mobile and keep skills current Test any app on 2,000 real devices in the cloud Xamarin: the complete mobile lifecycle Use C# to build native apps for iOS and Android Monitor performance and user behavior in live apps BUILD TEST MONITOR ACCELERATE
  • 11. The future of apps Train developers for mobile and keep skills current Test any app on 2,000 real devices in the cloud Xamarin 4: the complete mobile lifecycle Use C# to build native apps for iOS and Android Monitor performance and user behavior in live apps BUILD TEST MONITOR ACCELERATE BUILD TEST MONITOR ACCELERATE
  • 12. The future of apps Silo Approach iOS WindowsAndroid Objective-C Xcode C# Visual Studio Java Android Studio No shared code • Many languages & development environments • Multiple teams
  • 13. The future of apps Write Once, Run Anywhere App Generator Lua Javascript Actionscript HTML+CSS Limited native API access • Slow performance • Poor user experience
  • 14. The future of apps Xamarin Platform: native UX and shared code Shared App Logic BUILD TEST MONITOR iOS C# UI Android C# UI Windows C# UI Shared App Logic ACCELERATE Shared App Logic Shared UI
  • 15. The future of apps Xamarin’s Unique Approach Shared C# codebase • 100% native API access • High performance iOS C# UI Windows C# UIAndroid C# UI Shared C# Mobile C# Server Linux/Mono CoreCLRAzure Shared C# Client/Server
  • 16. The future of apps Anything you can do in Objective-C, Swift, or Java can be done in C# and Visual Studio with Xamarin.
  • 17. The future of apps 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.
  • 18. The future of apps ✓Always Up-to- Date Same-day support: • iOS 5 • iOS 6 • iOS 7 • iOS 7.1 • iOS 8 • iOS 9 Full support for: • Apple Watch • Google Glass • Android Wear • Amazon Fire TV • and much more
  • 19. The future of apps Xamarin Platform: native apps across platforms
  • 20. The future of appsBUILD TEST MONITOR LEARN Demo
  • 21. The future of apps 2 - IOS DEVELOPMENT USING XAMARIN • How Xamarin.IOS works • Demo – iOS simple app – UITableView and MapKit
  • 22. The future of apps iOS – 100% API Coverage MapKit UIKit iBeacon CoreGraphics CoreMotion System.Data System.Windows System.Numerics System.Core System.ServiceModel System.Net System System.IO System.Linq System.Xml
  • 23. The future of apps Xamarin.IOS Execution Model 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.
  • 24. The future of appsBUILD TEST MONITOR ACCELERATE Demo
  • 25. The future of apps 2 – Recap • How Xamarin.IOS works • IOS App Lifecycle • Using UITableView • Using Storyboards • Using MapKit • Using Segues
  • 26. The future of apps 3 – ANDROID DEVELOPMENT USING XAMARIN • How Xamarin.Android works • Demo – Android simple app – Listview and Maps • Start with code sharing techniques
  • 27. The future of apps Xamarin.Android Execution Model 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.
  • 28. The future of apps Android – 100% API Coverage Text-to-speech ActionBar Printing Framework Renderscript NFC System.Data System.Windows System.Numerics System.Core System.ServiceModel System.Net System System.IO System.Linq System.Xml
  • 29. The future of apps #if Conditional Blocks • Enable / Disable code based on the target platform • Platform specific compilations constants : • _IOS_ • _ANDROID_ • NETFX_CORE • For subtle differences in the API’s
  • 30. The future of apps #if Conditional Blocks
  • 31. The future of apps Partial Classes • Shared Functionality in one code file Ex: DataModel • Platform specific code in another code file Ex: DataModel.IOS • Partial classes are compiled into a single class
  • 32. The future of apps Shared Projects
  • 33. The future of appsBUILD TEST MONITOR ACCELERATE Demo
  • 34. The future of apps 3 – Recap • How Xamarin.Android works • Android App Lifecycle • Using Listview • Using Intents • Using Maps
  • 35. The future of apps 4 – SHARE MORE CODE – XAMARIN FORMS • What’s Xamarin.Forms • Xamarin.Forms Controls • Rebuild App using Xamarin Forms • More code sharing PCL MVVM DI
  • 36. The future of apps Build native UIs for iOS, Android, and Windows Phone from a single, shared C# codebase. Meet Xamarin.Forms
  • 37. The future of apps Xamarin + Xamarin.Forms Traditional Xamarin Approach With Xamarin.Forms: More code-sharing, all native iOS C# UI Windows C# UIAndroid C# UI Shared C# Backend Shared UI Code Shared C# Backend
  • 38. The future of apps What’s included ✓ 40+ Pages, layouts, and controls (Build from code behind or XAML) ✓ Two-way data binding ✓ Navigation ✓ Animation API ✓ Dependency Service ✓ Messaging Center Shared C# Backend Shared UI Code
  • 39. The future of apps • <?xml version="1.0" encoding="UTF-8"?> • <TabbedPage xmlns="http://xamarin.com/schemas/2014/forms" • xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" • x:Class="MyApp.MainPage"> • <TabbedPage.Children> • <ContentPage Title="Profile" Icon="Profile.png"> • <StackLayout Spacing="20" Padding="20" • VerticalOptions="Center"> • <Entry Placeholder="Username" • Text="{Binding Username}"/> • <Entry Placeholder="Password" • Text="{Binding Password}" • IsPassword="true"/> • <Button Text="Login" TextColor="White" • BackgroundColor="#77D065" • Command="{Binding LoginCommand}"/> • </StackLayout> • </ContentPage> • <ContentPage Title="Settings" Icon="Settings.png"> • <!-- Settings --> • </ContentPage> • </TabbedPage.Children> Native UI from shared code
  • 40. The future of apps Layout s Pages Stack Absolute Relative Grid ContentView ScrollView Frame Content MasterDetail Navigation Tabbed Carousel
  • 41. The future of apps ActivityIndicator BoxView Button DatePicker Editor Entry Image Label ListView Map OpenGLView Picker ProgressBar SearchBar Slider Stepper TableView TimePicker WebView EntryCell ImageCell SwitchCell TextCell ViewCell Controls
  • 42. Which Xamarin approach is best for your app? Xamarin.Forms is best for: Xamarin.iOS / Xamarin.Android is best for: • Data entry apps • Prototypes and proofs-of-concept • Apps that require little platform-specific functionality • Apps where code sharing is more important than custom UI Learn more: xamarin.com/forms Learn more: xamarin.com/platform • Apps that require specialized interaction • Apps with highly polished design • Apps that use many platform-specific APIs • Apps where custom UI is more important than code sharing
  • 43. The future of appsBUILD TEST MONITOR ACCELERATE Demo
  • 44. The future of apps 5 – UI Tests
  • 45. The future of apps Train developers for mobile and keep skills current Test any app on 2,000 real devices in the cloud Xamarin 4: the complete mobile lifecycle Use C# to build native apps for iOS and Android Monitor performance and user behavior in live apps BUILD TEST MONITOR ACCELERATE BUILD TEST MONITOR ACCELERATE
  • 46. The future of apps Train developers for mobile and keep skills current Test any app on 2,000 real devices in the cloud Xamarin 4: the complete mobile lifecycle Use C# to build native apps for iOS and Android Monitor performance and user behavior in live apps BUILD TEST MONITOR ACCELERATE BUILD TEST MONITOR ACCELERATE
  • 47. The future of apps Android fragmentation Brand Fragmentation 2012 500 device brands 2015 1,294 device brands
  • 48. The future of apps iOS diversification 3D Touch iPhone 6s series only Apple pencil iPad Pro only Multi Tasking Only select iPads iPads iPod touch iPhones Form factors iOS 9 features
  • 49. The future of apps Xamarin Test Cloud: automated testing on thousands of devices
  • 50. The future of apps What’s new in Xamarin Test Cloud? Integrated with Platform UITest 1.0 BUILD TEST MONITOR Test Recorder ACCELERATE
  • 51. The future of appsBUILD TEST MONITOR Demo ACCELERATE
  • 53. The future of apps “Xamarin Test Cloud has saved us 2,000 monthly manual testing hours.” Steve Robbins, CTO
  • 54. The future of apps 6 – Insights
  • 55. The future of apps Train developers for mobile and keep skills current Test any app on 2,000 real devices in the cloud Xamarin 4: the complete mobile lifecycle Use C# to build native apps for iOS and Android Monitor performance and user behavior in live apps BUILD TEST MONITOR ACCELERATE BUILD TEST MONITOR ACCELERATE
  • 56. The future of apps Train developers for mobile and keep skills current Test any app on 2,000 real devices in the cloud Xamarin 4: the complete mobile lifecycle Use C# to build native apps for iOS and Android Monitor performance and user behavior in live apps BUILD TEST MONITOR ACCELERATE BUILD TEST MONITOR ACCELERATE
  • 57. The future of apps Monitoring your app in real time Is my app crashing? What features are popular? Does it perform well? How many people are using it? What countries are users in?Do users stick with the app? What devices are they using? BUILD TEST MONITOR ACCELERATE
  • 58. The future of apps Introducing Xamarin Insights
  • 59. The future of apps //Crash Report Insights.Report(exception); //Feature Usage Insights.Track(“Splash Page”); //Timed Events Insights.TrackTime(“TimeToSync”); //User Sessions Insights.Identify(“Steve”, user_traits);
  • 60. The future of appsBUILD TEST MONITOR Demo ACCELERATE
  • 61. The future of apps //Crash Report Insights.Report(exception); //Feature Usage Insights.Track(“Splash Page”); //Timed Events Insights.TrackTime(“TimeToSync”); //User Sessions Insights.Identify(“Steve”, user_traits);
  • 62. The future of apps We wouldn’t have caught the bugs as early as we did without Xamarin Insights. No other suppliers offered the kinds of benefits we’ve seen from Xamarin. The ability to trace a user journey so we can see exactly what led up to an issue and receive detailed information about crashes has been tremendously helpful.” “ Yos Noor Head of Research and Innovation reed.co.uk
  • 63. The future of apps Train developers for mobile and keep skills current Test any app on 2,000 real devices in the cloud Xamarin 4: the complete mobile lifecycle Use C# to build native apps for iOS and Android Monitor performance and user behavior in live apps BUILD TEST MONITOR ACCELERATE BUILD TEST MONITOR ACCELERATE
  • 64. The future of apps Train developers for mobile and keep skills current Test any app on 2,000 real devices in the cloud Xamarin 4: the complete mobile lifecycle Use C# to build native apps for iOS and Android Monitor performance and user behavior in live apps BUILD TEST MONITOR ACCELERATE BUILD TEST MONITOR ACCELERATE
  • 65. The future of apps What’s Xamarin University? BUILD TEST MONITOR Reduced renewal pricing Over 60 classes Guest Lectures and office hours Certification: Be recognized for being a mobile and Xamarin expert ACCELERATE
  • 66. The future of apps Train developers for mobile and keep skills current Test any app on 2,000 real devices in the cloud Xamarin : the complete mobile lifecycle Use C# to build native apps for iOS and Android Monitor performance and user behavior in live apps BUILD TEST MONITOR ACCELERATE
  • 67. The future of apps How to buy: a la carte All Xamarin customers get +Free Test Cloud time +Free Insights crash reporting
  • 68. The future of apps Xamarin Ultimate xamarin.com/ultimate BUILD TEST MONITOR ACCELERATE
  • 69. The future of apps evolve.xamarin.com April 24-28 Orlando, FL