mobile development with visual studio by sergey seletsky

25
Mobile Development with Visual Studio Sergey Seletsky © 2015 SoftServe Inc. All rights rese

Upload: softserve

Post on 14-Apr-2017

529 views

Category:

Mobile


0 download

TRANSCRIPT

Page 1: Mobile Development with Visual Studio by Sergey Seletsky

Mobile Developmentwith Visual Studio

Sergey Seletsky© 2015 SoftServe Inc. All rights reserved.

Page 2: Mobile Development with Visual Studio by Sergey Seletsky

Agenda• What's new today?• Why Visual Studio?• Cross Platform Apps• Mobile Development

Strategy• Tools• Xamarin• Visual C++• Cordova

Page 3: Mobile Development with Visual Studio by Sergey Seletsky
Page 4: Mobile Development with Visual Studio by Sergey Seletsky

More Platforms = More Opportunities

• Mobile users want to use same applicationacross devices

• Developers want to target many platforms

Page 5: Mobile Development with Visual Studio by Sergey Seletsky

Universal Windows Platform

Middleware PlatformsMiddleware Partners (e.g., Xamarin)Game Engine Partners (e.g., Unity)

Other Mobile Platforms

‘Project A’ (Java/C++)

‘Project I’ (Objective C/C++)

Windows Platform

Universal Windows 8 Apps (C++/C#/JS)

Universal Windows 10 Apps (C++/C#/JS)

‘Project C’ (Classic Applications)

Web Platform‘Project Spartan’ Rendering Engine

Cordova Tooling (HTML/JS)

‘Project W’ (Web Apps – HTML/JS)

Universal Windows Platform

DesktopMobile

XboxIoT

Holographic Surface Hub

Universal Windows Platform

Page 6: Mobile Development with Visual Studio by Sergey Seletsky

Objective-CIntegrated Visual Studio Development

Xcode projects imported to Visual Studio

Integrated language support: syntax highlighting, autocomplete

Full debugging: breakpoints, stack traces, …

Universal API Interop

Page 7: Mobile Development with Visual Studio by Sergey Seletsky

Mobile App Development Strategies

Limited access to device capabilities Web performanceDevice-independentEasier management

Web technologies

Full access to device capabilitiesNative performanceHighly customized per device

Native platform technologies

Page 8: Mobile Development with Visual Studio by Sergey Seletsky

Developer tools

HTMLBrowser-based applicationsVisual Studio tools forApache Cordova

Visual C++ for cross-platWin32C++

Desktop apps – WPFUniversal Windows Apps.NET

Rich experiences Breadth of devices

Page 9: Mobile Development with Visual Studio by Sergey Seletsky

Xamarin & Visual Studio

Page 10: Mobile Development with Visual Studio by Sergey Seletsky

.NET and XamarinShare 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 Native UI Native UI

Shared client app C# logic

Page 11: Mobile Development with Visual Studio by Sergey Seletsky

UI designCreate UI with drag and drop simplicityTarget multiple screen sizes, resolutions, and OS platform and versionsLayouts saved in native resource formatsWorld’s best Android designer available in Visual Studio

iOS app designer in Visual Studio

Android app designer in Visual Studio

Page 12: Mobile Development with Visual Studio by Sergey Seletsky

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

Page 13: Mobile Development with Visual Studio by Sergey Seletsky

Universal Windows Apps

Share XAML UI

Page 14: Mobile Development with Visual Studio by Sergey Seletsky

The design to each device

Page 15: Mobile Development with Visual Studio by Sergey Seletsky

Visual C++ Cross Platform

Page 16: Mobile Development with Visual Studio by Sergey Seletsky

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

Page 17: Mobile Development with Visual Studio by Sergey Seletsky

C++ the common denominator.ipa.apk.appx Shared C++ backend is compiled as:

XAMLCxC#

PinvokeC++ Wrapper

Java/C++ JNI Wrappers

ObjC Wrapper

XMLJava

Cocoa Touch

Shared C++ BackendDropBox

Page 18: Mobile Development with Visual Studio by Sergey Seletsky

Development tools for C++ cross-platform

Page 19: Mobile Development with Visual Studio by Sergey Seletsky

Visual Studio Emulator for Android

Fast, x86 image built from AOSPRuns on Hyper-VComes with Visual StudioSpeaks Android Debugging Native capabilities and sensors

Zoom, Rotation, Network, Location, Accelerometer, Battery, OpenGLSD Card, Camera, Audio playback, Keyboard Input, Screenshots,Version and Screen Size Configurations, Drag&Drop APKs

Page 20: Mobile Development with Visual Studio by Sergey Seletsky

Tools for Apache Cordova

• 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• Interops with common command-line tools

Hybrid HTML apps

Cordova tooling in Visual Studio

• Natural path for web developers targeting devices

Black Box

CSS | HTMLJavaScript | TypeScript

Page 21: Mobile Development with Visual Studio by Sergey Seletsky

Visual Studio Tools for Apache Cordova™

Page 22: Mobile Development with Visual Studio by Sergey Seletsky

Best practice• Use technology you knows• Cover all platforms first• Automate everything first

Page 23: Mobile Development with Visual Studio by Sergey Seletsky

Q&A

Page 24: Mobile Development with Visual Studio by Sergey Seletsky

Resources

Get Visual Studio 2015 RC

www.visualstudio.com

Page 25: Mobile Development with Visual Studio by Sergey Seletsky

Thank you

USA TELEPHONEToll-Free: 866.687.3588Office: 239.690.3111

[email protected] WEBSITE:www.softserveinc.com

EUROPE OFFICESUnited KingdomGermanyNetherlandsUkraineBulgaria

US OFFICESAustin, TXFort Myers, FLBoston, MANewport Beach, CASalt Lake City, UT

Sergey SeletskySoftware Architect

[email protected]://www.linkedin.com/in/sergeyseletsky