3-714.pptx

Building Cross-Platform Mobile Apps in C++ with Visual Studio 2015

1.0x

3-714.pptx

Created 2 years ago

Duration 0:00:00
lesson view count 34
Building Cross-Platform Mobile Apps in C++ with Visual Studio 2015
Select the file type you wish to download
Slide Content
  1. 3-714

    Slide 1 - 3-714

    • Building Cross-Platform Mobile Apps in C++ with Visual Studio 2015
    • Ankit Asthana
    • Senior Program Manager
    • //build/ content is being presented by Microsoft Office Mix The video for this session will be available shortly
  2. Slide 2

    • More Platforms = More Opportunities
    • Mobile users want to use same applicationacross devices
    • Developers want to target many platforms
  3. Slide 3

    • iOS
    • Android
    • Windows
    • The Silo Approach
    • C#, C++/CX
    • ObjC, Swift
    • Java
    • Benefits
    • Full native experience
    • Total access to the device as providedby the SDK
    • Negatives
    • Minimal code reuse
    • Higher development cost
    • One platform becomes the dominant platform
  4. Slide 4

    • Trivia!
    • Android
    • Java
    • How many of the top 50 applications on the Android Playstore (U.S.)leverage C++ code?
    • None
    • 10%
    • 40%
    • 80%
  5. Slide 5

    • Trivia!
    • Android
    • Java--------------C++
    • How many of the top 50 applications on the Android Playstore (U.S.)leverage C++ code?
    • None
    • 10%
    • 40%
    • 80%
  6. Slide 6

    • Top 50 Android Playstore applications (U.S.)
    • Android
    • Java--------------C++
    • Facebook Messenger
    • Facebook
    • Pandora
    • Clean Master
    • Go Keyboard
    • Instagram
    • SnapChat
    • Super-Bright LED
    • Candy Crush Soda
    • Spotify
    • CrossRoads
    • Netflix
    • Subway Surfers
    • Kik
    • WhatsApp Messenger
    • Skype
    • Clash of Clans
    • Jelly Jump
    • DubsMash
    • Temple Run 2
    • Surgery Simulator
    • Pinterest
    • Candy Crush Saga
    • CM Security Antivirus
    • Trivia Crack
    • Zedge Ringtones
    • Apus Launcher
    • Bingo Crush
    • Amazon Shipping
    • Texas Holdem
    • ZigZag
    • 8 ball pool
    • Yahoo Mail
    • Game of War
    • Despicable Me
    • Fast and Furious Legacy
    • Five Nights at Freddy’s
    • Sound Cloud – Music and Audio
    • iHeart Radio
    • Twitter
    • Fruit Ninja Free
    • The Weather Channel
    • Flow Free 2
    • Minicraft
    • Magic Piano
    • ooVoo video call
    • Solitare
    • Wish Shopping Made Fun
    • Google Earth
    • Angry Birds
  7. Slide 7

    • iOS
    • Android
    • Windows
    • C++ the common denominator
    • C#, CX
    • ObjC, Swift
    • Java
    • ---------- C++
    • ---------- C++
    • ---------- C++
    • Benefits
    • Full native experience
    • Total access to the device as providedby the SDK
    • Code Reuse
    • Performance
    • Security
  8. Slide 8

    • C++ the common denominator
    • .ipa
    • .apk
    • .appx
    • .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)
    • Static library (.a)
    • Shared C++ backend is compiled as:
    • XAML
    • Cx
    • C#
    • PinvokeC++ Wrapper
    • Java/C++ JNI Wrappers
    • ObjC Wrapper
    • XML
    • Java
    • Cocoa Touch
    • Shared C++ Backend
    • DropBox
  9. Slide 9

    • Compilers
    • Visual C++ Compiler
    • GCC
    • Clang/LLVM
    • 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
    • Development tools for C++ cross-platform
  10. Slide 10

    • 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)
  11. Slide 11

    • 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
    • Visual Studio 2015
    • Visual Studio 2015 RC
  12. Slide 12

    • Demo 1: Developing for the Android Platform
    • Description
    • More TeaPots Native-Activity Android application. Mostly ‘C++’ code with a little Java wrapper
    • Feature Capabilities
    • Building Android Native-Activity application
    • Clang – GCC toolchain
    • Android Code Editing (Refactoring, Intellisense)
    • Android Native Debugger
    • Logcat Viewer
    • Fast Emulation
  13. Slide 13

    • Demo 2: Building a C++ cross-platform mobile application
    • Description
    • An OpenCV based Image Manipulation cross-platform applicationtargeting the Android and Windows platform
    • Feature Capabilities
    • Cross-Platform Mobile Application
    • Easily share code easily across mobile-platforms
    • Cross-Platform productivity features (Intellisense, refactoring)
    • Powerful debugging (NATVIS)
    • Build Simultaneously
  14. Slide 14

    • Demo 3: Debugging an existing Android Application
    • Description
    • Debug a pre-existing Android Application in Visual Studio.
    • The Application is large:- BingMaps Android Application.
    • Feature Capabilities
    • Debug pre-existing Android Application
    • For more information: refer to this blog
  15. Slide 15

    • 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
  16. Slide 16

    • Demo 4: Building iOS applications using Visual Studio
    • Description
    • Cross-Platform OpenGL ES application targeting the iOS and AndroidPlatform.
    • Feature Capabilities
    • Building iOS binaries
    • Code Sharing across multiple platforms (iOS and Android)
    • Code Editing (Intellisense, Refactoring etc.) for iOS
    • Debugging iOS C++ code
    • Fast Deployment
  17. Slide 17

    • 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
    • For more information: refer to this blog
  18. Slide 18

    • Resources
    • https://www.visualstudio.com/en-us/features/cplusplus-mdd-vs.aspx
    • blogs.msdn.com/b/vcblog/
    • Email: aasthan@microsoft.com