Mobile development with visual studio
-
Upload
sergey-seletsky -
Category
Technology
-
view
261 -
download
2
Transcript of Mobile development with visual studio
Mobile Developmentwith
Visual Studio
Sergey Seletsky© 2015 SoftServe Inc. All rights reserved.
Agenda
• What's new today?• Why Visual Studio?• Cross Platform Apps• Mobile Development
Strategy• Tools• Xamarin• Visual C++• Cordova
More Platforms = More Opportunities
• Mobile users want to use same applicationacross devices
• Developers want to target many platforms
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
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
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
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
Xamarin & 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
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
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
Universal Windows Apps
Share XAML UI
The design to each device
Visual C++ Cross Platform
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
.ipa.apk.appx Shared C++ backend is compiled as:
XAMLCxC#
PinvokeC++ Wrapper
Java/C++ JNI Wrappers
ObjC Wrapper
XMLJava
Cocoa Touch
Shared C++ BackendDropBox
Development tools for C++ cross-platform
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
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
Visual Studio Tools for Apache
Cordova™
Best practice
• Use technology you knows• Cover all platforms first• Automate everything first
Q&A
Resources
Get Visual Studio 2015 RC
www.visualstudio.com
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.