SlideShare a Scribd company logo
1 of 33
An Introduction to
     Mono for Android 4.0
Cross-Platform Mobile App Development
            Targeting Android



          http://xamarin.com/
Introducing Mono for Android 4.0 from
              Xamarin
  1.   Who is Xamarin?
  2.   MonoTouch and Mono for Android Overview
  3.   Mono for Android 4.0
  4.   Differentiators
  5.   Customers & Case Studies
  6.   Summing Up

  More Info: http://xamarin.com/


                  Copyright 2012 © Xamarin Inc., All rights reserved
Xamarin Company Snapshot
 Founded in 2011 with the mission to make it fast, easy and fun to build great mobile
  apps.
 Xamarin’s products:
  MonoTouch, Mono for Android
  Simplify creation, maintenance and operation of high-performance, cross-platform,
    native UX mobile applications
  Phones, tablets and embedded devices - iOS, Android and Windows
 Xamarin stewards the Mono project: open source, cross-platform implementation of
  C# / .NET framework
 Unique, customer-proven technology:
  500 developers download/day on average
  Enterprise: 3M, Medtronic, Target, TIBCO, etc.
  Consumer: AOL, iCircuit, Monster, Rdio, etc.
  Consultants / SIs: Accenture, ITR Mobility, etc.

                           Copyright 2012 © Xamarin Inc., All rights reserved
MONOTOUCH AND MONO FOR
ANDROID
MonoTouch and Mono for Android




         Copyright 2012 © Xamarin Inc., All rights reserved
Native API Access - Android
4,000 C# classes
     1:1 mapping to native
     Java libraries                                  User Code
     OpenGL
     Android C Libraries                          C# Android.*           OpenTK   System.*
Projected into C#
     Strongly typed
                                                                          OpenGL
     Enumerations                              Java
                                              Android.*
                                                                  C
                                                              Libraries
                                                                           and     Unix APIs
                                                                          OpenAL
     C# Events/Properties
     Surface Lambdas

                    Copyright 2012 © Xamarin Inc., All rights reserved
Native API Access - iOS
1,700 C# classes
     1:1 mapping to native
     Objective-C libraries                           User Code
     CoreFoundation
     iOS C libraries                              MonoTouch.*            OpenTK   System.*
Projected into C#
   Strongly typed
                                                                          OpenGL
   C# Events/Properties                        ObjC
                                              Libraries
                                                                  C
                                                              Libraries
                                                                           and     Unix APIs
                                                                          OpenAL
   Surface Lambdas


                    Copyright 2012 © Xamarin Inc., All rights reserved
Mono on Mobile
C# and .NET class libraries on Mobile Devices
   Garbage Collection
   Strongly typed objects
   High performance

Strong Typing:
   Code-Completion helps explore APIs from the IDE
   Alerts developer of errors during compilation,
    instead of failing for users at run time

                Copyright 2012 © Xamarin Inc., All rights reserved
Xamarin.* APIs

                                Xamarin Mobile




                                                                                      Notifications
                  GeoLocation




                                                                                                      Reporting
                                          Photos +
    Contacts




                                                                Audio
                                           Video




                                                                                                        Crash
    Most of the differentiation happens in the UI
    Some platform APIs do not bring much value (sometimes they’re not great APIs)
    Xamarin.Mobile is an extra layer to isolate developers from the platform.



                                 Copyright 2012 © Xamarin Inc., All rights reserved
Xamarin Cross-Platform Apps




       Copyright 2012 © Xamarin Inc., All rights reserved
Apps Showcase: http://xamarin.com/apps




            Copyright 2012 © Xamarin Inc., All rights reserved
MONO FOR ANDROID 4.0
Mono for Android 4.0 – Key Features
Ice Cream Sandwich
 features support
Faster builds
Smaller app footprints
Google Maps integration
Visual Studio integration
Faster Installer than with
 Java


                 Copyright 2012 © Xamarin Inc., All rights reserved
Mono for Android 4.0 – ICS Features
 Updated User Interface
   – GridLayout – Supports 2D grid layout of
     controls
   – Switch widget – Allows toggling between ON
     or OFF
   – TextureView – Enables video and OpenGL
     content within a view
   – Navigation Bar – Contains virtual buttons for
     back, home, and multi-tasking
 Better Hardware Acceleration
   – 2D rendering now takes place on the GPU for
     all Android controls. Additionally, hardware
     acceleration is on, by default, in all
     applications developed for Android 4.0.

  More
   Infohttp://docs.xamarin.com/android/tutorials/Intro
   duction_to_Ice_Cream_Sandwich
                          Copyright 2012 © Xamarin Inc., All rights reserved
Mono for Android 4.0 – ICS Features
 New Data APIs
   – New access to data that was not previously
     officially accessible, such as calendar data and
     the user profile of the device owner.
 App Data Sharing
   – Sharing data between applications and
     devices now easier
        • ShareActionProvider: makes it easy to create a
          sharing action from an Action Bar
        • Android Beam for Near Field Communications
          (NFC): makes it a snap to share data across
          devices in close proximity to each other

  More
   Infohttp://docs.xamarin.com/android/tutorials/Intro
   duction_to_Ice_Cream_Sandwich



                          Copyright 2012 © Xamarin Inc., All rights reserved
Mono for Android 4.0 – Faster Builds
Builds are 40% faster
     – Less time waiting
     – More time creating awesome
       apps

    More Info: Introduction to ICS with Mono for Android 4.0 Documentation-
     http://docs.xamarin.com/android/tutorials/Introduction_to_Ice_Cream_Sandwi
     ch




                                    Copyright 2012 © Xamarin Inc., All rights reserved
Mono for Android 4.0 – Smaller App
                 Footprint
 Executables up to 70% smaller
     – App users spend less time downloading

 Efficient Linking Process
     – Examines your app and, during Base Class
       Library (BCL) assemblies, removes any
       components that are not directly used
           • For example, a whole namespace in System.dll is
             for sending and receiving email, but if your
             application does not use of this functionality, that
             code is just wasting space, and removed.

 Efficient package deployment during debug
  and release stages of development

    More Info:
     http://docs.xamarin.com/android/tutorials/Application_Package_Sizes


                                     Copyright 2012 © Xamarin Inc., All rights reserved
Mono for Android 4.0 – Google Maps
            Integration
Newly Bound Google Maps
 APIs
    – Mono.Android.GoogleMaps.dll
      assembly allows use of the
      Google Maps API from C#



   More Info: Introduction to ICS with Mono for Android 4.0 Documentation-
    http://docs.xamarin.com/android/tutorials/Introduction_to_Ice_Cream_Sandwi
    ch



                                   Copyright 2012 © Xamarin Inc., All rights reserved
Mono for Android 4.0 – Visual Studio
            Integration
Mono for Android works with
 Visual Studio
    – You don’t have to change IDE
    – Or use Xamarin full-featured
      MonoDevelop IDE

   More Info: Introduction to ICS with Mono for Android 4.0 Documentation-
    http://docs.xamarin.com/android/tutorials/Introduction_to_Ice_Cream_Sandwi
    ch




                                   Copyright 2012 © Xamarin Inc., All rights reserved
Mono for Android 4.0 – Easier, Faster
               Installer
 Mono for Android installer will have you up
  and running with just a few clicks

 Takes the pain out of setting up an Android
  development environment
     – Combines all the required components into a
       single, unified installation experience, as
       opposed to the myriad of installs required for
       Java-based Android development


    More Info: Introduction to ICS with Mono for Android 4.0 Documentation-
     http://docs.xamarin.com/android/tutorials/Introduction_to_Ice_Cream_Sandwi
     ch




                                    Copyright 2012 © Xamarin Inc., All rights reserved
Mono for Android – Additional
                Capabilities
 Hundreds of customer requested
  enhancements that make it
  easier to develop great Android
  apps

 A full listing of new features and
  capabilities can be viewed from
  here: http://blog.xamarin.com/




                    Copyright 2012 © Xamarin Inc., All rights reserved
MONO FOR ANDROID
DIFFERENTIATORS
Differentiators
Harness the full power of
 C# and .NET.
Use Visual Studio to create
 Android apps
Write shorter, simpler, and
 more maintainable code
Use features like LINQ,
 anonymous types,
 lambdas and more


                Copyright 2012 © Xamarin Inc., All rights reserved
CUSTOMERS & CASE STUDIES
Xamarin Customers
600+ new developers each day
Amazing apps: http://xamarin.com/apps




               Copyright 2012 © Xamarin Inc., All rights reserved
Xamarin Customers
Rdio - Listen to millions of
songs ad-free, mobile

 Problem:
    Supporting 4 platforms
       required 4
       codebases, adding
       features 4 times, chasing
       bugs 4 times
 Solution: Xamarin cross-
  platform mobile app
  development software
 “We’ve saved thousands of hours
                 of engineering.”
                    Todd Berman
                   VP Engineering © Xamarin Inc., All rights reserved
                         Copyright 2012
Xamarin Customers

Medtronic
mStar Application

 Integrate to back-end systems
 Sales orders
 Product registration


“The mStar application automates
manual processes and makes them
      available 24/7 for the reps”
                         Jeff Bipes,
         IT Manager, Field Services

                          Copyright 2012 © Xamarin Inc., All rights reserved
Xamarin Customers
RESCO - Mobile CRM for
Microsoft Dynamics
 Fully customizable mobile CRM
  client
 Synchronized with Microsoft
  Dynamics CRM
 For iPhone, iPad, Android Phone
  & Tablet, Windows Mobile,
  Windows Phone, Win CE

  “Our sale reps preferred to access
their CRM from their tablets instead
        of standard desktop clients.”
        Eric Labashosky
Director of
    Application Architecture, Benco

                           Copyright 2012 © Xamarin Inc., All rights reserved
http://xamarin.com/

SUMMING UP
Xamarin & Mono for Android -
            Summing Up
 Harness the full power of C# and .NET, Web
  Services, JSON, Classes, LINQ and XML for cross-
  platform mobile app development
 Use Visual Studio to create powerful Android apps
 Re-use your existing .NET code / logic
 Reduce development time, complexity and cost
 Write shorter, simpler, and more maintainable
  code
 Build native user-experiences users expect
               Copyright 2012 © Xamarin Inc., All rights reserved
Xamarin & Mono for Android 4.0 -
            Summing Up
 Leading mobile app development technology
    500+ new developers each day

 Solving cross-platform mobile app development problems
  for customers
    Reduce development time, complexity and cost
    Improve mobile app quality, stability and performance

 Unique, customer-proven technology and capabilities
    C# and .NET mobile app development for phones, tablets and
     embedded devices running, iOS, Android and Windows


                     Copyright 2012 © Xamarin Inc., All rights reserved
More online
•   xamarin.com/apps
•   xamarin.com/monotouch
•   xamarin.com/android
•   docs.xamarin.com
•   blog.xamarin.com
•   youtube.com/xamarinhq
•   twitter.com/xamarinhq
•   linkedin.com/company/xamarin
•   stackoverflow.com/questions/tagged/mono
An Introduction to
     Mono for Android 4.0
Cross-Platform Mobile App Development
            Targeting Android



          http://xamarin.com/

More Related Content

Viewers also liked

Getting the Most from Xamarin Studio - Michael Hutchinson
Getting the Most from Xamarin Studio - Michael HutchinsonGetting the Most from Xamarin Studio - Michael Hutchinson
Getting the Most from Xamarin Studio - Michael HutchinsonXamarin
 
TDC2016SP - Trilha Mobile
TDC2016SP - Trilha MobileTDC2016SP - Trilha Mobile
TDC2016SP - Trilha Mobiletdc-globalcode
 
Android L and So Much More Webinar Slides
Android L and So Much More Webinar SlidesAndroid L and So Much More Webinar Slides
Android L and So Much More Webinar SlidesXamarin
 
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
 
Xamarin Dev Days Madrid - Taller Xamarin
Xamarin Dev Days Madrid - Taller XamarinXamarin Dev Days Madrid - Taller Xamarin
Xamarin Dev Days Madrid - Taller XamarinJavier Suárez Ruiz
 
Say hello to Xamarin 3
Say hello to Xamarin 3Say hello to Xamarin 3
Say hello to Xamarin 3Xamarin
 
Xamarin Mobile Leaders Summit | Solving the Unique Challenges in Mobile DevOps
Xamarin Mobile Leaders Summit | Solving the Unique Challenges in Mobile DevOpsXamarin Mobile Leaders Summit | Solving the Unique Challenges in Mobile DevOps
Xamarin Mobile Leaders Summit | Solving the Unique Challenges in Mobile DevOpsXamarin
 
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
 

Viewers also liked (8)

Getting the Most from Xamarin Studio - Michael Hutchinson
Getting the Most from Xamarin Studio - Michael HutchinsonGetting the Most from Xamarin Studio - Michael Hutchinson
Getting the Most from Xamarin Studio - Michael Hutchinson
 
TDC2016SP - Trilha Mobile
TDC2016SP - Trilha MobileTDC2016SP - Trilha Mobile
TDC2016SP - Trilha Mobile
 
Android L and So Much More Webinar Slides
Android L and So Much More Webinar SlidesAndroid L and So Much More Webinar Slides
Android L and So Much More Webinar Slides
 
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
 
Xamarin Dev Days Madrid - Taller Xamarin
Xamarin Dev Days Madrid - Taller XamarinXamarin Dev Days Madrid - Taller Xamarin
Xamarin Dev Days Madrid - Taller Xamarin
 
Say hello to Xamarin 3
Say hello to Xamarin 3Say hello to Xamarin 3
Say hello to Xamarin 3
 
Xamarin Mobile Leaders Summit | Solving the Unique Challenges in Mobile DevOps
Xamarin Mobile Leaders Summit | Solving the Unique Challenges in Mobile DevOpsXamarin Mobile Leaders Summit | Solving the Unique Challenges in Mobile DevOps
Xamarin Mobile Leaders Summit | Solving the Unique Challenges in Mobile DevOps
 
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
 

More from Xamarin

Xamarin University Presents: Building Your First Intelligent App with Xamarin...
Xamarin University Presents: Building Your First Intelligent App with Xamarin...Xamarin University Presents: Building Your First Intelligent App with Xamarin...
Xamarin University Presents: Building Your First Intelligent App with Xamarin...Xamarin
 
Xamarin University Presents: Ship Better Apps with Visual Studio App Center
Xamarin University Presents: Ship Better Apps with Visual Studio App CenterXamarin University Presents: Ship Better Apps with Visual Studio App Center
Xamarin University Presents: Ship Better Apps with Visual Studio App CenterXamarin
 
Get the Most Out of iOS 11 with Visual Studio Tools for Xamarin
Get the Most Out of iOS 11 with Visual Studio Tools for XamarinGet the Most Out of iOS 11 with Visual Studio Tools for Xamarin
Get the Most Out of iOS 11 with Visual Studio Tools for XamarinXamarin
 
Get the Most out of Android 8 Oreo with Visual Studio Tools for Xamarin
Get the Most out of Android 8 Oreo with Visual Studio Tools for XamarinGet the Most out of Android 8 Oreo with Visual Studio Tools for Xamarin
Get the Most out of Android 8 Oreo with Visual Studio Tools for XamarinXamarin
 
Creative Hacking: Delivering React Native App A/B Testing Using CodePush
Creative Hacking: Delivering React Native App A/B Testing Using CodePushCreative Hacking: Delivering React Native App A/B Testing Using CodePush
Creative Hacking: Delivering React Native App A/B Testing Using CodePushXamarin
 
Build Better Games with Unity and Microsoft Azure
Build Better Games with Unity and Microsoft AzureBuild Better Games with Unity and Microsoft Azure
Build Better Games with Unity and Microsoft AzureXamarin
 
Exploring UrhoSharp 3D with Xamarin Workbooks
Exploring UrhoSharp 3D with Xamarin WorkbooksExploring UrhoSharp 3D with Xamarin Workbooks
Exploring UrhoSharp 3D with Xamarin WorkbooksXamarin
 
Desktop Developer’s Guide to Mobile with Visual Studio Tools for Xamarin
Desktop Developer’s Guide to Mobile with Visual Studio Tools for XamarinDesktop Developer’s Guide to Mobile with Visual Studio Tools for Xamarin
Desktop Developer’s Guide to Mobile with Visual Studio Tools for XamarinXamarin
 
Developer’s Intro to Azure Machine Learning
Developer’s Intro to Azure Machine LearningDeveloper’s Intro to Azure Machine Learning
Developer’s Intro to Azure Machine LearningXamarin
 
Customizing Xamarin.Forms UI
Customizing Xamarin.Forms UICustomizing Xamarin.Forms UI
Customizing Xamarin.Forms UIXamarin
 
Session 4 - Xamarin Partner Program, Events and Resources
Session 4 - Xamarin Partner Program, Events and ResourcesSession 4 - Xamarin Partner Program, Events and Resources
Session 4 - Xamarin Partner Program, Events and ResourcesXamarin
 
Session 3 - Driving Mobile Growth and Profitability
Session 3 - Driving Mobile Growth and ProfitabilitySession 3 - Driving Mobile Growth and Profitability
Session 3 - Driving Mobile Growth and ProfitabilityXamarin
 
Session 2 - Emerging Technologies in your Mobile Practice
Session 2 - Emerging Technologies in your Mobile PracticeSession 2 - Emerging Technologies in your Mobile Practice
Session 2 - Emerging Technologies in your Mobile PracticeXamarin
 
Session 1 - Transformative Opportunities in Mobile and Cloud
Session 1 - Transformative Opportunities in Mobile and Cloud Session 1 - Transformative Opportunities in Mobile and Cloud
Session 1 - Transformative Opportunities in Mobile and Cloud Xamarin
 
SkiaSharp Graphics for Xamarin.Forms
SkiaSharp Graphics for Xamarin.FormsSkiaSharp Graphics for Xamarin.Forms
SkiaSharp Graphics for Xamarin.FormsXamarin
 
Building Games for iOS, macOS, and tvOS with Visual Studio and Azure
Building Games for iOS, macOS, and tvOS with Visual Studio and AzureBuilding Games for iOS, macOS, and tvOS with Visual Studio and Azure
Building Games for iOS, macOS, and tvOS with Visual Studio and AzureXamarin
 
Intro to Xamarin.Forms for Visual Studio 2017
Intro to Xamarin.Forms for Visual Studio 2017Intro to Xamarin.Forms for Visual Studio 2017
Intro to Xamarin.Forms for Visual Studio 2017Xamarin
 
Connected Mobile Apps with Microsoft Azure
Connected Mobile Apps with Microsoft AzureConnected Mobile Apps with Microsoft Azure
Connected Mobile Apps with Microsoft AzureXamarin
 
Introduction to Xamarin for Visual Studio 2017
Introduction to Xamarin for Visual Studio 2017Introduction to Xamarin for Visual Studio 2017
Introduction to Xamarin for Visual Studio 2017Xamarin
 
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
 

More from Xamarin (20)

Xamarin University Presents: Building Your First Intelligent App with Xamarin...
Xamarin University Presents: Building Your First Intelligent App with Xamarin...Xamarin University Presents: Building Your First Intelligent App with Xamarin...
Xamarin University Presents: Building Your First Intelligent App with Xamarin...
 
Xamarin University Presents: Ship Better Apps with Visual Studio App Center
Xamarin University Presents: Ship Better Apps with Visual Studio App CenterXamarin University Presents: Ship Better Apps with Visual Studio App Center
Xamarin University Presents: Ship Better Apps with Visual Studio App Center
 
Get the Most Out of iOS 11 with Visual Studio Tools for Xamarin
Get the Most Out of iOS 11 with Visual Studio Tools for XamarinGet the Most Out of iOS 11 with Visual Studio Tools for Xamarin
Get the Most Out of iOS 11 with Visual Studio Tools for Xamarin
 
Get the Most out of Android 8 Oreo with Visual Studio Tools for Xamarin
Get the Most out of Android 8 Oreo with Visual Studio Tools for XamarinGet the Most out of Android 8 Oreo with Visual Studio Tools for Xamarin
Get the Most out of Android 8 Oreo with Visual Studio Tools for Xamarin
 
Creative Hacking: Delivering React Native App A/B Testing Using CodePush
Creative Hacking: Delivering React Native App A/B Testing Using CodePushCreative Hacking: Delivering React Native App A/B Testing Using CodePush
Creative Hacking: Delivering React Native App A/B Testing Using CodePush
 
Build Better Games with Unity and Microsoft Azure
Build Better Games with Unity and Microsoft AzureBuild Better Games with Unity and Microsoft Azure
Build Better Games with Unity and Microsoft Azure
 
Exploring UrhoSharp 3D with Xamarin Workbooks
Exploring UrhoSharp 3D with Xamarin WorkbooksExploring UrhoSharp 3D with Xamarin Workbooks
Exploring UrhoSharp 3D with Xamarin Workbooks
 
Desktop Developer’s Guide to Mobile with Visual Studio Tools for Xamarin
Desktop Developer’s Guide to Mobile with Visual Studio Tools for XamarinDesktop Developer’s Guide to Mobile with Visual Studio Tools for Xamarin
Desktop Developer’s Guide to Mobile with Visual Studio Tools for Xamarin
 
Developer’s Intro to Azure Machine Learning
Developer’s Intro to Azure Machine LearningDeveloper’s Intro to Azure Machine Learning
Developer’s Intro to Azure Machine Learning
 
Customizing Xamarin.Forms UI
Customizing Xamarin.Forms UICustomizing Xamarin.Forms UI
Customizing Xamarin.Forms UI
 
Session 4 - Xamarin Partner Program, Events and Resources
Session 4 - Xamarin Partner Program, Events and ResourcesSession 4 - Xamarin Partner Program, Events and Resources
Session 4 - Xamarin Partner Program, Events and Resources
 
Session 3 - Driving Mobile Growth and Profitability
Session 3 - Driving Mobile Growth and ProfitabilitySession 3 - Driving Mobile Growth and Profitability
Session 3 - Driving Mobile Growth and Profitability
 
Session 2 - Emerging Technologies in your Mobile Practice
Session 2 - Emerging Technologies in your Mobile PracticeSession 2 - Emerging Technologies in your Mobile Practice
Session 2 - Emerging Technologies in your Mobile Practice
 
Session 1 - Transformative Opportunities in Mobile and Cloud
Session 1 - Transformative Opportunities in Mobile and Cloud Session 1 - Transformative Opportunities in Mobile and Cloud
Session 1 - Transformative Opportunities in Mobile and Cloud
 
SkiaSharp Graphics for Xamarin.Forms
SkiaSharp Graphics for Xamarin.FormsSkiaSharp Graphics for Xamarin.Forms
SkiaSharp Graphics for Xamarin.Forms
 
Building Games for iOS, macOS, and tvOS with Visual Studio and Azure
Building Games for iOS, macOS, and tvOS with Visual Studio and AzureBuilding Games for iOS, macOS, and tvOS with Visual Studio and Azure
Building Games for iOS, macOS, and tvOS with Visual Studio and Azure
 
Intro to Xamarin.Forms for Visual Studio 2017
Intro to Xamarin.Forms for Visual Studio 2017Intro to Xamarin.Forms for Visual Studio 2017
Intro to Xamarin.Forms for Visual Studio 2017
 
Connected Mobile Apps with Microsoft Azure
Connected Mobile Apps with Microsoft AzureConnected Mobile Apps with Microsoft Azure
Connected Mobile Apps with Microsoft Azure
 
Introduction to Xamarin for Visual Studio 2017
Introduction to Xamarin for Visual Studio 2017Introduction to Xamarin for Visual Studio 2017
Introduction to Xamarin for Visual Studio 2017
 
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
 

Recently uploaded

Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native ApplicationsWSO2
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDropbox
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024The Digital Insurer
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...apidays
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024The Digital Insurer
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWERMadyBayot
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...apidays
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingEdi Saputra
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Angeliki Cooney
 
Cyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdfCyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdfOverkill Security
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MIND CTI
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsNanddeep Nachan
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxRustici Software
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...apidays
 

Recently uploaded (20)

Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
 
Cyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdfCyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdf
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 

Mono for Android 4 0 Introduction

  • 1. An Introduction to Mono for Android 4.0 Cross-Platform Mobile App Development Targeting Android http://xamarin.com/
  • 2. Introducing Mono for Android 4.0 from Xamarin 1. Who is Xamarin? 2. MonoTouch and Mono for Android Overview 3. Mono for Android 4.0 4. Differentiators 5. Customers & Case Studies 6. Summing Up More Info: http://xamarin.com/ Copyright 2012 © Xamarin Inc., All rights reserved
  • 3. Xamarin Company Snapshot  Founded in 2011 with the mission to make it fast, easy and fun to build great mobile apps.  Xamarin’s products:  MonoTouch, Mono for Android  Simplify creation, maintenance and operation of high-performance, cross-platform, native UX mobile applications  Phones, tablets and embedded devices - iOS, Android and Windows  Xamarin stewards the Mono project: open source, cross-platform implementation of C# / .NET framework  Unique, customer-proven technology:  500 developers download/day on average  Enterprise: 3M, Medtronic, Target, TIBCO, etc.  Consumer: AOL, iCircuit, Monster, Rdio, etc.  Consultants / SIs: Accenture, ITR Mobility, etc. Copyright 2012 © Xamarin Inc., All rights reserved
  • 4. MONOTOUCH AND MONO FOR ANDROID
  • 5. MonoTouch and Mono for Android Copyright 2012 © Xamarin Inc., All rights reserved
  • 6. Native API Access - Android 4,000 C# classes  1:1 mapping to native  Java libraries User Code  OpenGL  Android C Libraries C# Android.* OpenTK System.* Projected into C#  Strongly typed OpenGL  Enumerations Java Android.* C Libraries and Unix APIs OpenAL  C# Events/Properties  Surface Lambdas Copyright 2012 © Xamarin Inc., All rights reserved
  • 7. Native API Access - iOS 1,700 C# classes  1:1 mapping to native  Objective-C libraries User Code  CoreFoundation  iOS C libraries MonoTouch.* OpenTK System.* Projected into C#  Strongly typed OpenGL  C# Events/Properties ObjC Libraries C Libraries and Unix APIs OpenAL  Surface Lambdas Copyright 2012 © Xamarin Inc., All rights reserved
  • 8. Mono on Mobile C# and .NET class libraries on Mobile Devices  Garbage Collection  Strongly typed objects  High performance Strong Typing:  Code-Completion helps explore APIs from the IDE  Alerts developer of errors during compilation, instead of failing for users at run time Copyright 2012 © Xamarin Inc., All rights reserved
  • 9. Xamarin.* APIs Xamarin Mobile Notifications GeoLocation Reporting Photos + Contacts Audio Video Crash  Most of the differentiation happens in the UI  Some platform APIs do not bring much value (sometimes they’re not great APIs)  Xamarin.Mobile is an extra layer to isolate developers from the platform. Copyright 2012 © Xamarin Inc., All rights reserved
  • 10. Xamarin Cross-Platform Apps Copyright 2012 © Xamarin Inc., All rights reserved
  • 11. Apps Showcase: http://xamarin.com/apps Copyright 2012 © Xamarin Inc., All rights reserved
  • 13. Mono for Android 4.0 – Key Features Ice Cream Sandwich features support Faster builds Smaller app footprints Google Maps integration Visual Studio integration Faster Installer than with Java Copyright 2012 © Xamarin Inc., All rights reserved
  • 14. Mono for Android 4.0 – ICS Features  Updated User Interface – GridLayout – Supports 2D grid layout of controls – Switch widget – Allows toggling between ON or OFF – TextureView – Enables video and OpenGL content within a view – Navigation Bar – Contains virtual buttons for back, home, and multi-tasking  Better Hardware Acceleration – 2D rendering now takes place on the GPU for all Android controls. Additionally, hardware acceleration is on, by default, in all applications developed for Android 4.0.  More Infohttp://docs.xamarin.com/android/tutorials/Intro duction_to_Ice_Cream_Sandwich Copyright 2012 © Xamarin Inc., All rights reserved
  • 15. Mono for Android 4.0 – ICS Features  New Data APIs – New access to data that was not previously officially accessible, such as calendar data and the user profile of the device owner.  App Data Sharing – Sharing data between applications and devices now easier • ShareActionProvider: makes it easy to create a sharing action from an Action Bar • Android Beam for Near Field Communications (NFC): makes it a snap to share data across devices in close proximity to each other  More Infohttp://docs.xamarin.com/android/tutorials/Intro duction_to_Ice_Cream_Sandwich Copyright 2012 © Xamarin Inc., All rights reserved
  • 16. Mono for Android 4.0 – Faster Builds Builds are 40% faster – Less time waiting – More time creating awesome apps  More Info: Introduction to ICS with Mono for Android 4.0 Documentation- http://docs.xamarin.com/android/tutorials/Introduction_to_Ice_Cream_Sandwi ch Copyright 2012 © Xamarin Inc., All rights reserved
  • 17. Mono for Android 4.0 – Smaller App Footprint  Executables up to 70% smaller – App users spend less time downloading  Efficient Linking Process – Examines your app and, during Base Class Library (BCL) assemblies, removes any components that are not directly used • For example, a whole namespace in System.dll is for sending and receiving email, but if your application does not use of this functionality, that code is just wasting space, and removed.  Efficient package deployment during debug and release stages of development  More Info: http://docs.xamarin.com/android/tutorials/Application_Package_Sizes Copyright 2012 © Xamarin Inc., All rights reserved
  • 18. Mono for Android 4.0 – Google Maps Integration Newly Bound Google Maps APIs – Mono.Android.GoogleMaps.dll assembly allows use of the Google Maps API from C#  More Info: Introduction to ICS with Mono for Android 4.0 Documentation- http://docs.xamarin.com/android/tutorials/Introduction_to_Ice_Cream_Sandwi ch Copyright 2012 © Xamarin Inc., All rights reserved
  • 19. Mono for Android 4.0 – Visual Studio Integration Mono for Android works with Visual Studio – You don’t have to change IDE – Or use Xamarin full-featured MonoDevelop IDE  More Info: Introduction to ICS with Mono for Android 4.0 Documentation- http://docs.xamarin.com/android/tutorials/Introduction_to_Ice_Cream_Sandwi ch Copyright 2012 © Xamarin Inc., All rights reserved
  • 20. Mono for Android 4.0 – Easier, Faster Installer  Mono for Android installer will have you up and running with just a few clicks  Takes the pain out of setting up an Android development environment – Combines all the required components into a single, unified installation experience, as opposed to the myriad of installs required for Java-based Android development  More Info: Introduction to ICS with Mono for Android 4.0 Documentation- http://docs.xamarin.com/android/tutorials/Introduction_to_Ice_Cream_Sandwi ch Copyright 2012 © Xamarin Inc., All rights reserved
  • 21. Mono for Android – Additional Capabilities  Hundreds of customer requested enhancements that make it easier to develop great Android apps  A full listing of new features and capabilities can be viewed from here: http://blog.xamarin.com/ Copyright 2012 © Xamarin Inc., All rights reserved
  • 23. Differentiators Harness the full power of C# and .NET. Use Visual Studio to create Android apps Write shorter, simpler, and more maintainable code Use features like LINQ, anonymous types, lambdas and more Copyright 2012 © Xamarin Inc., All rights reserved
  • 24. CUSTOMERS & CASE STUDIES
  • 25. Xamarin Customers 600+ new developers each day Amazing apps: http://xamarin.com/apps Copyright 2012 © Xamarin Inc., All rights reserved
  • 26. Xamarin Customers Rdio - Listen to millions of songs ad-free, mobile  Problem:  Supporting 4 platforms required 4 codebases, adding features 4 times, chasing bugs 4 times  Solution: Xamarin cross- platform mobile app development software “We’ve saved thousands of hours of engineering.” Todd Berman VP Engineering © Xamarin Inc., All rights reserved Copyright 2012
  • 27. Xamarin Customers Medtronic mStar Application  Integrate to back-end systems  Sales orders  Product registration “The mStar application automates manual processes and makes them available 24/7 for the reps” Jeff Bipes, IT Manager, Field Services Copyright 2012 © Xamarin Inc., All rights reserved
  • 28. Xamarin Customers RESCO - Mobile CRM for Microsoft Dynamics  Fully customizable mobile CRM client  Synchronized with Microsoft Dynamics CRM  For iPhone, iPad, Android Phone & Tablet, Windows Mobile, Windows Phone, Win CE “Our sale reps preferred to access their CRM from their tablets instead of standard desktop clients.” Eric Labashosky
Director of Application Architecture, Benco Copyright 2012 © Xamarin Inc., All rights reserved
  • 30. Xamarin & Mono for Android - Summing Up  Harness the full power of C# and .NET, Web Services, JSON, Classes, LINQ and XML for cross- platform mobile app development  Use Visual Studio to create powerful Android apps  Re-use your existing .NET code / logic  Reduce development time, complexity and cost  Write shorter, simpler, and more maintainable code  Build native user-experiences users expect Copyright 2012 © Xamarin Inc., All rights reserved
  • 31. Xamarin & Mono for Android 4.0 - Summing Up  Leading mobile app development technology  500+ new developers each day  Solving cross-platform mobile app development problems for customers  Reduce development time, complexity and cost  Improve mobile app quality, stability and performance  Unique, customer-proven technology and capabilities  C# and .NET mobile app development for phones, tablets and embedded devices running, iOS, Android and Windows Copyright 2012 © Xamarin Inc., All rights reserved
  • 32. More online • xamarin.com/apps • xamarin.com/monotouch • xamarin.com/android • docs.xamarin.com • blog.xamarin.com • youtube.com/xamarinhq • twitter.com/xamarinhq • linkedin.com/company/xamarin • stackoverflow.com/questions/tagged/mono
  • 33. An Introduction to Mono for Android 4.0 Cross-Platform Mobile App Development Targeting Android http://xamarin.com/