SlideShare ist ein Scribd-Unternehmen logo
1 von 47
Downloaden Sie, um offline zu lesen
nick.landry@microsoft.com
www.AgeofMobility.com
@ActiveNick



 http://www.bigbaldapps.com







 www.AgeofMobility.com
 @ActiveNick
2005-2014
Windows brings apps to life
Windows provides apps with more ways to engage users,
both on device and across all of their Windows screens
Design once to engage everywhere
Developers can use universal Windows apps to design an
one app that can target every Windows screen
Build faster with Visual Studio
New shared projects for Universal Windows apps allow
developers to share as much or as little between Windows
and Windows Phone projects
Converged web browser
• WP 7.5 shipped with IE9
• Same rendering + JavaScript engine
Aligned user experience
• Modern UI on WP + Xbox 360
Aligned dev platform
• Games: DirectX; XNA
• Apps: XAML + XAML (WPF; SL)
Converged core (NT kernel)
• Common kernel & file system
• Converged driver model
• Converged networking stack
• Secure boot & storage encryption
(BitLocker)
Aligning user experience
• Live tiles on Windows
Aligning the dev platform
• Aligned UI frameworks:
XAML; DirectX; C++
• Converged API for sensors & IAP
• Converged Web Browser: IE10
Converged dev platform
• Converged WinRT app model
on Windows, Windows Phone, Xbox
• Converged roaming + credentials
• Better HTML5/web support via IE
Aligning the Stores
 Aligned processes and policies
 Shared dev registration
• Shared entitlement
Improved App Experience
• Proximity & location frameworks
• Security & identity
• Background execution
| |
A converged developer platform enables you to do more with the same code and skillset
Universal Windows apps
• One Visual Studio solution with three nodes
• Two UI node (One for phone; one for client)
• One shared code node (WinRT apps only)
Linked apps
Devs can be link their Store apps using a common
PFN (Product Family Number) across client + phone
New tooling and app linking makes it easy to engage everywhere
Visual Studio streamlines developing universal
Windows apps
You can tailor the design to each device
Shared projects to build universal apps
• One shared project solution in Visual Studio
• Project creates two AppX packages (one per Store)
• Shared dev and test tooling for both platforms
IDE improvements
C#
#if WINDOWS_PHONE_APP
Windows.Phone.UI.Input.HardwareButtons.BackPressed +=
this.HardwareButtons_BackPressed;
#endif
C++
#if WINAPI_FAMILY==WINAPI_FAMILY_PHONE_APP
_backPressedEventToken = HardwareButtons::BackPressed +=
ref new EventHandler<BackPressedEventArgs^>(this,
&NavigationHelper::HardwareButton_BackPressed);
#endif





Portable
Class Libraries
I compile just once
and know it works
on all platforms
Shared
Projects
I can easily include
platform-specific code
under #if or partial
classes
New! Improved!
Windows Runtime (WinRT) is the shared
runtime and API space used across
the Windows platform (phone + client)
API coverage for Store app scenarios
• In 8.0, we had ~30% API convergence
 In 8.1, we move well past 90%+ convergence
 Common contract support now converged:
Launch; Share; CachedFileUpdater; FilePicker
 Most non-converged APIs are form-factor specific
(SMS/phone calls; Direct Access)
Keep using Windows Phone Silverlight 8.0 / 8.1 for these features / apps










80% exact same XAML 20% custom
Common SignatureOptimized
DatePicker
TimePicker
CommandBar
Button
CheckBox
RadioButton ProgressBar
Slider
ToggleSwitch
Hub
Pivot
ListView
GridView
AppBar
SysTray
Windows Windows Phone












<Page.BottomAppBar>
<CommandBar>
<AppBarButton Icon="Accept" Label="Accept" />
<AppBarButton Icon="Cancel" Label="Cancel" />
<CommandBar.SecondaryCommands>
<AppBarButton x:Uid="AboutAppBarButton" Icon="Help" />
<AppBarButton x:Uid="HomeAppBarButton" Icon="Home" />
</CommandBar.SecondaryCommands>
</CommandBar>
</Page.BottomAppBar>













#if WINDOWS_PHONE_APP
Windows.Phone.UI.Input.HardwareButtons.BackPressed += HardwareButtons_BackPressed;
#endif





2560 x 1440
1920 x 1080
1366 x 768450 x 800
to scale
Scale Factors and Effective Resolution
384 x 683
Provides a common layout coordinate system
that extends along the x and y axis into infinity,
allowing you to scale up
 Physical screen size determines
how much of this canvas is available
 Works for all screen sizes across the
entire Windows platform
10”
tablet
7” tablet
6”
5”
4.5”
Infinite virtual canvas
166 Logical DPI
Windows uses a virtual layout canvas to enable your app to light-up the experience most appropriate to the screen
Converged background task model
• Improved background agents make your app more agile
• New triggers and conditions increase user engagement
Background agent improvements
New trigger-based execution options
A single place for all your missed notifications
 FIFO processing
 Limit of 20 notifications per app
 Retained only for 7 days
Notification management



The Action Center provides fresh and relevant information while preserving glance + go







720p
Manifest(s)
1080p Spanish
German
Italian
French
EnglishWVGA
DLLs
Start screen backup
Configuration data can roam with the user
• Sync engine transfers data periodically based on triggers
(user idle, battery, network, etc.)
• Syncs up to 100kb of data using the app’s PFN
• Data is stored in the user’s OneDrive account,
but doesn’t count against their OneDrive quota
Application data can be backed up
Data is backed up daily in user’s SkyDrive account per device, and counts
against their OneDive quota
(user can disable)
Roaming Local Temp
Credential
Locker
Roaming Local Temp
Roaming
100kb
100kb
Device ADevice B
Proven Productivity
 Shared project tooling
 Windows Azure Mobile Services
 Notifications Hubs
Power tools

 Profiling tools
 Store Test Kit
Support for the full app lifecycle

 Visual Studio Online
http://channel9.msdn.com/Events/Build/2014/
http://channel9.msdn.com/Events/Build/2014














Get Ready to Become a Windows Phone Developer
dev.windowsphone.com
Learn More About Windows Phone Dev via Official Microsoft Videos
http://aka.ms/wp81js
http://aka.ms/wp81devbegin
Check Out Additional Learning Resources
www.pluralsight.com/training/Courses#windows-phone
www.developer.nokia.com
Download Additional Resources & Become an Expert
phone.codeplex.com
http://bit.ly/nokiadevoffers
50
1
2
3
4
 www.AgeofMobility.com
 dev.windowsphone.com
 dev.windows.com
 blogs.windows.com/windows_phone/b/wpdev
 blogs.windows.com/windows_phone/b/windowsphone
 http://developer.nokia.com
 http://bit.ly/godvlup
 http://conversations.nokia.com
 http://appstudio.windows.com
 http://flip.it/95YFG
 www.geekchamp.com
 www.wpcentral.com
Thank You!
Slides will be posted on my Slideshare account.
Slideshare: www.slideshare.net/ActiveNick
Blog: www.AgeofMobility.com
Twitter: @ActiveNick
Mobile Apps: www.bigbaldapps.com
LinkedIn: www.linkedin.com/in/activenick
Website: www.AgeofMobility.com
Email: nick.landry@microsoft.com
Building Universal Windows Apps for Smartphones and Tablets with XAML & C#

Weitere ähnliche Inhalte

Was ist angesagt?

Cross-Platform Development using Angulr JS in Visual Studio
Cross-Platform Development using Angulr JS in Visual StudioCross-Platform Development using Angulr JS in Visual Studio
Cross-Platform Development using Angulr JS in Visual Studio
Mizanur Sarker
 
Cloud-enabling the Next Generation of Mobile Apps
Cloud-enabling the Next Generation of Mobile AppsCloud-enabling the Next Generation of Mobile Apps
Cloud-enabling the Next Generation of Mobile Apps
Nick Landry
 

Was ist angesagt? (20)

Hybrid mobile app development
Hybrid mobile app developmentHybrid mobile app development
Hybrid mobile app development
 
Building a Cross-Platform Mobile App Backend in the Cloud with Node.js
Building a Cross-Platform Mobile App Backend in the Cloud with Node.jsBuilding a Cross-Platform Mobile App Backend in the Cloud with Node.js
Building a Cross-Platform Mobile App Backend in the Cloud with Node.js
 
Mobilizing your Existing Enterprise Applications
Mobilizing your Existing Enterprise ApplicationsMobilizing your Existing Enterprise Applications
Mobilizing your Existing Enterprise Applications
 
Cross Platform Mobile App Development
Cross Platform Mobile App DevelopmentCross Platform Mobile App Development
Cross Platform Mobile App Development
 
Microsoft Speech Technologies for Developers
Microsoft Speech Technologies for DevelopersMicrosoft Speech Technologies for Developers
Microsoft Speech Technologies for Developers
 
Hybrid mobile apps
Hybrid mobile appsHybrid mobile apps
Hybrid mobile apps
 
Microsoft Tools for Android Developers
Microsoft Tools for Android DevelopersMicrosoft Tools for Android Developers
Microsoft Tools for Android Developers
 
C# everywhere: Xamarin and cross platform development
C# everywhere: Xamarin and cross platform developmentC# everywhere: Xamarin and cross platform development
C# everywhere: Xamarin and cross platform development
 
Lublin Startup Festival - Mobile Architecture Design Patterns
Lublin Startup Festival - Mobile Architecture Design PatternsLublin Startup Festival - Mobile Architecture Design Patterns
Lublin Startup Festival - Mobile Architecture Design Patterns
 
Cross-Platform Development using Angulr JS in Visual Studio
Cross-Platform Development using Angulr JS in Visual StudioCross-Platform Development using Angulr JS in Visual Studio
Cross-Platform Development using Angulr JS in Visual Studio
 
Building Hybrid Apps with AngularJS and Ionic
Building Hybrid Apps with AngularJS and IonicBuilding Hybrid Apps with AngularJS and Ionic
Building Hybrid Apps with AngularJS and Ionic
 
Introduction to Xamarin
Introduction to XamarinIntroduction to Xamarin
Introduction to Xamarin
 
Visual Studio 2015: novità per gli sviluppatori iOS, Android e Cross-Platform
Visual Studio 2015: novità per gli sviluppatori iOS, Android e Cross-PlatformVisual Studio 2015: novità per gli sviluppatori iOS, Android e Cross-Platform
Visual Studio 2015: novità per gli sviluppatori iOS, Android e Cross-Platform
 
Flash Builder and Flex Future - Multiscreen Development
Flash Builder and Flex Future - Multiscreen DevelopmentFlash Builder and Flex Future - Multiscreen Development
Flash Builder and Flex Future - Multiscreen Development
 
Cordova + Ionic + MobileFirst
Cordova + Ionic + MobileFirstCordova + Ionic + MobileFirst
Cordova + Ionic + MobileFirst
 
Cloud-enabling the Next Generation of Mobile Apps
Cloud-enabling the Next Generation of Mobile AppsCloud-enabling the Next Generation of Mobile Apps
Cloud-enabling the Next Generation of Mobile Apps
 
Introduction to Hybrid Application Development
Introduction to Hybrid Application DevelopmentIntroduction to Hybrid Application Development
Introduction to Hybrid Application Development
 
Wikipedia Mobile App with PhoneGap
Wikipedia Mobile App with PhoneGapWikipedia Mobile App with PhoneGap
Wikipedia Mobile App with PhoneGap
 
Phonegap/Cordova vs Native Application
Phonegap/Cordova vs Native ApplicationPhonegap/Cordova vs Native Application
Phonegap/Cordova vs Native Application
 
Introduction to xamarin
Introduction to xamarinIntroduction to xamarin
Introduction to xamarin
 

Andere mochten auch

Beyond Cortana & Siri: Using Speech Recognition & Speech Synthesis for the Ne...
Beyond Cortana & Siri: Using Speech Recognition & Speech Synthesis for the Ne...Beyond Cortana & Siri: Using Speech Recognition & Speech Synthesis for the Ne...
Beyond Cortana & Siri: Using Speech Recognition & Speech Synthesis for the Ne...
Nick Landry
 
Building Windows 10 Universal Apps with Speech and Cortana
Building Windows 10 Universal Apps with Speech and CortanaBuilding Windows 10 Universal Apps with Speech and Cortana
Building Windows 10 Universal Apps with Speech and Cortana
Nick Landry
 
Cognitive Services: Building Smart Apps with Speech, NLP & Vision
Cognitive Services: Building Smart Apps with Speech, NLP & VisionCognitive Services: Building Smart Apps with Speech, NLP & Vision
Cognitive Services: Building Smart Apps with Speech, NLP & Vision
Nick Landry
 

Andere mochten auch (18)

Beyond Cortana & Siri: Using Speech Recognition & Speech Synthesis for the Ne...
Beyond Cortana & Siri: Using Speech Recognition & Speech Synthesis for the Ne...Beyond Cortana & Siri: Using Speech Recognition & Speech Synthesis for the Ne...
Beyond Cortana & Siri: Using Speech Recognition & Speech Synthesis for the Ne...
 
Building a New Generation of Mobile Games with Speech
Building a New Generation of Mobile Games with SpeechBuilding a New Generation of Mobile Games with Speech
Building a New Generation of Mobile Games with Speech
 
Hacking with the Raspberry Pi and Windows 10 IoT Core
Hacking with the Raspberry Pi and Windows 10 IoT CoreHacking with the Raspberry Pi and Windows 10 IoT Core
Hacking with the Raspberry Pi and Windows 10 IoT Core
 
State of Union: Xamarin & Cross-Platform .NET in 2016 and Beyond
State of Union: Xamarin & Cross-Platform .NET in 2016 and BeyondState of Union: Xamarin & Cross-Platform .NET in 2016 and Beyond
State of Union: Xamarin & Cross-Platform .NET in 2016 and Beyond
 
Building a Windows 10 Game with C#, XAML and Win2D
Building a Windows 10 Game with C#, XAML and Win2DBuilding a Windows 10 Game with C#, XAML and Win2D
Building a Windows 10 Game with C#, XAML and Win2D
 
Building Windows 10 Universal Apps with Speech and Cortana
Building Windows 10 Universal Apps with Speech and CortanaBuilding Windows 10 Universal Apps with Speech and Cortana
Building Windows 10 Universal Apps with Speech and Cortana
 
Scaling IoT: Telemetry, Command & Control, Analytics and the Cloud
Scaling IoT: Telemetry, Command & Control, Analytics and the CloudScaling IoT: Telemetry, Command & Control, Analytics and the Cloud
Scaling IoT: Telemetry, Command & Control, Analytics and the Cloud
 
Alexa IoT Skills Workshop
Alexa IoT Skills WorkshopAlexa IoT Skills Workshop
Alexa IoT Skills Workshop
 
From Oculus to HoloLens: Building Virtual & Mixed Reality Apps & Games
From Oculus to HoloLens: Building Virtual & Mixed Reality Apps & GamesFrom Oculus to HoloLens: Building Virtual & Mixed Reality Apps & Games
From Oculus to HoloLens: Building Virtual & Mixed Reality Apps & Games
 
Cortana
Cortana Cortana
Cortana
 
Bots are the New Apps: Building with the Bot Framework & Language Understanding
Bots are the New Apps: Building with the Bot Framework & Language UnderstandingBots are the New Apps: Building with the Bot Framework & Language Understanding
Bots are the New Apps: Building with the Bot Framework & Language Understanding
 
Cognitive Services: Building Smart Apps with Speech, NLP & Vision
Cognitive Services: Building Smart Apps with Speech, NLP & VisionCognitive Services: Building Smart Apps with Speech, NLP & Vision
Cognitive Services: Building Smart Apps with Speech, NLP & Vision
 
Building Mixed Reality Experiences for Microsoft HoloLens in Unity
Building Mixed Reality Experiences for Microsoft HoloLens in UnityBuilding Mixed Reality Experiences for Microsoft HoloLens in Unity
Building Mixed Reality Experiences for Microsoft HoloLens in Unity
 
MICROSOFT CORTANA
MICROSOFT  CORTANAMICROSOFT  CORTANA
MICROSOFT CORTANA
 
Amazon Alexa and AWS Lambda
Amazon Alexa and AWS LambdaAmazon Alexa and AWS Lambda
Amazon Alexa and AWS Lambda
 
Amazon Echo
Amazon EchoAmazon Echo
Amazon Echo
 
Please meet Amazon Alexa and the Alexa Skills Kit
Please meet Amazon Alexa and the Alexa Skills KitPlease meet Amazon Alexa and the Alexa Skills Kit
Please meet Amazon Alexa and the Alexa Skills Kit
 
Introduction to universal windows platform(uwp) app development
Introduction to universal windows platform(uwp) app developmentIntroduction to universal windows platform(uwp) app development
Introduction to universal windows platform(uwp) app development
 

Ähnlich wie Building Universal Windows Apps for Smartphones and Tablets with XAML & C#

Cloudy with a Dash of Universal Apps
Cloudy with a Dash of Universal AppsCloudy with a Dash of Universal Apps
Cloudy with a Dash of Universal Apps
Shahed Chowdhuri
 
Windows store app development V1
Windows store app development V1Windows store app development V1
Windows store app development V1
Foyzul Karim
 
Mob02 windows phone 8.1 app development
Mob02   windows phone 8.1 app development Mob02   windows phone 8.1 app development
Mob02 windows phone 8.1 app development
DotNetCampus
 
Windows Phone 8.1 アプリ開発徹底解説
Windows Phone 8.1 アプリ開発徹底解説Windows Phone 8.1 アプリ開発徹底解説
Windows Phone 8.1 アプリ開発徹底解説
shinobu takahashi
 

Ähnlich wie Building Universal Windows Apps for Smartphones and Tablets with XAML & C# (20)

How to modernise WPF and Windows Forms applications with Windows Apps SDK
How to modernise WPF and Windows Forms applications with Windows Apps SDKHow to modernise WPF and Windows Forms applications with Windows Apps SDK
How to modernise WPF and Windows Forms applications with Windows Apps SDK
 
Cloudy with a Dash of Universal Apps
Cloudy with a Dash of Universal AppsCloudy with a Dash of Universal Apps
Cloudy with a Dash of Universal Apps
 
SydMobNet April 2014 - Nick Randolph's Build 2014 Update
SydMobNet April 2014 - Nick Randolph's Build 2014 UpdateSydMobNet April 2014 - Nick Randolph's Build 2014 Update
SydMobNet April 2014 - Nick Randolph's Build 2014 Update
 
Universal Apps Oct 2014
Universal Apps Oct 2014Universal Apps Oct 2014
Universal Apps Oct 2014
 
Windows store app development V1
Windows store app development V1Windows store app development V1
Windows store app development V1
 
Azure Mobile Services (+ Universal Apps)
Azure Mobile Services (+ Universal Apps)Azure Mobile Services (+ Universal Apps)
Azure Mobile Services (+ Universal Apps)
 
Windows 10 UWP Development Overview
Windows 10 UWP Development OverviewWindows 10 UWP Development Overview
Windows 10 UWP Development Overview
 
Developing windows 10 universal apps
Developing windows 10 universal appsDeveloping windows 10 universal apps
Developing windows 10 universal apps
 
Introducing the Windows Phone 8.1 App Development Platform
Introducing the Windows Phone 8.1 App Development PlatformIntroducing the Windows Phone 8.1 App Development Platform
Introducing the Windows Phone 8.1 App Development Platform
 
For Business Success, Choose Cross Platform App Development
For Business Success, Choose Cross Platform App DevelopmentFor Business Success, Choose Cross Platform App Development
For Business Success, Choose Cross Platform App Development
 
Game Republic - Yorkshire Building Awesome games for Windows
Game Republic - Yorkshire Building Awesome games for WindowsGame Republic - Yorkshire Building Awesome games for Windows
Game Republic - Yorkshire Building Awesome games for Windows
 
Mob02 windows phone 8.1 app development
Mob02   windows phone 8.1 app development Mob02   windows phone 8.1 app development
Mob02 windows phone 8.1 app development
 
01 introducing the windows phone 8.1
01   introducing the windows phone 8.101   introducing the windows phone 8.1
01 introducing the windows phone 8.1
 
Presentation[1]
Presentation[1]Presentation[1]
Presentation[1]
 
Developing Apps for Windows Phone 8
Developing Apps for Windows Phone 8Developing Apps for Windows Phone 8
Developing Apps for Windows Phone 8
 
Windows 8 App and Game Development Landscape
Windows 8 App and Game Development LandscapeWindows 8 App and Game Development Landscape
Windows 8 App and Game Development Landscape
 
Windows Phone 8.1 アプリ開発徹底解説
Windows Phone 8.1 アプリ開発徹底解説Windows Phone 8.1 アプリ開発徹底解説
Windows Phone 8.1 アプリ開発徹底解説
 
Whats new windows phone 8 1
Whats new windows phone 8 1Whats new windows phone 8 1
Whats new windows phone 8 1
 
Developing Windows 10 Hosted Web Apps
Developing Windows 10 Hosted Web AppsDeveloping Windows 10 Hosted Web Apps
Developing Windows 10 Hosted Web Apps
 
201500912 Hello Windows 10
201500912 Hello Windows 10201500912 Hello Windows 10
201500912 Hello Windows 10
 

Mehr von Nick Landry

Building Connected IoT Gadgets with Particle.io & Azure
Building Connected IoT Gadgets with Particle.io & AzureBuilding Connected IoT Gadgets with Particle.io & Azure
Building Connected IoT Gadgets with Particle.io & Azure
Nick Landry
 

Mehr von Nick Landry (13)

Designing XR Experiences with Speech & Natural Language Understanding in Unity
Designing XR Experiences with Speech & Natural Language Understandingin UnityDesigning XR Experiences with Speech & Natural Language Understandingin Unity
Designing XR Experiences with Speech & Natural Language Understanding in Unity
 
MR + AI: Machine Learning for Language in HoloLens & VR Apps
MR + AI: Machine Learning for Language in HoloLens & VR AppsMR + AI: Machine Learning for Language in HoloLens & VR Apps
MR + AI: Machine Learning for Language in HoloLens & VR Apps
 
Building Holographic & VR Experiences Using the Mixed Reality Toolkit for Unity
Building Holographic & VR Experiences Using the Mixed Reality Toolkit for UnityBuilding Holographic & VR Experiences Using the Mixed Reality Toolkit for Unity
Building Holographic & VR Experiences Using the Mixed Reality Toolkit for Unity
 
Developing for Xbox as an Indie in 2018
Developing for Xbox as an Indie in 2018Developing for Xbox as an Indie in 2018
Developing for Xbox as an Indie in 2018
 
Mixed Reality Development Overview
Mixed Reality Development OverviewMixed Reality Development Overview
Mixed Reality Development Overview
 
Bots are the New Apps: Building Bots with ASP.NET WebAPI & Language Understan...
Bots are the New Apps: Building Bots with ASP.NET WebAPI & Language Understan...Bots are the New Apps: Building Bots with ASP.NET WebAPI & Language Understan...
Bots are the New Apps: Building Bots with ASP.NET WebAPI & Language Understan...
 
Lessons Learned from Real World Xamarin.Forms Projects
Lessons Learned from Real World Xamarin.Forms ProjectsLessons Learned from Real World Xamarin.Forms Projects
Lessons Learned from Real World Xamarin.Forms Projects
 
Building Mixed Reality Experiences with the HoloToolkit for Unity
Building Mixed Reality Experiences with the HoloToolkit for UnityBuilding Mixed Reality Experiences with the HoloToolkit for Unity
Building Mixed Reality Experiences with the HoloToolkit for Unity
 
Building Mixed Reality Experiences for Microsoft HoloLens
Building Mixed Reality Experiences for Microsoft HoloLensBuilding Mixed Reality Experiences for Microsoft HoloLens
Building Mixed Reality Experiences for Microsoft HoloLens
 
Building Cloud-Enabled Cross-Platform Mobile Apps in C# with Azure App Services
Building Cloud-Enabled Cross-PlatformMobile Apps in C# with Azure App ServicesBuilding Cloud-Enabled Cross-PlatformMobile Apps in C# with Azure App Services
Building Cloud-Enabled Cross-Platform Mobile Apps in C# with Azure App Services
 
Building Connected IoT Gadgets with Particle.io & Azure
Building Connected IoT Gadgets with Particle.io & AzureBuilding Connected IoT Gadgets with Particle.io & Azure
Building Connected IoT Gadgets with Particle.io & Azure
 
Building a Node.js Backend in the Cloud for Android Apps
Building a Node.js Backend in the Cloud for Android AppsBuilding a Node.js Backend in the Cloud for Android Apps
Building a Node.js Backend in the Cloud for Android Apps
 
Hacking with the Cloud and Microsoft APIs
Hacking with the Cloud and Microsoft APIsHacking with the Cloud and Microsoft APIs
Hacking with the Cloud and Microsoft APIs
 

Kürzlich hochgeladen

Kürzlich hochgeladen (20)

Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of Brazil
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 

Building Universal Windows Apps for Smartphones and Tablets with XAML & C#

  • 3.
  • 4. Windows brings apps to life Windows provides apps with more ways to engage users, both on device and across all of their Windows screens Design once to engage everywhere Developers can use universal Windows apps to design an one app that can target every Windows screen Build faster with Visual Studio New shared projects for Universal Windows apps allow developers to share as much or as little between Windows and Windows Phone projects
  • 5. Converged web browser • WP 7.5 shipped with IE9 • Same rendering + JavaScript engine Aligned user experience • Modern UI on WP + Xbox 360 Aligned dev platform • Games: DirectX; XNA • Apps: XAML + XAML (WPF; SL) Converged core (NT kernel) • Common kernel & file system • Converged driver model • Converged networking stack • Secure boot & storage encryption (BitLocker) Aligning user experience • Live tiles on Windows Aligning the dev platform • Aligned UI frameworks: XAML; DirectX; C++ • Converged API for sensors & IAP • Converged Web Browser: IE10 Converged dev platform • Converged WinRT app model on Windows, Windows Phone, Xbox • Converged roaming + credentials • Better HTML5/web support via IE Aligning the Stores  Aligned processes and policies  Shared dev registration • Shared entitlement Improved App Experience • Proximity & location frameworks • Security & identity • Background execution
  • 6. | | A converged developer platform enables you to do more with the same code and skillset
  • 7. Universal Windows apps • One Visual Studio solution with three nodes • Two UI node (One for phone; one for client) • One shared code node (WinRT apps only) Linked apps Devs can be link their Store apps using a common PFN (Product Family Number) across client + phone New tooling and app linking makes it easy to engage everywhere
  • 8. Visual Studio streamlines developing universal Windows apps
  • 9. You can tailor the design to each device
  • 10.
  • 11. Shared projects to build universal apps • One shared project solution in Visual Studio • Project creates two AppX packages (one per Store) • Shared dev and test tooling for both platforms IDE improvements
  • 12. C# #if WINDOWS_PHONE_APP Windows.Phone.UI.Input.HardwareButtons.BackPressed += this.HardwareButtons_BackPressed; #endif C++ #if WINAPI_FAMILY==WINAPI_FAMILY_PHONE_APP _backPressedEventToken = HardwareButtons::BackPressed += ref new EventHandler<BackPressedEventArgs^>(this, &NavigationHelper::HardwareButton_BackPressed); #endif
  • 15. Portable Class Libraries I compile just once and know it works on all platforms Shared Projects I can easily include platform-specific code under #if or partial classes New! Improved!
  • 16. Windows Runtime (WinRT) is the shared runtime and API space used across the Windows platform (phone + client) API coverage for Store app scenarios • In 8.0, we had ~30% API convergence  In 8.1, we move well past 90%+ convergence  Common contract support now converged: Launch; Share; CachedFileUpdater; FilePicker  Most non-converged APIs are form-factor specific (SMS/phone calls; Direct Access)
  • 17. Keep using Windows Phone Silverlight 8.0 / 8.1 for these features / apps          
  • 18.
  • 19.
  • 20. 80% exact same XAML 20% custom Common SignatureOptimized DatePicker TimePicker CommandBar Button CheckBox RadioButton ProgressBar Slider ToggleSwitch Hub Pivot ListView GridView AppBar SysTray
  • 22.
  • 24.
  • 26. <Page.BottomAppBar> <CommandBar> <AppBarButton Icon="Accept" Label="Accept" /> <AppBarButton Icon="Cancel" Label="Cancel" /> <CommandBar.SecondaryCommands> <AppBarButton x:Uid="AboutAppBarButton" Icon="Help" /> <AppBarButton x:Uid="HomeAppBarButton" Icon="Home" /> </CommandBar.SecondaryCommands> </CommandBar> </Page.BottomAppBar>
  • 27.
  • 31.
  • 32. 2560 x 1440 1920 x 1080 1366 x 768450 x 800 to scale Scale Factors and Effective Resolution 384 x 683
  • 33. Provides a common layout coordinate system that extends along the x and y axis into infinity, allowing you to scale up  Physical screen size determines how much of this canvas is available  Works for all screen sizes across the entire Windows platform 10” tablet 7” tablet 6” 5” 4.5” Infinite virtual canvas 166 Logical DPI Windows uses a virtual layout canvas to enable your app to light-up the experience most appropriate to the screen
  • 34. Converged background task model • Improved background agents make your app more agile • New triggers and conditions increase user engagement Background agent improvements New trigger-based execution options
  • 35.
  • 36. A single place for all your missed notifications  FIFO processing  Limit of 20 notifications per app  Retained only for 7 days Notification management    The Action Center provides fresh and relevant information while preserving glance + go
  • 40. Start screen backup Configuration data can roam with the user • Sync engine transfers data periodically based on triggers (user idle, battery, network, etc.) • Syncs up to 100kb of data using the app’s PFN • Data is stored in the user’s OneDrive account, but doesn’t count against their OneDrive quota Application data can be backed up Data is backed up daily in user’s SkyDrive account per device, and counts against their OneDive quota (user can disable) Roaming Local Temp Credential Locker Roaming Local Temp Roaming 100kb 100kb Device ADevice B
  • 41. Proven Productivity  Shared project tooling  Windows Azure Mobile Services  Notifications Hubs Power tools   Profiling tools  Store Test Kit Support for the full app lifecycle   Visual Studio Online
  • 44. Get Ready to Become a Windows Phone Developer dev.windowsphone.com Learn More About Windows Phone Dev via Official Microsoft Videos http://aka.ms/wp81js http://aka.ms/wp81devbegin Check Out Additional Learning Resources www.pluralsight.com/training/Courses#windows-phone www.developer.nokia.com Download Additional Resources & Become an Expert phone.codeplex.com http://bit.ly/nokiadevoffers 50 1 2 3 4
  • 45.  www.AgeofMobility.com  dev.windowsphone.com  dev.windows.com  blogs.windows.com/windows_phone/b/wpdev  blogs.windows.com/windows_phone/b/windowsphone  http://developer.nokia.com  http://bit.ly/godvlup  http://conversations.nokia.com  http://appstudio.windows.com  http://flip.it/95YFG  www.geekchamp.com  www.wpcentral.com
  • 46. Thank You! Slides will be posted on my Slideshare account. Slideshare: www.slideshare.net/ActiveNick Blog: www.AgeofMobility.com Twitter: @ActiveNick Mobile Apps: www.bigbaldapps.com LinkedIn: www.linkedin.com/in/activenick Website: www.AgeofMobility.com Email: nick.landry@microsoft.com