Developing Cross-Platform Applications with Visual Studio 2015

Slides:



Advertisements
Similar presentations
Cross Platform UI testing using Sikuli
Advertisements

Mobile App Development Using: Presented by Tyler Richey Images from
Amanda Silver Director of Program Management Visual Studio Tools for Client Applications Cross-Platform Development using Visual Studio.
pirate s Capabilities Developer Investment Web App Hybrid App Native App.
Source: AppBrain, April 2015 Native Wrapper Your JavaScript App.
Every company is a software company “CIOs will measure the impact of their business technology agenda based on the impact on the consumer – and not.
Miguel de Icaza CTO and Co-founder, James Montemagno Developer Evangelist,
“Our role is more important than ever before” “We are required to innovate and deliver much faster” “I need a cross-platform mobile development strategy”
The PhoneGap History Doncho Minkov Telerik Academy academy.telerik.com Technical Trainer
Mobile Development with Xamarin Mark Allan Ranyart
James Montemagno Developer Evangelist, Xamarin Developing Native iOS, Android, & Windows Apps with C#, Xamarin, and Visual Studio 2015.
Introducing Xamarin 2.0 Introducing Xamarin 2.0 Michael Hutchinson
UFCFX5-15-3Mobile Device Development UFCFX Mobile Device Development An Introduction to the Module.
Lightning Talk Fred Rodriguez Nguyen Do CPSC 473 May 6, 2012.
Title slide to be used at the start of a module. Developing Mobile Apps Roland Guijt
Developing Mobile Applications using MVVM with Xamarin Forms
Android Programming By Mohsen Biglari Android Programming, Part1: Introduction 1 Part1: Introduction By Mohsen Biglari.
Introducing NativeScript [Pavel Kolev Software Telerik: a Progress company]
Developer TECH REFRESH 15 Junho 2015 #pttechrefres h Strategies for Developing Cross-Platform Applications Dinis Vieira.
Developing Native iOS, Android, and Windows apps in C# with Xamarin
Developing Enterprise Mobile Apps with Xamarin Loren Horsager CEO, Mobile Composer.
Understanding Xamarin Development Matt
Mobile web Sebastian Lopienski IT Technical Forum 29 June 2012.
Microsoft UI Stack Ronnie Saurenmann Technical Evangelist, Microsoft Switzerland
Apache Cordova Tools in Visual Studio
 Installation of Android Development Environment  Creating the App with OpenGL ES API  Running the App on Emulator Android App Development.
Trunica Inc. 500 East Kennedy Blvd #300 Tampa, FL Cross Platform Mobile Apps With Cordova and Visual Studio 2015 © Copyright 2015.
The way of hybrid mobile development Hybrid Mobile Applications Telerik Software Academy
Lewis Benge Bring your code to Windows MOB336.
KAASHIV INFOTECH Presents INTEL XDK For Inplant Training / Internship, please download the "Inplant training registration form" from our website
Bridges to the Magickal Faerie Land of Windows 10 Hannes Nel M263.
Innovation Any app, any platform Openness.NET Core ASP.NET 5.
The developer. “Today, nearly every significant enterprise innovation requires innovative software.” * *GARTNER Agenda Overview for Application Development,
Mobile Application Development with ANDROID Umang Patel(6537) LDCE.
Alec Tucker An Introduction to Cross Platform Native App Development using Xamarin to Develop, Test and Monitor MOB227.
Daniel Moth Principal PM Manager Visual Studio Emulator for Android.
 Can access all API’s made available by OS vendor.  SDK’s are platform-specific.  Each mobile OS comes with its own unique tools and GUI toolkit.
Cross-platform s Apache Cordovom i Visual Studijom Petar Kovačević, Axilis d.o.o.
NativeScript – Open source platform to build Native iOS/Android Apps.
Google Web Toolkit for Mobile Applications Development INGENUITY AT ITS BEST……………….
The Windows 10 App platform: an introduction to the UWP Andy Wigley b:
Best 5 Mobile App Development Tools for Developer's to think beyond the Limitation.
APP DESIGN AND DEVELOPMENT WITH THE IONIC FRAMEWORK Chuck Leone
Your Host & Speaker Shahed Chowdhuri Sr. Technical Microsoft Technology Areas Enterprise Web/Software Development Game Development Mobile.
Build Cross-Platform Mobile Apps Using Visual Studio A Telerik webinar by Jeffrey T. Fritz March 27, 2014 AND.
Build Hybrid Mobile Apps with Ionic, Angular, & Cordova Brian
PhoneGap. web-based mobile development framework, based on the open-source Cordova project. use standard web technologies such as HTML5, CSS3, and JavaScript.
TELERIK APP BUILDER ( Icenium ). POINTS TO DISCUSS  Introduction  Features  Versions  Supported Frameworks.
跨平台 Hybrid App 開發簡介 - 使用 Visual Studio Tool for Apache Cordova + HTML/JavaScript 陳葵懋 (Ian)
Exploring Mobile Development
Mobile App Development for Multiple Platforms with Visual C++, 2016
Mobile App Development Using:
Whats New Xamarin and VC++ with VS 2017
Introduction to Xamarin C# Everywhere
Maximizing Reach Through Cross-Platform Mobile Development
ET-570 Smart Phone Apps.
Xamarin: The Future of Mobile Development
Introducing the Windows Mobile development
Unleash .NET 2015 in your apps
6/9/2018 3:45 PM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS.
Microsoft Build /23/ :01 AM © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY,
Apache Cordova Overview
Multi-Device Hybrid Apps What, Why, and When to Use Hybrid Development Option Ervin Loh ALM Program Manager
Hybrid Mobile Applications
Microsoft Build /19/2018 7:53 PM © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY,
Microsoft Build /17/2018 2:10 PM © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY,
Cross Platform Development with Xamarin & Visual Studio 2013
Office 365 Development.
Tooling and Diagnostics
Office 365 Development.
Presentation transcript:

Developing Cross-Platform Applications with Visual Studio 2015 Sergii Baidachnyi Principal Technical Evangelist Microsoft Canada sbaydach@Microsoft.com

App Development Strategies Visual Studio 4/22/2017 App Development Strategies Native platform technologies Full access to device capabilities Native performance Highly customized per device Limited access to device capabilities Web performance Device-independent Easier management Web technologies © 2013 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.

Developer tools Rich experiences Breadth of devices Desktop apps – WPF 4/22/2017 Developer tools Win32 C++ Desktop apps – WPF Universal Windows Apps .NET Visual C++ for cross-plat Rich experiences Breadth of devices Visual Studio tools for Apache Cordova HTML Browser-based applications © 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.

Visual Studio 2015

Xamarin

.NET and Xamarin Shared client app C# logic 4/22/2017 .NET and Xamarin Share app logic across platforms Native apps for Windows, iOS and Android devices using .NET Most productive and powerful platform for creating native applications Maximize code reuse with Universal Projects & Portable Class Libraries 100% APIs exposed Everything you can do in xCode or ADT you can do with Visual Studio z C# + XIB C# + AXML C# + XAML Native UI Shared client app C# logic © 2012 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.

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

iOS – 100% API Coverage MapKit UIKit iBeacon CoreGraphics CoreMotion Build 2015 4/22/2017 5:37 PM 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 © 2015 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Android – 100% API Coverage Build 2015 4/22/2017 5:37 PM 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.

4/22/2017 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.

UI design Create UI with drag and drop simplicity Target multiple screen sizes, resolutions, and OS platform and versions Layouts saved in native resource formats World’s best Android designer available in Visual Studio 4/22/2017 UI design iOS app designer in Visual Studio Android app designer in Visual Studio © 2012 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.

Native compilation, native performance Xamarin.iOS does full Ahead Of Time (AOT) compilation to produce an ARM binary suitable for Apple’s App Store Xamarin.Android takes advantage of Just In Time (JIT) compilation on the Android device

Xamarin + Xamarin.Forms Shared C# Backend Shared UI Code iOS C# UI Windows C# UI Android C# UI Shared C# Backend Traditional Xamarin Approach With Xamarin.Forms: More code-sharing, all native

Visual Studio Emulator for Android Fast, x86 image built from AOSP Runs on Hyper-V Comes with Visual Studio Speaks ADB Native capabilities and sensors Zoom, Rotation, Network, Location, Accelerometer, Battery, SD Card, Camera, Audio playback, Keyboard Input, Configurations

Apache Cordova

<webview> Your JavaScript App What is Cordova? Native Wrapper Open source framework Hosted webview in iOS and Android platforms, WWAHost in Windows platform Single, shared HTML, JavaScript, and CSS codebase deployed to all targets <webview> Your JavaScript App

<webview> Your JavaScript App What is Cordova? Native Wrapper Open source framework Hosted webview in iOS and Android platforms, WWAHost in Windows platform Single, shared HTML, JavaScript, and CSS codebase deployed to all targets Plugins provide a common JavaScript API to access device capabilities <webview> Your JavaScript App Cordova Plugin JS API

Create Cordova Project Build 2015 4/22/2017 5:37 PM How does Cordova work? Cordova Project HTML, CSS, JS Assets Platform code Plugin code Configuration Visual Studio Project HTML, CSS, JS, assets Windows-specific runtime Windows-specific plugin code Windows-specific configuration Native Windows App Create Cordova Project Build Cordova Project XCode Project HTML, CSS, JS, assets iOS-specific runtime iOS-specific plugin code iOS-specific configuration Native iOS App Android Project HTML, CSS, JS, assets Android-specific runtime Android-specific plugin code Android-specific configuration Native Android App © 2015 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Tools for Apache Cordova CSS | HTML JavaScript | TypeScript Hybrid-HTML apps Natural path for web developers targeting devices Black Box Cordova tooling in Visual Studio Productivity of Visual Studio for hybrid apps Scale to complex Enterprise apps through optional TypeScript support End-to-end development workflow included for Windows, iOS and Android Flexibility to use any JavaScript framework

Cross-Platform in C++

Cross-platform mobile apps in C++ Easy installation One C++ IDE for cross-platform dev Share and reuse cross-platform code State of the Art code-editing features Powerful debugging experience Fast emulation

C++ the common denominator Build 2015 4/22/2017 5:37 PM C++ the common denominator Benefits Full native experience Total access to the device as provided by the SDK Code Reuse Performance Security Windows iOS Android C#, CX ObjC, Swift Java ---------- C++ ---------- C++ ---------- C++ © 2015 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

C++ the common denominator Build 2015 4/22/2017 5:37 PM C++ the common denominator .appx .apk .ipa Shared C++ backend is compiled as: XAML .appx .apk .ipa C#, C++/Cx Java Dex / ART ObjC Swift Dynamic Link Library (.dll) Static Library (.lib) Dynamic shared library (.so) Static library (.a) XML Cocoa Touch C# Cx Java Pinvoke C++ Wrapper Java/C++ JNI Wrappers ObjC Wrapper Shared C++ Backend DropBox © 2015 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

NDK Build, Make files, Gradle, Ant 4/22/2017 5:37 PM Development tools for C++ cross-platform Compilers Visual C++ Compiler GCC Clang/LLVM Build Engine MSBuild, Nmake NDK Build, Make files, Gradle, Ant Xcode Build IDE(s) Visual Studio Eclipse CDT Xcode Host Platform Windows 8/8.1/10 MacOS X, Linux, Windows Mac OS X © 2015 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Challenges with C++ cross-platform mobile Build 2015 4/22/2017 5:37 PM Challenges with C++ cross-platform mobile Multiple installation experiences Maintaining multiple build tools and build systems Debugging experience is not ideal Multiple C++ IDE(s) © 2015 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Visual Studio 2015 Visual Studio 2015 Easy installation Build 2015 4/22/2017 5:37 PM Visual Studio 2015 Visual Studio 2015 Easy installation One C++ IDE for your cross-platform needs Share and reuse cross-platform code State of the Art code-editing features Powerful debugging experience Fast emulation © 2015 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Introducing!, Visual C++ 2015 (iOS) Build 2015 4/22/2017 5:37 PM Introducing!, Visual C++ 2015 (iOS) Develop iOS applications using Visual C++ Easily edit, build and debug your iOS code Share and reuse your cross-platform code Productivity of Visual Studio now available for iOS © 2015 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Build 2015 4/22/2017 5:37 PM Xamarin and Visual C++ 2015 Xamarin Android native (C/C++) users will now be able to: Build Android native Libraries (.so and .a) using Visual Studio Debug their Android native using a powerful debugging experience © 2015 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Unity

Visual Studio Tools for Unity Build 2015 4/22/2017 5:37 PM Visual Studio Tools for Unity Its Free Use Visual Studio to edit & debug code Integrates VS with Unity Provides Shader syntax highlighting Code templates Intellisense Full debugging support VSTU © 2015 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Diagnostics Visual Studio Graphics Debugger Build 2015 4/22/2017 5:37 PM Diagnostics Visual Studio Graphics Debugger Now with full Unity support Supports Single or multi frame capture Frame level debugging Memory profiling Visual Studio 2013 CTP5 and above © 2015 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.