SlideShare una empresa de Scribd logo
1 de 46
Cross platform mobile
development with the
power of Xamarin
https://cmatskas.com
@christosmatskas
Christos Matskas
Xamarin is a better way to
Build Test Monitor
Create native iOS, Android, Mac and
Windows apps in Visual Studio and C#
Mobile
Development
Approaches
Silo Approach
Build Apps Multiple Times
• Multiple Teams
• Multiple Code Bases
• Different toolsets
HTML - Write Once, Run Anywhere Approach
• Lowest common denominator
• Browser fragmentation
• Developing & designing for 1
platform, happen to get other
platforms
Xamarin’s Unique Approach
• Native User Interface
• Native Performance
• Shared code across
platforms
• C# & .NET Framework
• Full API Coverage
With Xamarin.Forms:
more code-sharing, native controls
Traditional Xamarin approach
Shared UI Code
Xamarin.Forms Unique Approach
Why C#?
C# is Awesome
• LINQ Support
• Work With XML Easily XDocument
• Event Handling & Delegates
C# with XamarinObjective-C
See the Difference – Classes and Methods
C# with Xamarin
Objective-C
Simplifying Native Methods with Async/Await
C# with XamarinJava
C# & Async with Xamarin
See the Difference– Android ItemClick
Write Everything in C#
C# Runs on 2.5 Billion Devices
How
Xamarin
Works
.NET + Windows APIs
.NET + iOS APIs | 100% Coverage
.NET Android APIs | 100% Coverage
Anything you can do in Objective-C, Swift, or Java
can be done in C# with Xamarin using Visual Studio
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.
Always Up-to-Date
Track record of offering
same-day support:
iOS 5, iOS 6, iOS 7, iOS 7.1, iOS 8
Full support for:
• Google Glass
• Android Wear
• Amazon Fire TV
• More!
Code Sharing: Accelerate Development
• Up to 90% Code Reuse
• Leverage existing libraries
– NuGet Support
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
• 1 Assembly
• Multiple Platforms
• Including:
• Xamarin.Android
• Xamarin.iOS
Portable Class Libraries
NuGet
Shared Projects
Xamarin Studio
PC or Mac
Visual Studio Plugin
VS 2010 and Higher
Development Environment
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
Visual Studio Integration
Debug to:
• Emulators
• Devices
Integrated into toolbar
• Status
• Logs
• List of devices
Just Click Start Debugging!
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
Android Designer
• World’s 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
Xamarin Designer for iOS
• World’s first iOS Designer
available in Xamarin Studio
and Visual Studio
• Follows familiar Visual Studio
designer idioms
• Supports all UIKit elements
• Edit custom and 3rd party
components
• Live preview of changes to
properties
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
integrations are just a few
clicks away
Xamarin Android Player
High Speed Android Emulator
• Mac or PC
• Runs side-by-side Windows
Phone Emulator
Free for Xamarin Subscribers:
• Xamarin.com/Android-Player
 40+ Pages, Layouts, and Controls
 Build from code behind or XAML
 Two-way Data Binding
 Navigation
 Animation API
 Dependency Service
 Messaging Center
Shared UI Code
What’s Included
Content MasterDetail Navigation Tabbed Carousel
Pages
Stack Absolute Relative Grid ContentView ScrollView Frame
Layouts
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
Use a single API to generate native, platform-
specific user interfaces
At runtime, each Xamarin.Forms page and its
controls are mapped to platform-specific
native user interface elements
Xamarin.Forms Example
Embed Custom Views Anywhere
Not only are Xamarin.Forms pages
mixable with custom screens, you
can embed custom views built
directly against Xamarin.iOS and
Xamarin.Android into
Xamarin.Forms pages.
Call Platform APIs via Shared
Services
Need platform-specific functionality
within a Xamarin.Forms page, such
as querying the accelerometer?
We’ve included services that quickly
and easily abstract platform-specific
API calls to keep you writing as much
shared code as possible.
Easy migration to the Xamarin
Platform
When your native platform integration
requirements outgrow Xamarin.Forms,
your shared code is easily migrated to
Xamarin.iOS and Xamarin.Android using
the full Xamarin platform.
Extensibility
Demo
• Create Automated User
Interface tests all in C#
• Upload to the Test Cloud or
run against a Device or
Simulator
• Run directly from Visual Studio
or Xamarin Studio
• Exposed via a NuGet Package
• Free to use a Simulator*
Test Cloud + UITest
Real-time monitoring. Track crashes and exceptions to
understand what is happening with live users.
Report
• Automatically report
any uncaught
managed or native
exception.
• Report your own
caught exceptions with
simple cross-platform
API
Track
• Track any event that
occurs in your
application.
• Even track performance
of how long an
operation takes.
Xamarin.Forms Controls
blog.xamarin.com/enterprise-
component-vendors-join-
xamarin.forms-ecosystem/

Más contenido relacionado

La actualidad más candente

La actualidad más candente (20)

Introduction to flutter
Introduction to flutter Introduction to flutter
Introduction to flutter
 
Flutter latest updates and features 2022
Flutter latest updates and features 2022Flutter latest updates and features 2022
Flutter latest updates and features 2022
 
Flutter workshop
Flutter workshopFlutter workshop
Flutter workshop
 
Dart programming language
Dart programming languageDart programming language
Dart programming language
 
Development of Mobile Application -PPT
Development of Mobile Application -PPTDevelopment of Mobile Application -PPT
Development of Mobile Application -PPT
 
Firebase PPT
Firebase PPTFirebase PPT
Firebase PPT
 
Dart ppt
Dart pptDart ppt
Dart ppt
 
Introduction to VoiceXml and Voice Web Architecture
Introduction to VoiceXml and Voice Web ArchitectureIntroduction to VoiceXml and Voice Web Architecture
Introduction to VoiceXml and Voice Web Architecture
 
Flutter
FlutterFlutter
Flutter
 
Flutter introduction
Flutter introductionFlutter introduction
Flutter introduction
 
Different types of mobile apps
Different types of mobile appsDifferent types of mobile apps
Different types of mobile apps
 
Container Security Using Microsoft Defender
Container Security Using Microsoft DefenderContainer Security Using Microsoft Defender
Container Security Using Microsoft Defender
 
Mobile Application Development
Mobile Application DevelopmentMobile Application Development
Mobile Application Development
 
Top 10 programming languages for mobile app development
Top 10 programming languages for mobile app developmentTop 10 programming languages for mobile app development
Top 10 programming languages for mobile app development
 
Write an application that draws basic graphical primitives.pptx
Write an application that draws basic graphical primitives.pptxWrite an application that draws basic graphical primitives.pptx
Write an application that draws basic graphical primitives.pptx
 
What is Flutter
What is FlutterWhat is Flutter
What is Flutter
 
Android Web app
Android Web app Android Web app
Android Web app
 
Apple iOS
Apple iOSApple iOS
Apple iOS
 
Building beautiful apps with Google flutter
Building beautiful apps with Google flutterBuilding beautiful apps with Google flutter
Building beautiful apps with Google flutter
 
Android studio installation
Android studio installationAndroid studio installation
Android studio installation
 

Destacado

Cross platform mobile development with C#
Cross platform mobile development with C#Cross platform mobile development with C#
Cross platform mobile development with C#
chriskoiak
 
Introduction to Xamarin Development
Introduction to Xamarin DevelopmentIntroduction to Xamarin Development
Introduction to Xamarin Development
Isham Mohamed Iqbal
 

Destacado (20)

Introduction to Xamarin 2.0
Introduction to Xamarin 2.0Introduction to Xamarin 2.0
Introduction to Xamarin 2.0
 
Xamarin.Forms
Xamarin.FormsXamarin.Forms
Xamarin.Forms
 
Intro to Xamarin
Intro to XamarinIntro to Xamarin
Intro to Xamarin
 
Introduction to Xamarin.Forms
Introduction to Xamarin.FormsIntroduction to Xamarin.Forms
Introduction to Xamarin.Forms
 
Cross platform mobile development with C#
Cross platform mobile development with C#Cross platform mobile development with C#
Cross platform mobile development with C#
 
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
 
Building Your First Android App with Xamarin
Building Your First Android App with XamarinBuilding Your First Android App with Xamarin
Building Your First Android App with Xamarin
 
What's new in Xamarin.Forms?
What's new in Xamarin.Forms?What's new in Xamarin.Forms?
What's new in Xamarin.Forms?
 
Wearables with C# and Xamarin
Wearables with C# and XamarinWearables with C# and Xamarin
Wearables with C# and Xamarin
 
.Net anywhere
.Net anywhere.Net anywhere
.Net anywhere
 
Xamarin Forms
Xamarin FormsXamarin Forms
Xamarin Forms
 
Xamarin forms en el mundo real
Xamarin forms en el mundo realXamarin forms en el mundo real
Xamarin forms en el mundo real
 
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
 
Native cross-platform mobile apps with C# and Xamarin.Forms
Native cross-platform mobile apps with C# and Xamarin.FormsNative cross-platform mobile apps with C# and Xamarin.Forms
Native cross-platform mobile apps with C# and Xamarin.Forms
 
Introducción a xamarin
Introducción a xamarinIntroducción a xamarin
Introducción a xamarin
 
Navigation in Xamarin.Forms
Navigation in Xamarin.FormsNavigation in Xamarin.Forms
Navigation in Xamarin.Forms
 
Introduction to Xamarin Development
Introduction to Xamarin DevelopmentIntroduction to Xamarin Development
Introduction to Xamarin Development
 
Your First Xamarin.Forms App
Your First Xamarin.Forms AppYour First Xamarin.Forms App
Your First Xamarin.Forms App
 
Cross-platform Mobile Development
Cross-platform Mobile DevelopmentCross-platform Mobile Development
Cross-platform Mobile Development
 
Codemotion 2015: UI Tests, Test Cloud y CI con Apps Xamarin
Codemotion 2015: UI Tests, Test Cloud y CI con Apps XamarinCodemotion 2015: UI Tests, Test Cloud y CI con Apps Xamarin
Codemotion 2015: UI Tests, Test Cloud y CI con Apps Xamarin
 

Similar a Introduction to xamarin

Mobile Cross-Platform App Development in C# with Xamarin
Mobile Cross-Platform App Development in C# with XamarinMobile Cross-Platform App Development in C# with Xamarin
Mobile Cross-Platform App Development in C# with Xamarin
Nick Landry
 
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
 

Similar a Introduction to xamarin (20)

Introduction to Xamarin
Introduction to XamarinIntroduction to Xamarin
Introduction to Xamarin
 
Mobile Cross-Platform App Development in C# with Xamarin
Mobile Cross-Platform App Development in C# with XamarinMobile Cross-Platform App Development in C# with Xamarin
Mobile Cross-Platform App Development in C# with Xamarin
 
Xamarin.Forms - Your Complete Mobile Solution
Xamarin.Forms - Your Complete Mobile SolutionXamarin.Forms - Your Complete Mobile Solution
Xamarin.Forms - Your Complete Mobile Solution
 
Introduction to xamarin
Introduction to xamarinIntroduction to xamarin
Introduction to xamarin
 
Cross platform mobile development with xamarin and office 365
Cross platform mobile development with xamarin and office 365Cross platform mobile development with xamarin and office 365
Cross platform mobile development with xamarin and office 365
 
Lecture 08 Xamarin
Lecture 08 XamarinLecture 08 Xamarin
Lecture 08 Xamarin
 
C# no bolso - desenvolvendo apps multiplataforma
C# no bolso - desenvolvendo apps multiplataformaC# no bolso - desenvolvendo apps multiplataforma
C# no bolso - desenvolvendo apps multiplataforma
 
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...
 
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
 
Introduction to xamarin
Introduction to xamarinIntroduction to xamarin
Introduction to xamarin
 
Introduction to Xamarin
Introduction to XamarinIntroduction to Xamarin
Introduction to Xamarin
 
Introduction to xamarin
Introduction to xamarin  Introduction to xamarin
Introduction to xamarin
 
Hybrid Mobile App Development - Xamarin
Hybrid Mobile App Development - XamarinHybrid Mobile App Development - Xamarin
Hybrid Mobile App Development - Xamarin
 
Deep Dive in Xamarin.Forms
Deep Dive in Xamarin.FormsDeep Dive in Xamarin.Forms
Deep Dive in Xamarin.Forms
 
Xamarin Platform
Xamarin PlatformXamarin Platform
Xamarin Platform
 
Cross platform app development with xamarin.forms
Cross platform app development with xamarin.formsCross platform app development with xamarin.forms
Cross platform app development with xamarin.forms
 
Cross platform app dev with xamarin forms
Cross platform app dev with xamarin formsCross platform app dev with xamarin forms
Cross platform app dev with xamarin forms
 
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
 
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
 

Más de Christos Matskas

Más de Christos Matskas (20)

Introduction to the Microsoft identity platform for developers
Introduction to the Microsoft identity platform for developersIntroduction to the Microsoft identity platform for developers
Introduction to the Microsoft identity platform for developers
 
Secure and scalable apps with .net and azure
Secure and scalable apps with .net and azureSecure and scalable apps with .net and azure
Secure and scalable apps with .net and azure
 
Azure Managed Identities and service principals
Azure Managed Identities and service principalsAzure Managed Identities and service principals
Azure Managed Identities and service principals
 
Scalable APIs with Azure Functions
Scalable APIs with Azure FunctionsScalable APIs with Azure Functions
Scalable APIs with Azure Functions
 
0 to hero with Azure DevOps
0 to hero with Azure DevOps0 to hero with Azure DevOps
0 to hero with Azure DevOps
 
Serverless architecture with Azure
Serverless architecture with AzureServerless architecture with Azure
Serverless architecture with Azure
 
Extreme microservices with Azure Functions
Extreme microservices with Azure FunctionsExtreme microservices with Azure Functions
Extreme microservices with Azure Functions
 
Serverless on Azure with Functions
Serverless on Azure with FunctionsServerless on Azure with Functions
Serverless on Azure with Functions
 
Serverless with azure functions the rebel service
Serverless with azure functions   the rebel serviceServerless with azure functions   the rebel service
Serverless with azure functions the rebel service
 
Becoming an awesome Open Source contributor and maintainer
Becoming an awesome Open Source contributor and maintainerBecoming an awesome Open Source contributor and maintainer
Becoming an awesome Open Source contributor and maintainer
 
Visual Studio Code and JavaScript - a pair made in heaven
Visual Studio Code and JavaScript - a pair made in heavenVisual Studio Code and JavaScript - a pair made in heaven
Visual Studio Code and JavaScript - a pair made in heaven
 
Serverless in Azure with Functions
Serverless in Azure with FunctionsServerless in Azure with Functions
Serverless in Azure with Functions
 
Going Serverless with Azure Functions
Going Serverless with Azure FunctionsGoing Serverless with Azure Functions
Going Serverless with Azure Functions
 
Universal windows platform - Application development done right
Universal windows platform - Application development done rightUniversal windows platform - Application development done right
Universal windows platform - Application development done right
 
How to become an awesome oss
How to become an awesome ossHow to become an awesome oss
How to become an awesome oss
 
TypeScript - Your regular JavaScript on steroids
TypeScript - Your regular JavaScript on steroidsTypeScript - Your regular JavaScript on steroids
TypeScript - Your regular JavaScript on steroids
 
How to become an awesome Open Source contributor
How to become an awesome Open Source contributorHow to become an awesome Open Source contributor
How to become an awesome Open Source contributor
 
IoT fun with Raspberry Pi and .NET
IoT fun with Raspberry Pi and .NETIoT fun with Raspberry Pi and .NET
IoT fun with Raspberry Pi and .NET
 
Mobile application architecture
Mobile application architectureMobile application architecture
Mobile application architecture
 
Visual Studio 2015 - Productivity tips & tricks
Visual Studio 2015 -  Productivity tips & tricksVisual Studio 2015 -  Productivity tips & tricks
Visual Studio 2015 - Productivity tips & tricks
 

Último

CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM TechniquesAI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
VictorSzoltysek
 
TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service provider
mohitmore19
 
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdfintroduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
VishalKumarJha10
 

Último (20)

CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
 
Optimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVOptimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTV
 
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfThe Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
 
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
 
Software Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsSoftware Quality Assurance Interview Questions
Software Quality Assurance Interview Questions
 
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM TechniquesAI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
 
TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service provider
 
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
 
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
 
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdfintroduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
 
Define the academic and professional writing..pdf
Define the academic and professional writing..pdfDefine the academic and professional writing..pdf
Define the academic and professional writing..pdf
 
10 Trends Likely to Shape Enterprise Technology in 2024
10 Trends Likely to Shape Enterprise Technology in 202410 Trends Likely to Shape Enterprise Technology in 2024
10 Trends Likely to Shape Enterprise Technology in 2024
 
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsUnveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
 
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerHow To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
 
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS LiveVip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
 
Azure_Native_Qumulo_High_Performance_Compute_Benchmarks.pdf
Azure_Native_Qumulo_High_Performance_Compute_Benchmarks.pdfAzure_Native_Qumulo_High_Performance_Compute_Benchmarks.pdf
Azure_Native_Qumulo_High_Performance_Compute_Benchmarks.pdf
 
Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial Goals
 
Diamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with PrecisionDiamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with Precision
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
 

Introduction to xamarin

  • 1. Cross platform mobile development with the power of Xamarin https://cmatskas.com @christosmatskas Christos Matskas
  • 2. Xamarin is a better way to Build Test Monitor
  • 3. Create native iOS, Android, Mac and Windows apps in Visual Studio and C#
  • 5. Silo Approach Build Apps Multiple Times • Multiple Teams • Multiple Code Bases • Different toolsets
  • 6. HTML - Write Once, Run Anywhere Approach • Lowest common denominator • Browser fragmentation • Developing & designing for 1 platform, happen to get other platforms
  • 7. Xamarin’s Unique Approach • Native User Interface • Native Performance • Shared code across platforms • C# & .NET Framework • Full API Coverage
  • 8. With Xamarin.Forms: more code-sharing, native controls Traditional Xamarin approach Shared UI Code Xamarin.Forms Unique Approach
  • 10. C# is Awesome • LINQ Support • Work With XML Easily XDocument • Event Handling & Delegates
  • 11. C# with XamarinObjective-C See the Difference – Classes and Methods
  • 12. C# with Xamarin Objective-C Simplifying Native Methods with Async/Await
  • 13. C# with XamarinJava C# & Async with Xamarin See the Difference– Android ItemClick
  • 14. Write Everything in C# C# Runs on 2.5 Billion Devices
  • 17. .NET + iOS APIs | 100% Coverage
  • 18. .NET Android APIs | 100% Coverage
  • 19. Anything you can do in Objective-C, Swift, or Java can be done in C# with Xamarin using Visual Studio
  • 20. 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.
  • 21. Always Up-to-Date Track record of offering same-day support: iOS 5, iOS 6, iOS 7, iOS 7.1, iOS 8 Full support for: • Google Glass • Android Wear • Amazon Fire TV • More!
  • 22. Code Sharing: Accelerate Development • Up to 90% Code Reuse • Leverage existing libraries – NuGet Support 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
  • 23. • 1 Assembly • Multiple Platforms • Including: • Xamarin.Android • Xamarin.iOS Portable Class Libraries
  • 24. NuGet
  • 26. Xamarin Studio PC or Mac Visual Studio Plugin VS 2010 and Higher Development Environment
  • 27. 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
  • 28. Visual Studio Integration Debug to: • Emulators • Devices Integrated into toolbar • Status • Logs • List of devices Just Click Start Debugging!
  • 29. 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
  • 30. Android Designer • World’s 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
  • 31. Xamarin Designer for iOS • World’s first iOS Designer available in Xamarin Studio and Visual Studio • Follows familiar Visual Studio designer idioms • Supports all UIKit elements • Edit custom and 3rd party components • Live preview of changes to properties
  • 32. 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 integrations are just a few clicks away
  • 33. Xamarin Android Player High Speed Android Emulator • Mac or PC • Runs side-by-side Windows Phone Emulator Free for Xamarin Subscribers: • Xamarin.com/Android-Player
  • 34.  40+ Pages, Layouts, and Controls  Build from code behind or XAML  Two-way Data Binding  Navigation  Animation API  Dependency Service  Messaging Center Shared UI Code What’s Included
  • 35. Content MasterDetail Navigation Tabbed Carousel Pages
  • 36. Stack Absolute Relative Grid ContentView ScrollView Frame Layouts
  • 37. 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
  • 38. Use a single API to generate native, platform- specific user interfaces At runtime, each Xamarin.Forms page and its controls are mapped to platform-specific native user interface elements Xamarin.Forms Example
  • 39. Embed Custom Views Anywhere Not only are Xamarin.Forms pages mixable with custom screens, you can embed custom views built directly against Xamarin.iOS and Xamarin.Android into Xamarin.Forms pages. Call Platform APIs via Shared Services Need platform-specific functionality within a Xamarin.Forms page, such as querying the accelerometer? We’ve included services that quickly and easily abstract platform-specific API calls to keep you writing as much shared code as possible. Easy migration to the Xamarin Platform When your native platform integration requirements outgrow Xamarin.Forms, your shared code is easily migrated to Xamarin.iOS and Xamarin.Android using the full Xamarin platform. Extensibility
  • 40. Demo
  • 41.
  • 42. • Create Automated User Interface tests all in C# • Upload to the Test Cloud or run against a Device or Simulator • Run directly from Visual Studio or Xamarin Studio • Exposed via a NuGet Package • Free to use a Simulator* Test Cloud + UITest
  • 43. Real-time monitoring. Track crashes and exceptions to understand what is happening with live users.
  • 44. Report • Automatically report any uncaught managed or native exception. • Report your own caught exceptions with simple cross-platform API
  • 45. Track • Track any event that occurs in your application. • Even track performance of how long an operation takes.

Notas del editor

  1. Albert Einstin said: “You have to learn the rules of the game. And then you have to play better than anyone else”. Xamarin gives the set of tools that allows you to play better than everyone else. Today we are going to discuss about how to get started with Xamarin in order to create cross platform applications. If there is one thing that you take from here today, it should be how easy it is to create mobile apps.
  2. Multiple Teams Multiple Code Bases Expensive & Slow Positive = Great apps delivered to user’s platform Negative = Development hampered by multiple code bases & fragmentation
  3. Unhappy Users Unhappy Developers Increase in Abandoned Apps Limited to what is implemented PhoneGap, Cordova, Telerik Platform Silver (swift)
  4. UI build natively per platform, leveraging C# C# + XAML C# + XML C# + XIB One shared app logic code base, iOS, Android, Mac, Windows Phone, Windows Store, Windows
  5. Xamarin recently introduced Xamarin.Forms a new library for cross platform user interface. We will touch up on this later, but this enables you to be highly productive, share code, but build out UI on each platform and access platform APIs. With Xamarin.Forms you now have a nice Shared UI Code layer, but still access to platform APIs You can start from native, pick a few screens, or start with forms, and replace with native later
  6. Let’s talk a bit about C# and why it is awesome.
  7. Statically typed so you avoid a pitfall of errors that afflict other languages. Use LINQ in your Xamarin projects to query, filter and select data from in-memory arrays, or from databases such as SQLite. Parsing XML is easy Great for working with JSON Setting up event handling is a breeze Intellisense, lambdas, etc. are all awesome.
  8. Here is an example of creating a class with a method to get names 1 Line with LINQ to execute this command Take advantage of C# features and set properties easily
  9. With Xamarin we even extend native methods with C# Features Here there is no need for a callback block, simply await on the animation to finish before continuing on
  10. Here we can see how easy it is just to do a += for an event and not have to implement a bunch of listeners every time. Easy to read, string.Format, using args, etc. In fact we can make this call Async/Await by just adding async to the delegate!
  11. If you have ever developed for a Windows Platform before these .NET namespaces might look familiar. However, if we go to a new platform such as Windows Phone or Store we have a new SDK to use and a new set of namespaces.
  12. You can think of iOS and Android development the same with Xamarin. You can see we have all of our .NET namespaces and libraries, but Xamarin give us 100% api coverage of each iOS API in it’s SDK that we access view C#.
  13. The same is true for Android as well.
  14. There is no compromise on performance. Xamarin apps look and feel native because they are native.
  15. Apple has a developer preview where Xamarin has alphas ready. Google does not offer this. Android versions are usually 4 to 8 weeks out for a stable release, but alphas and betas are usually earlier. Xamarin realizes how important having iOS ready because within 24 hours a large portion of iOS users upgrade Android on the other hand is much different. After 4 months on the market Android 4.4 only had 1% adoption
  16. iCircuit is made by Frank Krueger, a long time Mono & Xamarin developer. Sharing code lead to 70 to 90% code reuse across platforms speeding up development Real-time circuit simulator and editor used to design analog and digital circuits http://praeclarum.org/post/42378027611/icircuit-code-reuse-part-cinq
  17. Portable Class Libraries are awesome! You can write all of your C# code in one assembly and share across all platforms Before the Xamarin & Microsoft Partnership PCLs were limited ONLY to Windows Platforms Now add official support to create and use PCLs in Visual Studio and Xamarin Sudio
  18. Xamarin Studio PC -> Android Mac -> iOS, Android, Mac Visual Studio: iOS, Android Windows
  19. Additionally Supports Visual Studio 2010, 2012, & of course 2013 Additionally support desktop apps on Windows: WPF, ASP.NET, Silverlight, WinForms! The same Solution & Projects open in BOTH Xamarin Studio and Visual Studio!
  20. Connect to Mac build host for iOS development Show list of all iOS devices and Simulators to debug on Shows all Android devices and emulators X86, Arm, Genymotion.. Take advantage of all debugging power of VS
  21. Xamarin Studio is available for Android development on the PC. Xamarin Studio on Mac offers: Android, iOS and Mac development World Class IDE with great features: Code Analysis Upload to Test Flight Git & Subversion Integration Code Completion Code Navigation Easy transition from Visual Studio The same Solution & Projects open in BOTH Xamarin Studio and Visual Studio!
  22. State of the art features: View different Themes View different device sizes Multi-view editing!
  23. Add high quality pre-built app components directly from Visual Studio. Includes dozens of beautiful UI controls and web services – adding a theme or a 3rd party library is just a few clicks away Complements existing .NET NuGet ecosystem Differentiator: focus on UI controls and themes – we are making developers better designers across all platforms
  24. Xamarin Android Player runs on Mac or PC and is built natively on each platform with Xamarin.Mac and WPF. On PC you will have no issues running the Xamarin Android Player if Hyper-V is enabled as you can run it side-by-side with no issues.
  25. Xamarin.Forms is much more that just a framework and includes everything you need to get up and running to build out full native applications. If you are used to MVVM type of development you will feel right at home.
  26. First you have a set of pages for each screen of your application There are things like Content, and MasterDetail which gives you a nice flyout With a tabbed view you get the correct look on each platform iOS on bottom, Android on top, and on WP you have a Pivot control
  27. Inside of a page are layouts A lot of options from something simple like a stack panel to complex and powerful grids
  28. You have more than 40 controls, layouts, and pages to mix and match from. These are all of the controls you have out of the box, you can of course create your own. What is unique is you get the native control and have access to it. Consider an Entry Field On iOS it is mapped to UITextField Android it is EditText Windows Phoneit is a TextBox
  29. Here is an example of Xamarin.Forms in action using C# in the code behind to create a login screen. You can see how each is rendered with the native controls on iOS, Android, and Windows Phone.
  30. Xamarin.Forms is extremely extensible as well allowing you to customize controls or add your own. You can always get down and call platform specific APIs, so you aren’t limited in any way.
  31. Demo time if so desired
  32. Looking at just a few of the screen sizes of Samsung devices you couldn’t even fit all of them on the screen, so how do you handle this problem?
  33. Xamarin UITest is a framework that ties in directly to the Nunit testing framework to write the UI tests. You can even run them directly against a simulator for free to do regression tests on your applications.
  34. Several enterprise component vendors announced their support for Xamarin.Forms. Enabling developers to use beautiful charts, grids, and other controls from their shared C# code.