Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Cross Platform Mobile Development with Visual Studio 2015 and C++

1,240 views

Published on

Utah Code Camp, Spring 2016. http://utahcodecamp.com In this presentation, I give an overview of using Visual Studio 2015 for cross-platform development in C++.

Published in: Software
  • DOWNLOAD THIS BOOKS INTO AVAILABLE FORMAT (2019 Update) ......................................................................................................................... ......................................................................................................................... Download Full PDF EBOOK here { https://soo.gd/irt2 } ......................................................................................................................... Download Full EPUB Ebook here { https://soo.gd/irt2 } ......................................................................................................................... Download Full doc Ebook here { https://soo.gd/irt2 } ......................................................................................................................... Download PDF EBOOK here { https://soo.gd/irt2 } ......................................................................................................................... Download EPUB Ebook here { https://soo.gd/irt2 } ......................................................................................................................... Download doc Ebook here { https://soo.gd/irt2 } ......................................................................................................................... ......................................................................................................................... ................................................................................................................................... eBook is an electronic version of a traditional print book THIS can be read by using a personal computer or by using an eBook reader. (An eBook reader can be a software application for use on a computer such as Microsoft's free Reader application, or a book-sized computer THIS is used solely as a reading device such as Nuvomedia's Rocket eBook.) Users can purchase an eBook on diskette or CD, but the most popular method of getting an eBook is to purchase a downloadable file of the eBook (or other reading material) from a Web site (such as Barnes and Noble) to be read from the user's computer or reading device. Generally, an eBook can be downloaded in five minutes or less ......................................................................................................................... .............. Browse by Genre Available eBooks .............................................................................................................................. Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, Cookbooks, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult, Crime, Ebooks, Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, ......................................................................................................................... ......................................................................................................................... .....BEST SELLER FOR EBOOK RECOMMEND............................................................. ......................................................................................................................... Blowout: Corrupted Democracy, Rogue State Russia, and the Richest, Most Destructive Industry on Earth,-- The Ride of a Lifetime: Lessons Learned from 15 Years as CEO of the Walt Disney Company,-- Call Sign Chaos: Learning to Lead,-- StrengthsFinder 2.0,-- Stillness Is the Key,-- She Said: Breaking the Sexual Harassment Story THIS Helped Ignite a Movement,-- Atomic Habits: An Easy & Proven Way to Build Good Habits & Break Bad Ones,-- Everything Is Figureoutable,-- What It Takes: Lessons in the Pursuit of Excellence,-- Rich Dad Poor Dad: What the Rich Teach Their Kids About Money THIS the Poor and Middle Class Do Not!,-- The Total Money Makeover: Classic Edition: A Proven Plan for Financial Fitness,-- Shut Up and Listen!: Hard Business Truths THIS Will Help You Succeed, ......................................................................................................................... .........................................................................................................................
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here

Cross Platform Mobile Development with Visual Studio 2015 and C++

  1. 1. Richard Thomson Principal Architect for Modeling, Daz 3D legalize@xmission.com @LegalizeAdulthd LegalizeAdulthood.wordpress.com
  2. 2. Thanks to our Sponsors! Community Sponsor Yearly Sponsor Marquee Sponsor
  3. 3. About Me...  Meetup organizer:  Utah C++ Programmers (2nd Wednesday)  Salt Lake City Software Craftsmanship (1st Thursday)  3D Modelers (3rd Tuesday)  C++ language track on exercism.io  Polyglot developer  Currently: C++, JavaScript/NodeJS  Previously: C#, JavaScript/NodeJS, Python, Java  Distantly: C, Perl, FORTRAN, LISP, FORTH, Assembly, TECO  Different languages have their strengths  Leverage strengths where appropriate
  4. 4. Why C++ for Mobile?  Write once, run everywhere  Seriously!  Modern C++ is more familiar than you think  Come to "Modern C++", 3:40 pm, Room 5130 for more
  5. 5. No, really. Why C++ for Mobile?  Rich variety of abstraction mechanisms  Directly express concepts in code  Execution model maps directly to the machine  Wisely use precious battery life  Deterministic resource allocation  Hold onto resources only for as long as you need them and no longer  No garbage collection  Responsive UI, even when chewing on lots of data
  6. 6. Case Study: DropBox  Started with platform specific apps  Write everything twice!  Debug everything twice!  Ship everything twice! (and not at the same time)  Switched to MVVM architecture  View: Thin platform-specific UI layer (Java/ObjC)  Thin platform-specific services layer (Java/ObjC)  Model, ViewModel: C++  Share business logic and UI logic between platforms  Write almost everything once
  7. 7. DropBox Deep Dive on YouTube  CppCon 2014: T. Grue & S. Kabbes "From the DropBox Trenches: A Deep Dive into 2 Cross-Platform Mobile Apps Written in C++"  CppCon 2014: Alex Allain & Andrew Twyman "Practical Cross-Platform Mobile C++ Development"  CppCon 2015: Jacob Potter & Andrew Twyman “Bridging Languages Cross-Platform: Djinni Implementation Techniques"
  8. 8. Why Visual Studio?  Single IDE for all platforms  Platform-specific IntelliSense:  code completion  code navigation  Single debugger experience  Fast, full-featured Android emulator  Networked connection to Mac host for iOS debugging
  9. 9. Android Development Features  Supported Versions  4.4 "KitKat", API Level 19  5.0 "Lollipop", API Level 21  Emulator features include  OpenGL ES 2.0  Multi-touch gestures  Advanced camera simulation  WiFi network simulation  Debug directly from VS  Integrated LogCat viewer  Debugger visualizations  Externally built native activity apps  Can attach to running APKs  Stripped debugging to reduce deployment size  Deploy, Debug directly from VS to emulator or device
  10. 10. iOS Development Features  Supports versions 6, 7, and 8  Debug directly from Visual Studio  Need a connected Mac to deploy and debug on devices only (no emulator)
  11. 11. Universal Windows Platform  Can also do Universal Windows Platform applications  ...but not the subject of this talk :)
  12. 12. Installation
  13. 13. Android Project Templates
  14. 14. Android/iOS OpenGL ES App
  15. 15. Android Emulator
  16. 16. Launching the Emulator
  17. 17. Selecting a Device
  18. 18. Android Debugger Demo
  19. 19. iOS Project Templates
  20. 20. iOS Import from XCode
  21. 21. iOS Building and Debugging  Configure Mac pair machine in Tools / Options  Used for building iOS application  Xcode build output is shown in VS output pane  Debugging is done remotely via gdb  Displayed locally in VS as if you were debugging on Windows  Can issue commands directly to gdb if desired

×