Presentation is loading. Please wait.

Presentation is loading. Please wait.

Maximizing Reach Through Cross-Platform Mobile Development

Similar presentations


Presentation on theme: "Maximizing Reach Through Cross-Platform Mobile Development"— Presentation transcript:

1 Maximizing Reach Through Cross-Platform Mobile Development
By Krystin Stutesman

2 Silo Approach iOS Android Windows Objective-C Xcode Java Android Studio C# Visual Studio Multiple Teams Multiple Code Bases Expensive & Slow Positive = Great apps delivered to user’s platform Negative = Development hampered by multiple code bases & fragmentation No shared code • Many languages & development environments • Multiple teams

3 Write Once, Run Anywhere
2/5/2018 Write Once, Run Anywhere App Generator Lua Javascript Actionscript HTML+CSS Unhappy Users Unhappy Developers Increase in Abandoned Apps Limited to what is implemented Limited native API access • Slow performance • Poor user experience © 2014 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

4 Xamarin’s Unique Approach
Build 2015 2/5/ :23 AM Xamarin’s Unique Approach iOS C# UI Windows C# UI Android C# UI Shared C# Mobile 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 Shared C# codebase • 100% native API access • High performance © 2015 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

5 Xamarin’s Unique Approach
Build 2015 2/5/ :23 AM Xamarin’s Unique Approach iOS C# UI Windows C# UI Android C# UI Shared C# Mobile C# Server Linux/Mono CoreCLR Azure Shared C# Client/Server With Xamarin it just isn’t your front end in C# it is your full backend server as well. With Azure or even on Linux running Mono or the CoreCLR your app is fully C# end to end! Shared C# codebase • 100% native API access • High performance © 2015 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

6 Native User Interfaces
2/5/2018 Native User Interfaces Native API Access Native Performance A native app needs a lot of things, but three important ones stick out: Native User Interface: Apps need to look and act correct per platform. Full SDK Access: As a developer we need to add the latest and greatest features Native Performance: Needs to be fast and fluid © 2014 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

7 Windows APIs Microsoft.Phone Windows.Storage Microsoft.Devices
Microsoft.Networking Windows.Storage Windows.Foundation Microsoft.Devices System.Net System System.IO System.Linq System.Xml System.Data System.Windows System.Numerics System.Core System.ServiceModel Windows developers… Will be comfortable and easy to switch to Xamarin System.IO, Linq, Runtime All .NET libraries… Download SDK for WinPhone to get native APIs

8 iOS – 100% API Coverage MapKit UIKit iBeacon CoreGraphics CoreMotion
Build 2015 2/5/ :23 AM iOS – 100% API Coverage MapKit UIKit iBeacon CoreGraphics CoreMotion System.Net System System.IO System.Linq System.Xml System.Data System.Windows System.Numerics System.Core System.ServiceModel Accessing native iOS APIs but they are still in C# C# bindings for iOS © 2015 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

9 Android – 100% API Coverage
Build 2015 2/5/ :23 AM Android – 100% API Coverage Text-to-speech ActionBar Printing Framework Renderscript NFC System.Net System System.IO System.Linq System.Xml System.Data System.Windows System.Numerics System.Core System.ServiceModel © 2015 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

10 ✓Always Up-to-Date Same-day support: Full support for: iOS 5 iOS 6
Apple Watch Android Wear Amazon Fire TV Google Glass and much more Was concerned about support for OS versions and extensions

11 Visual Studio Integration
iOS Designer

12 Visual Studio Integration
Android Designer

13 Visual Studio Integration
Xamarin.com/Download

14 2/5/2018 Anything you can do in Objective-C, Swift, or Java can be done in C# and Visual Studio with Xamarin. © 2014 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

15 Meet Xamarin.Forms Xamarin Forms is a new set of APIs allowing you to quickly and easily write shared User Interface code that is still rendered natively on each platform, while still providing direct access to the underlying SDKs if you need it. Build native UIs for iOS, Android, and Windows Phone from a single, shared C# codebase.

16 Xamarin + Xamarin.Forms
Shared C# Backend Shared UI Code iOS C# UI Windows C# UI Android C# UI Shared C# Backend We see here the Xamarin approach we talked about earlier 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 Traditional Xamarin Approach With Xamarin.Forms: More code-sharing, all native

17 What’s included Shared UI Code ✓ 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 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.

18 Native UI from shared code
<?xml version="1.0" encoding="UTF-8"?> <TabbedPage xmlns=" xmlns:x=" 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 --> </TabbedPage.Children> Here is a quick example of a login page: Notice the data binding on the Entries Text fields. Additionally, there is a LoginCommand. Each has a native user interface

19 Platform Customization
Might want iOS or Android to have different looks i.e. 20 px on iOS top for status bar

20 Demo Xamarin.Forms Apple Watch

21 Xamarin – Your Complete Mobile Solution
Build 2015 2/5/ :23 AM Xamarin – Your Complete Mobile Solution DESIGN – DEVELOP - INTEGRATE TEST MONITOR LEARN © 2015 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

22 Get Started Today xamarin.com
Get started today with free 30 day trial of Xamarin at xamarin.com

23 Free 30 Day Trial - xamarin.com/university
Unrivaled Mobile Development Training Live unlimited mobile development training from mobile experts, in your time-zone, on your schedule, and as often as you'd like. Free 30 Day Trial - xamarin.com/university

24 Thank you! Questions? Krystin Stutesman Developer Evangelist, Xamarin
2/5/2018 Thank you! Questions? Krystin Stutesman Developer Evangelist, Xamarin @officialkrystin © 2014 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.


Download ppt "Maximizing Reach Through Cross-Platform Mobile Development"

Similar presentations


Ads by Google