iOS & Android Development for C# Developers with Xamarin

James Montemagno's workshop at THEGARAGE.

xamaringarage
1.0x

iOS & Android Development for C# Developers with Xamarin

Created 2 years ago

Duration 0:00:00
lesson view count 612
James Montemagno's workshop at THEGARAGE.
Select the file type you wish to download
Slide Content
Tags: xamarin garage
  1. iOS & Android Development in C# with Xamarin

    Slide 1 - iOS & Android Development in C# with Xamarin

    • James Montemagno
    • @JamesMontemagno
  2. Who’s this guy…?

    Slide 2 - Who’s this guy…?

    • James
    • Montemagno
    • Developer
    • Evangelist
    • james@xamarin.com
    • http://motz.codes
    • @JamesMontemagno
  3. Get StartedXamarin.com/MSFT

    Slide 3 - Get StartedXamarin.com/MSFT

  4. Local Mobile .NET Users Group!

    Slide 4 - Local Mobile .NET Users Group!

    • Westside
    • First Tuesday of the Month
    • City University
    • (6th & Wall)
    • 6PM
    • Food & Drinks!
    • Eastside
    • Third Wednesday of the Month
    • Meets On Campus
    • @ Building 50
    • 6PM
    • Food & Drinks!
    • http://www.meetup.com/SeattleMobileDevelopers/
  5. Who is Seattle Mobile .NET?

    Slide 5 - Who is Seattle Mobile .NET?

    • James Montemagno
    • Developer Evangelist, Xamarin
    • Frank Krueger
    • Professional Mobile Developer
    • Awesome Person
    • Rich Lander
    • Program Manager .NET, Microsoft
    • Jaime Rodriguez
    • Principal Program Manager - Games Evangelism, Microsoft
  6. Slide 6

    • Xamarin—A Complete Mobile Solution
    • Design
    • Develop
    • Integrate
    • Learn
    • Xamarin Platform
    • Test
    • Monitor
  7. Xamarin’s Unique Approach

    Slide 7 - Xamarin’s Unique Approach

    • Native with
    • Code Sharing
  8. How Xamarin Works

    Slide 8 - How Xamarin Works

  9. Slide 9

    • Windows APIs
  10. Slide 10

    • iOS
    • 100% API Coverage
  11. Slide 11

    • Android
    • 100% API
    • Coverage
  12. Native Performance

    Slide 12 - 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.
  13. Always Up-to-Date

    Slide 13 - 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
    • Apple Watch
    • More!
  14. Visual Studio – 2010 and Higher

    Slide 14 - Visual Studio – 2010 and Higher

  15. Xamarin Studio – Mac or PC

    Slide 15 - Xamarin Studio – Mac or PC

  16. Slide 16

    • Android
    • Develop on:
    • Mac or PC
    • Xamarin Studio or Visual Studio
    • Run on:
    • Google Emulators
    • Xamarin Android Player
    • Physical Device
  17. Slide 17

    • What’s installed for you
    • Android Requirements:
    • Android SDK
    • Android NDK
    • Java SDK (JDK)
    • Xamarin Requirements:
    • GTK#
    • Xamarin Studio
    • Xamarin.Android
  18. Slide 18

    • What’s not installed
    • Android:
    • Previous Android SDKs
    • Android Virtual Devices (Emulators)
  19. Develop on:

    Slide 19 - Develop on:

    • Mac in Xamarin Studio
    • or
    • PC in Visual Studio (connected to Mac “Build Host”)
    • Run on:
    • iOS Simulators on Mac
    • iOS Device plugged into a Mac
  20. Mac:

    Slide 20 - Mac:

    • Xamarin Studio
    • Xamarin.iOS
    • Build Host
    • PC:
    • Xamarin Studio
    • Xamarin.iOS for Visual Studio
    • What’s installed
  21. Mac:

    Slide 21 - Mac:

    • Xcode
    • Download from iOS Developer Center
    • What’s not installed
  22. Let’s Build

    Slide 22 - Let’s Build

    • An App
  23. Xamarin Development

    Slide 23 - Xamarin Development

  24. Platform Specific Code

    Slide 24 - Platform Specific Code

    • UI UI UI
    • GPS, Text To Speech, Settings, Battery, Lights, Notifications, etc…
    • GPS, Text To Speech, Settings, Battery, Lights, Notifications, etc…
    • GPS, Text To Speech, Settings, Battery, Lights, Notifications, etc…
    • Write Less Code
    • Share More Code
  25. Plugins for Xamarin

    Slide 25 - Plugins for Xamarin

    • Access Platform Specific APIs from a Common API
    • From Anywhere:
    • Single Project
    • PCL
    • Shared Code
    • github.com/xamarin/plugins
  26. Let’s extend our Twitter app

    Slide 26 - Let’s extend our Twitter app

  27. Portable Class Libraries

    Slide 27 - Portable Class Libraries

  28. Xamarin + Xamarin.Forms

    Slide 28 - Xamarin + Xamarin.Forms

    • With Xamarin.Forms:
    • more code-sharing, native controls
    • Traditional Xamarin approach
    • Xamarin.Forms
  29. What’s Included

    Slide 29 - What’s Included

    • Xamarin.Forms
    • 40+ Pages, Layouts, and Controls
    • Build from code behind or XAML
    • Two-way Data Binding
    • Navigation
    • Animation API
    • Dependency Service
    • Messaging Center
  30. Pages

    Slide 30 - Pages

    • Content
    • MasterDetail
    • Navigation
    • Tabbed
    • Carousel
  31. Layouts

    Slide 31 - Layouts

    • Stack
    • Absolute
    • Relative
    • Grid
    • ContentView
    • ScrollView
    • Frame
  32. Controls

    Slide 32 - Controls

    • ActivityIndicator
    • BoxView
    • Button
    • DatePicker
    • Editor
    • Entry
    • Image
    • Label
    • ListView
    • Map
    • OpenGLView
    • Picker
    • ProgressBar
    • SearchBar
    • Slider
    • Stepper
    • TableView
    • TimePicker
    • WebView
    • EntryCell
    • ImageCell
    • SwitchCell
    • TextCell
    • ViewCell
  33. Xamarin.Forms Example

    Slide 33 - Xamarin.Forms Example

    • 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
  34. Let’s take a lookat Xamarin.Forms

    Slide 34 - Let’s take a lookat Xamarin.Forms

  35. Resources

    Slide 35 - Resources

    • Tweets App
    • http://github.com/jamesmontemagno/mvpmix-tweets
    • Slides
    • http://www.slideshare.net/jamesmontemagno
    • Plugins for Xamarin
    • http://github.com/xamarin/plugins
    • Component Store
    • http://components.xamarin.com
    • Linq2Twitter
    • https://linqtotwitter.codeplex.com
    • Mini-Hacks
    • https://github.com/xamarin/mini-hacks
  36. Mini-Hacks

    Slide 36 - Mini-Hacks

    • Mini-Hacks
    • https://github.com/xamarin/mini-hacks
    • Azure
    • Xamarin.Forms
    • Android Player
    • More!
  37. Get StartedXamarin.com/MSFT

    Slide 37 - Get StartedXamarin.com/MSFT

  38. Thank you!

    Slide 38 - Thank you!

    • Q&A
    • James
    • Montemagno
    • Developer
    • Evangelist
    • james@xamarin.com
    • http://motz.codes
    • @JamesMontemagno