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

Mobile development with visual studio

Embed Size (px)

Citation preview

Page 1: Mobile development with visual studio

Mobile Developmentwith

Visual Studio

Sergey Seletsky© 2015 SoftServe Inc. All rights reserved.

Page 2: Mobile development with visual studio

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
Page 4: Mobile development with visual studio

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

Universal Windows Platform

Middleware Platforms

Middleware Partners (e.g., Xamarin)

Game Engine Partners (e.g., Unity)

Other Mobile Platforms

‘Project A’ (Java/C++)

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

Windows PlatformUniversal 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

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

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

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

Xamarin & Visual Studio

Page 10: Mobile development with visual studio

.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 Native UI Native UI

Shared client app C# logic

Page 11: Mobile development with visual studio

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

iOS app designer in Visual Studio

Android app designer in Visual Studio

Page 12: Mobile development with visual studio

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

Universal Windows Apps

Share XAML UI

Page 14: Mobile development with visual studio

The design to each device

Page 15: Mobile development with visual studio

Visual C++ Cross Platform

Page 16: Mobile development with visual studio

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

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

Development tools for C++ cross-platform

Page 19: Mobile development with visual studio

Visual Studio Emulator for Android

Fast, x86 image built from AOSP

Runs on Hyper-V

Comes with Visual Studio

Speaks 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

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

Visual Studio Tools for Apache

Cordova™

Page 22: Mobile development with visual studio

Best practice

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

Page 23: Mobile development with visual studio

Q&A

Page 24: Mobile development with visual studio

Resources

Get Visual Studio 2015 RC

www.visualstudio.com

Page 25: Mobile development with visual studio

THANK YOU

Sergey SeletskySoftware Architect

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

European HQ2a Sadova Street, Lviv 79021, UkraineTel: +380-32-240-9090 Fax: +380-32-240-9080Email: [email protected]

© 2015 SoftServe Inc. All rights reserved.