Using C++ in your Windows Phone Applications Talk will be repeated tomorrow morning at 8:30 in 33/McKinley Peter Torr, ptorr@microsoft.com Program Manager.

Slides:



Advertisements
Similar presentations
Android Application Development A Tutorial Driven Course.
Advertisements

Introduction to the Windows Runtime (WinRT) Ben Dewey Tallan, Inc.
Or: The Ampersand Recovery && Reinvestment Act of 2010 Stephan T. Lavavej Visual C++ Libraries Developer 1Version April 28, 2009.
Tampa Bay Windows Developers User Group File…New…Metro Jan 18th 2012
Native iOS, Android and Windows Development Microsoft | Xamarin.
CROSS PLATFORM DEVELOPMENT WITH MVVM CROSS By Ken Tucker.
Source: AppBrain, April 2015 Native Wrapper Your JavaScript App.
James Montemagno Developer Evangelist, Xamarin Developing Native iOS, Android, and Windows Apps in C# with Xamarin.
Asst.Prof.Dr.Ahmet Ünveren SPRING Computer Engineering Department Asst.Prof.Dr.Ahmet Ünveren SPRING Computer Engineering Department.
Agenda Unit Test Framework for the XAML app developer Automated end-user testing using Coded UI Test Q&A.
Introduction to Android Platform Overview
James Montemagno Developer Evangelist, Xamarin Developing Native iOS, Android, & Windows Apps with C#, Xamarin, and Visual Studio 2015.
Introducing Xamarin 2.0 Introducing Xamarin 2.0 Michael Hutchinson
UFCFX5-15-3Mobile Device Development UFCFX Mobile Device Development An Introduction to the Module.
Cross Platform Mobile Backend with Mobile Services James
Mobile Application Development with ANDROID Tejas Lagvankar UMBC 29 April 2009.
Developing Mobile Applications using MVVM with Xamarin Forms
Best Design Practices Using the Qt Runtime SDK (using QML)
@2011 Mihail L. Sichitiu1 Android Introduction Platform Overview.
Windows Windows Phone Azure … and WakeUpAndCode.com.
Developing Enterprise Mobile Apps with Xamarin Loren Horsager CEO, Mobile Composer.
Understanding Xamarin Development Matt
Windows 8 for Existing.NET Developers Tim Heuer Program Manager Windows Developer Experience Microsoft Corporation.
Welcome back to C++ RValue referencesForward declared enumsBidirectional fences static_assertAlignmentData-dependency ordering AutoStandard-layout.
C++98 Initial Standard ~7 years C++03 Revised standard Limited to bug fixing ~ 5 years TR1 Pure library extension ~3 years C++11 Significant new features.
The way of hybrid mobile development Hybrid Mobile Applications Telerik Software Academy
Tim Program Manager, Developer Platform
Building Windows Phone applications with Silverlight, part 2 Peter Torr Program Manager, Microsoft
04 |Sharing Code Between Windows 8 and Windows Phone 8 in Visual Studio Ben Riga
Android operating system N. Sravani M. Tech(CSE) (09251D5804)
/DEV/TM #1 Building Cross-Platform Apps with Xamarin and MvvmCross Flavius-Radu DEMIAN.
Your Host & Speaker Shahed Chowdhuri Sr. Technical Microsoft Technology Areas Enterprise Web/Software Development Game Development Mobile.
QML and JavaScript for Native App Development Michael Tims Jen Trieu.
61% YoY Growth.NET Active Developers (VS 2012+) 40%.NET Core downloads by new developers 62% GitHub contributions from outside of Microsoft (corefx.
What is it all about? .NET MeetUp in Prague, CZ (2017/7/19)
12/29/2017 2:33 PM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
Introduction to Xamarin C# Everywhere
The Xamarin Promise - Realized
Xamarin Studio Xamarin Curriculum for Xamarin Studio
5/15/2018 5:43 PM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
Windows Azure Jeffrey Ferman Program Manager 3-006
ASP.NET Core: Web apps, cloud apps, and containers
6/2/2018 4:08 AM BRK3327 Ten things you didn't know about building .NET UWP apps in Visual Studio 2017 Daniel Jacobson Program Manager – Visual Studio.
Architecture of Android
6/12/2018 3:52 PM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
volevi Windows Phone 8 SDK Update Puhn Chaturaphit
Discover the New SharePoint Content Publishing Experiences
Apache Cordova Overview
WP8 XAML App Development
Windows Azure Jason Olson, Program Manager 4-142
Did your feature got in, out or planned?
New Features in NetBeans Platform 6.5.
Leveraging your existing code base for Windows 8
CMPE419 Mobile Application Development
1.1. .NET architectural components and .NET Core
Marian Luparu Program Manager Microsoft Session Code: DEV308
Microsoft Build /22/2018 3:05 AM © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY,
Updated Agenda 12:00PM–1:00PM | Session #1 1:00PM–2:00PM | Lunch.
What is it all about? .NET MeetUp in Amsterdam, NL (2017/7/11)
DotnetConf 11/14/2018 3:27 AM © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE.
Microsoft Ignite /14/ :21 AM BRK2101
Learn. Imagine. Build. .NET Conf
TechEd /24/2018 5:09 AM © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered.
3D applications in Delphi
Building Metro style apps with XAML with .NET
Build /23/2019 © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks.
Microsoft Office 4/3/2019 Deep Dive into native Universal App development with the Office 365 APIs Speaker name Title Microsoft Corporation © 2012 Microsoft.
Windows Phone Developer Platform
CMPE419 Mobile Application Development
11/11/2019 1:15 PM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
Presentation transcript:

Using C++ in your Windows Phone Applications Talk will be repeated tomorrow morning at 8:30 in 33/McKinley Peter Torr, ptorr@microsoft.com Program Manager Windows Phone Developer Platform 3-049

Agenda C++ support in Windows Phone 8 When and why to use C++ Introduction to Windows (Phone) Runtime ~30 minutes of demos!

Welcome back to C++

C++ support in Windows Phone 8 Visual C++ 2012 Same as Windows 8 New C++11 features

C++ support in Windows Phone 8 RValue references Forward declared enums Bidirectional fences static_assert Alignment Data-dependency ordering Auto Standard-layout and trivial types exception_ptr Trailing return types Extended friend declarations Thread-local storage Lambdas Local and unnamed types as template arguments __func__ Decltype Range-based for-loop C99 preprocessor Right angle brackets override and final long long extern templates Minimal GC support nullptr Atomics Strongly typed enums Strong compare and exchange A sampling of C++ language features supported in Windows Phone 8 Derived from http://msdn.microsoft.com/en-us/library/hh567368.aspx

Quick tour of C++ features Demo Brief walk-through of key C++ features Direct3D default template

When and why to use C++

Using C++ in Windows Phone apps All Windows Phone 8 apps can use native code Direct3D games: Pure native XAML apps: Native compute + Direct3D ...but not all apps need to use native code See 3-046 for more on native games

1 Portability Performance 2 Reusability 3 Top 3 use cases for C++ There is no requirement to use C++ in your XAML apps 1 Portability Performance 2 Reusability 3

C++ code re-use Demo Using legacy code in Windows Phone 8 apps

Introduction to Windows (Phone) Runtime reinterpret_cast<Phone>(WindowsRuntime)

What is the Windows Runtime? Infrastructure Core plumbing Common type system Standard programming model Windows Phone features Libraries you write (or license) Projected to C++ and C# / VB What is the Windows Runtime? APIs

When is the Windows Runtime used? Calling APIs Native / Managed Interop Direct3D game app model

Windows Runtime Demo Calling APIs from C# Creating a component in C++ and using from C# The magic of async

Writing portable components

Sharing code across platforms With iOS and Android: Standard C and C++ Common libraries Middleware providers With Windows 8, add: Windows Runtime Win32 and COM See 3-043 for more on Windows 8 portability

Using SQLite in Windows Phone 8 Demo Real-world example of common open source library Another look at async

Wrap-up

Key takeaways for using C++ All Windows Phone 8 apps can use C++ C++ enables portability and code re-use Windows Runtime is the key to unlocking APIs

Please fill out an evaluation form!

Related sessions (live or on-line) Title Speaker 3-046 Native C/C++ Game Development Sam George 3-047 Networking, Bluetooth, and NFC Proximity for Developers Tim Laverty 3-043 How to leverage your code across WP8 and Windows 8 Andrew Byrne et al 2-018 Photo and Lens Apps Eric Bennett 4-001 The power of C++ - Project Austin (not phone specific, but a great talk) Ale Contenti