Mobile development with visual studio
-
Upload
sergey-seletsky -
Category
Technology
-
view
261 -
download
2
Transcript of Mobile development with visual studio
![Page 1: Mobile development with visual studio](https://reader030.fdocuments.us/reader030/viewer/2022032501/55b6e637bb61eb7d688b4677/html5/thumbnails/1.jpg)
Mobile Developmentwith
Visual Studio
Sergey Seletsky© 2015 SoftServe Inc. All rights reserved.
![Page 2: Mobile development with visual studio](https://reader030.fdocuments.us/reader030/viewer/2022032501/55b6e637bb61eb7d688b4677/html5/thumbnails/2.jpg)
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](https://reader030.fdocuments.us/reader030/viewer/2022032501/55b6e637bb61eb7d688b4677/html5/thumbnails/3.jpg)
![Page 4: Mobile development with visual studio](https://reader030.fdocuments.us/reader030/viewer/2022032501/55b6e637bb61eb7d688b4677/html5/thumbnails/4.jpg)
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](https://reader030.fdocuments.us/reader030/viewer/2022032501/55b6e637bb61eb7d688b4677/html5/thumbnails/5.jpg)
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](https://reader030.fdocuments.us/reader030/viewer/2022032501/55b6e637bb61eb7d688b4677/html5/thumbnails/6.jpg)
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](https://reader030.fdocuments.us/reader030/viewer/2022032501/55b6e637bb61eb7d688b4677/html5/thumbnails/7.jpg)
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](https://reader030.fdocuments.us/reader030/viewer/2022032501/55b6e637bb61eb7d688b4677/html5/thumbnails/8.jpg)
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](https://reader030.fdocuments.us/reader030/viewer/2022032501/55b6e637bb61eb7d688b4677/html5/thumbnails/9.jpg)
Xamarin & Visual Studio
![Page 10: Mobile development with visual studio](https://reader030.fdocuments.us/reader030/viewer/2022032501/55b6e637bb61eb7d688b4677/html5/thumbnails/10.jpg)
.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](https://reader030.fdocuments.us/reader030/viewer/2022032501/55b6e637bb61eb7d688b4677/html5/thumbnails/11.jpg)
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](https://reader030.fdocuments.us/reader030/viewer/2022032501/55b6e637bb61eb7d688b4677/html5/thumbnails/12.jpg)
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](https://reader030.fdocuments.us/reader030/viewer/2022032501/55b6e637bb61eb7d688b4677/html5/thumbnails/13.jpg)
Universal Windows Apps
Share XAML UI
![Page 14: Mobile development with visual studio](https://reader030.fdocuments.us/reader030/viewer/2022032501/55b6e637bb61eb7d688b4677/html5/thumbnails/14.jpg)
The design to each device
![Page 15: Mobile development with visual studio](https://reader030.fdocuments.us/reader030/viewer/2022032501/55b6e637bb61eb7d688b4677/html5/thumbnails/15.jpg)
Visual C++ Cross Platform
![Page 16: Mobile development with visual studio](https://reader030.fdocuments.us/reader030/viewer/2022032501/55b6e637bb61eb7d688b4677/html5/thumbnails/16.jpg)
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](https://reader030.fdocuments.us/reader030/viewer/2022032501/55b6e637bb61eb7d688b4677/html5/thumbnails/17.jpg)
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](https://reader030.fdocuments.us/reader030/viewer/2022032501/55b6e637bb61eb7d688b4677/html5/thumbnails/18.jpg)
Development tools for C++ cross-platform
![Page 19: Mobile development with visual studio](https://reader030.fdocuments.us/reader030/viewer/2022032501/55b6e637bb61eb7d688b4677/html5/thumbnails/19.jpg)
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](https://reader030.fdocuments.us/reader030/viewer/2022032501/55b6e637bb61eb7d688b4677/html5/thumbnails/20.jpg)
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](https://reader030.fdocuments.us/reader030/viewer/2022032501/55b6e637bb61eb7d688b4677/html5/thumbnails/21.jpg)
Visual Studio Tools for Apache
Cordova™
![Page 22: Mobile development with visual studio](https://reader030.fdocuments.us/reader030/viewer/2022032501/55b6e637bb61eb7d688b4677/html5/thumbnails/22.jpg)
Best practice
• Use technology you knows• Cover all platforms first• Automate everything first
![Page 23: Mobile development with visual studio](https://reader030.fdocuments.us/reader030/viewer/2022032501/55b6e637bb61eb7d688b4677/html5/thumbnails/23.jpg)
Q&A
![Page 24: Mobile development with visual studio](https://reader030.fdocuments.us/reader030/viewer/2022032501/55b6e637bb61eb7d688b4677/html5/thumbnails/24.jpg)
Resources
Get Visual Studio 2015 RC
www.visualstudio.com
![Page 25: Mobile development with visual studio](https://reader030.fdocuments.us/reader030/viewer/2022032501/55b6e637bb61eb7d688b4677/html5/thumbnails/25.jpg)
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.