Premium community conference on Microsoft technologies itcampro@ itcamp14#
Developing for Windows
Phone 8.1
Dan Ardelean
MVP Client Development
Nokia Developer Champion
dan@xpresscode.eu
@danardelean
Premium community conference on Microsoft technologies itcampro@ itcamp14#
Huge thanks to our sponsors & partners!
Premium community conference on Microsoft technologies itcampro@ itcamp14#
• Windows Phone 8.1
• Windows Phone 8.1 Developer Platform
• New features for developers
• Getting Started
• Developer Choices
AGENDA
Premium community conference on Microsoft technologies itcampro@ itcamp14#
WINDOWS PHONE 8.1
Premium community conference on Microsoft technologies itcampro@ itcamp14#
Windows Phone 8: Momentum
Premium community conference on Microsoft technologies itcampro@ itcamp14#
Start screen: More tiles More personal
Premium community conference on Microsoft technologies itcampro@ itcamp14#
Cortana: Your PERSONAL Digital Assistant
Premium community conference on Microsoft technologies itcampro@ itcamp14#
Many New Features for Users
Premium community conference on Microsoft technologies itcampro@ itcamp14#
2014: Windows Phone 8.1 Hardware
Decrease HW cost floor (support 8x26, Qualcomm Reference Design)
Dual-SIM support
Apps to help you get more out of your data plan: DataSense 2.0, Wi-Fi Sense,
Storage Sense, Battery Sense
Premium community conference on Microsoft technologies itcampro@ itcamp14#
Getting Windows Phone 8.1
http://dev.windowsphone.com
http://appstudio.windowsphone.com
Premium community conference on Microsoft technologies itcampro@ itcamp14#
Windows Phone 8.1 Preview for Developers
Premium community conference on Microsoft technologies itcampro@ itcamp14#
WINDOWS PHONE 8.1 DEVELOPER
PLATFORM
Premium community conference on Microsoft technologies itcampro@ itcamp14#
One Windows
Apps come to life on Windows
• Live tile improvements
• Action Center for smart notifications
• Background execution + triggers
• Bluetooth-LE support for wearables
• Internet Explorer 11 improvements
Designed once; engaging everywhere
• Converged developer platform
• Converged app model
• Shared app identities + entitlement
• Unified push services (via WNS)
Premium community conference on Microsoft technologies itcampro@ itcamp14#
Convergence
Windows Phone 7.5 Windows Phone 8.0
Convergence Begins with IE
• WP 7.5 shipped with IE9
• Same rendering engine as
Windows
• Same JavaScript engine as
Windows
Converged Core (NT kernel)
• Common kernel & file
system
• Kernel mode driver
framework
• Secure boot & storage
encryption (BitLocker)
• Core networking stack
Developer Platform
• Partial API convergence
(focus on sensors & IAP)
• Native Code (C++) and
DirectX
• IE10
Converging the Dev Platform
• More skillset reuse
• More code reuse
• More seamless app
experiences
Aligning the Stores
• Shared dev registration
• Shared entitlement
Common Core Platform
• Proximity & Location
• Security & identity
• Task scheduler
Premium community conference on Microsoft technologies itcampro@ itcamp14#
API Convergence Windows Runtime (WinRT)
Dramatic convergence in 8.1
• Goal is 100% convergence for dev scenarios
• In 8.0, we had ~30% API convergence
• With 8.1, we move well past 90%+
convergence
Premium community conference on Microsoft technologies itcampro@ itcamp14#
Windows Developer Platform in 8.1
| |
Legend
Premium community conference on Microsoft technologies itcampro@ itcamp14#
Programming Models
Premium community conference on Microsoft technologies itcampro@ itcamp14#
BUILDING A SHARED WINDOWS
PHONE & STORE APP
DEMO
Premium community conference on Microsoft technologies itcampro@ itcamp14#
NEW FEATURES FOR DEVELOPERS
IN WINDOWS PHONE 8.1
Premium community conference on Microsoft technologies itcampro@ itcamp14#
Converged Windows XAML Apps
• One Visual Studio ‘Universal app’
project template for your app
• Shared dev and test tooling for both
platforms
Premium community conference on Microsoft technologies itcampro@ itcamp14#
Windows Phone app using JavaScript & HTML
Premium community conference on Microsoft technologies itcampro@ itcamp14#
Common canvas for Screen Diversity
10”
tablet
7” tablet
6”
5”
4.5”
Infinite virtual canvas
166 Logical DPI
Premium community conference on Microsoft technologies itcampro@ itcamp14#
View Pixels
12:38
width
height
“raw” pixels
12:38
width
height
“view” pixels
divide by
scale factor
Premium community conference on Microsoft technologies itcampro@ itcamp14#
Scale Factor
12:38
width (inch)
pixels
scale factor =
pixels / width x platform constant
scale factor minimum of 1.0, rounded to nearest 0.2
platform constant depends on viewing distance of device
(phone/tablet/PC)
Premium community conference on Microsoft technologies itcampro@ itcamp14#
View Pixels
12:38
540
960
5.5”
12:38
5.5”
720
1280
12:38
5.5”
1080
1920
450
800
“view” pixels
Premium community conference on Microsoft technologies itcampro@ itcamp14#
Emulator support
Premium community conference on Microsoft technologies itcampro@ itcamp14#
Converged Controls
80% exact same XAML 20% custom
Common Signature
Button
CheckBox
RadioButton ProgressBar
Slider
ToggleSwitch
Hub
Pivot
ListView
GridView
Premium community conference on Microsoft technologies itcampro@ itcamp14#
Tailoring UI to each platform
On Windows Phone 8.1 … and on Windows 8.1
Premium community conference on Microsoft technologies itcampro@ itcamp14#
Animations
Signature Phone animations built in
– Page Navigation
– PointerDown/Up (Tilt)
– Page Rotation
– Escalator for MenuFlyout (context menu)
– Readerboard
ThemeTransitions / ThemeAnimations
– Same API as on Windows
– Key animations updated to match Phone UX
Premium community conference on Microsoft technologies itcampro@ itcamp14#
Multitasking: Background tasks and Triggers
Task
TimeTrigger
PUSH
Notification
LocationTrigger
PushNotificationTrigger
MaintenanceTrigger
InternetAvailable NetworkStateChange
TimeZoneChange
Premium community conference on Microsoft technologies itcampro@ itcamp14#
Shared Tiles and Notification Services
Windows Notification Service (WNS)
• Shared push service for Windows + Phone
• Improved queuing to limit lost
notifications due to intermittent network
connectivity
Tile templates + toasts
• Shared tile templates (more!)
• Periodic tile updates
• Toasts
Premium community conference on Microsoft technologies itcampro@ itcamp14#
Action Center
Action Center
– Central location to surface missed
notifications
– Apps can intelligently manage
notifications
(silently add, update, and delete
notifications)
Premium community conference on Microsoft technologies itcampro@ itcamp14#
Data Roaming and Data Backup
Device B
WP 8.1 – PFN 12345
Roaming Local
Local
Cache
Temp
Device A
WP 8.1 App
Roaming Local
Local
Cache
Temp
Backup [Device A]
• Local
– Primary local store
– Can be backed up to users’
OneDrive
• Roaming
– Data roamed cross-device
– Limited to 100kb
• Temp
– Temporary storage
– Cleaned up in low storage
condition
Premium community conference on Microsoft technologies itcampro@ itcamp14#
Share Contract
Premium community conference on Microsoft technologies itcampro@ itcamp14#
Maps and Geofencing
Premium community conference on Microsoft technologies itcampro@ itcamp14#
Media, Media Editing and Background Audio
Premium community conference on Microsoft technologies itcampro@ itcamp14#
Bluetooth LE
Heart rate monitors and other sensors
Proximity detectors (Key finder)
Developers can use the Bluetooth GATT APIs to access Bluetooth LE services,
descriptors, and characteristics
Bluetooth RFComm
Connect, host, and communicate with Bluetooth RFCOMM device services
Devices using Serial Port Profile (SPP) are supported
Client and server Service Discovery Protocol (SDP)
Background Tasks and Triggers
App can receive Bluetooth data when its running in the background
Launch when a Bluetooth event occurs
Bluetooth
Premium community conference on Microsoft technologies itcampro@ itcamp14#
DEMO BLE – HEART RATE MONITOR
Premium community conference on Microsoft technologies itcampro@ itcamp14#
Enterprise Enhancements
Mobile device management (MDM)
More policy support
Client Certificate authentication
Convergence with Windows cryptography
APIs
Wi-Fi & VPN
S/MIME
Application management
Premium community conference on Microsoft technologies itcampro@ itcamp14#
Identity, identification, SSO
Microsoft Account SSO
Web Authentication Broker (WAB)
Authenticate to online service providers over Oauth
SSO mode enables user to completely bypass log-in page
Simple API
CredentialLocker
Windows.Security.Credentials APIs to store credentials (user name,
password) securely
Isolation: Apps can only access their own credentials
Credentials roam across trusted devices (works for WAB and IE too!)
Premium community conference on Microsoft technologies itcampro@ itcamp14#
Better HTML5 support
Ability to code pinning behavior
• Specify high-resolution site icons
• Live tiles using notifications
Professional quality video
• Adaptive streaming
• Secure viewing
• Accessibility improvements
WebGL support
Web spec based on OpenGL ES 2.0, to enable use of low-level
3D graphics APIs on web sites and HTML-based apps
Rich user interactions
• Screen + device orientation APIs
• Pre-fetch and pre-render
Premium community conference on Microsoft technologies itcampro@ itcamp14#
SDK Emulator improvments
Hyper-V based emulator improvements:
Network
Multi-touch emulation with mouse
SD card
Location improvements
Push simulation
Locally simulate push notifications
Save and load data samples
Premium community conference on Microsoft technologies itcampro@ itcamp14#
Windows Phone Power Tools
AppVerifier
Find resource leaks and vulnerabilities in
native apps
Performance Monitor
Real time diagnostics
Performance Recorder
ETW trace capturing
Premium community conference on Microsoft technologies itcampro@ itcamp14#
And more
Premium community conference on Microsoft technologies itcampro@ itcamp14#
GETTING STARTED
Premium community conference on Microsoft technologies itcampro@ itcamp14#
Windows Dev Center
Premium community conference on Microsoft technologies itcampro@ itcamp14#
The tools
http://dev.windows.com http://dev.windowsphone.com
Premium community conference on Microsoft technologies itcampro@ itcamp14#
PC Requirments
Supported operating systems Windows 8.1 (x86 or x64)
Hardware
4 GB of free disk space
1.5 GB of RAM (recommended)
64-bit (x64) motherboard
To use the Windows Phone
Emulators
Windows 8.1 Pro or higher (for Hyper-V) and
Second Level Address Translation (SLAT)
Min 4GB RAM
Premium community conference on Microsoft technologies itcampro@ itcamp14#
Windows Developer Account
Premium community conference on Microsoft technologies itcampro@ itcamp14#
DEVELOPER CHOICES
Premium community conference on Microsoft technologies itcampro@ itcamp14#
Programming Models
Premium community conference on Microsoft technologies itcampro@ itcamp14#
Application Lifecycle: Silverlight vs WinRT
Tombstoned
Not running
Running
LaunchingClosing
DeactivatingActivating
Dormant
Not running
Running
OnLaunched
SuspendingResuming
Suspended
Premium community conference on Microsoft technologies itcampro@ itcamp14#
Choices
Approach Pros & Cons
Keep using Silverlight 7.x/8
(Windows Phone 8 platform)
Pros
 Will run on Windows Phone 8.1 (app compatibility), still runs
on earlier Windows Phone devices
Cons
 Will not take advantage of new platform capabilities
 Will not enable targeting of Windows
Use Silverlight 8.1
(Move Silverlight app into new
execution stack and app
package)
Pros
 Enables existing Silverlight apps to take advantage of nearly
all new APIs and platform capabilities
Cons
 Will not enable targeting of Windows
 Will not run on Windows Phone 8 devices
Use Windows XAML platform
Pros
 Enables targeting of Windows and Windows Phone
 Takes full advantage of new APIs and platform capabilities
 Better performance & reduced memory use
Cons  Will not run on Windows Phone 8 devices
Premium community conference on Microsoft technologies itcampro@ itcamp14#
Silverlight Only
Premium community conference on Microsoft technologies itcampro@ itcamp14#
Upgrade Silverlight 8.0 to 8.1
Premium community conference on Microsoft technologies itcampro@ itcamp14#
WINDOWS PHONE 8.1 PRINCIPLES
Primary features:
Existing Windows Phone 8 apps run flawlessly
Windows Runtime XAML platform and HTML/WinJS support brings convergence
with Windows 8.1, and is faster and uses less memory than Silverlight
The core of an app can be built once for Windows and Windows Phone; you can
share elements of UI, though it’s best to tailor the user experience for each
platform
Convergence is not just in the developer platform: it spans tools, store, commerce
Developer investment in the existing Silverlight platform is protected: Existing
Silverlight apps can be upgraded to access new Windows Phone 8.1 platform
capabilities
Premium community conference on Microsoft technologies itcampro@ itcamp14#
Q & A

More Related Content

PPTX
Bam amor mobile development tools
PDF
ITCamp 2013 - Petru Jucovschi - Application ecosystems
PPT
Flash for Blackberry, iPhone and Android
PPT
Adobe Flash and Device Central
PDF
LUMIA APP LABS: WINDOWS PHONE 8 FOR NOKIA DEVELOPERS
PPT
S60 - Over the air
PPTX
Windows Phone 7 Programming Introduction
PDF
Nokia Qt SDK in action - Qt developer days 2010
Bam amor mobile development tools
ITCamp 2013 - Petru Jucovschi - Application ecosystems
Flash for Blackberry, iPhone and Android
Adobe Flash and Device Central
LUMIA APP LABS: WINDOWS PHONE 8 FOR NOKIA DEVELOPERS
S60 - Over the air
Windows Phone 7 Programming Introduction
Nokia Qt SDK in action - Qt developer days 2010

What's hot (20)

PDF
What's new in Android Pie
PPT
Qt S60 Technical Presentation Fn Stripped
PPTX
Android technology
PPT
Microsoft Windows Phone 7 Platform [IndicThreads Mobile Application Developm...
PPT
Windows Phone 7 v.s iOS Development
PDF
Qt everywhere
PPT
Html5 investigation
PPTX
Sinergija 12 WP8 is around the corner
PPT
PPT
Android
PDF
Qt - for stack overflow developer conference
PPT
Android Applications
PPTX
PPT on Android
PPT
PPTX
Desenvolvimento de Jogos em XNA para Windows Phone 7
PPTX
Android ppt
PDF
Qt For Maemo - getting to the fast-lane (v2)
PDF
Meego Italian Day 2011 – Andrea Grandi
PPTX
Android technology prepared by Hritika Raj (Shivalik college of engg.)
PPTX
Presentation on Android
What's new in Android Pie
Qt S60 Technical Presentation Fn Stripped
Android technology
Microsoft Windows Phone 7 Platform [IndicThreads Mobile Application Developm...
Windows Phone 7 v.s iOS Development
Qt everywhere
Html5 investigation
Sinergija 12 WP8 is around the corner
Android
Qt - for stack overflow developer conference
Android Applications
PPT on Android
Desenvolvimento de Jogos em XNA para Windows Phone 7
Android ppt
Qt For Maemo - getting to the fast-lane (v2)
Meego Italian Day 2011 – Andrea Grandi
Android technology prepared by Hritika Raj (Shivalik college of engg.)
Presentation on Android
Ad

Similar to Developing for Windows Phone 8.1 (20)

PDF
Managing Mobile Devices with Windows Intune and SCCM 2012 (Adrian Stoian)
PDF
ITCamp 2013 - Lorant Domokos - Chasing the one codebase, multiple platforms d...
PDF
ITCamp 2013 - Melania Danciu - HTML5 apps with LightSwitch
PDF
ITCamp 2011 - Melania Danciu - Mobile apps
PDF
Mihai Tataran - Building Windows 8 Applications with HTML5 and JS
PPTX
Introducing the Windows Phone Application Platform
PDF
ITCamp 2013 - Martin Kulov - Demystifying Visual Studio 2012 Performance Tools
PPTX
FewebPlus @ microsoft 19 april 2010 mix
PPTX
UX@Vitra - Experience Continuum
PDF
ITCamp 2013 - Adrian Stoian - Whats new in ConfigMgr 2012 SP1
PDF
ITCamp 2013 - Raffaele Rialdi - Windows Runtime (WinRT) deep dive
PDF
Crossware-Introduction_AmitDhagat-reduced.pdf
PDF
ITCamp 2011 - Raul Andrisan - What’s new in Silverlight 5
PDF
How # (sharp) is Your Katana (Ciprian Jichici)
PPTX
Designing and developing a Windows Phone 7 Silverlight Application End-to-End...
PDF
Windows Phone Development
PDF
Data-First Online Functional Programming with F# (Adam Granicz)
PPTX
Metro Style Apps - Whats there for Developers
PDF
ITCamp 2011 - Mihai Tataran, Tudor Damian - Keynote
PDF
ITCamp 2011 - Mihai Nadas - Windows Azure interop
Managing Mobile Devices with Windows Intune and SCCM 2012 (Adrian Stoian)
ITCamp 2013 - Lorant Domokos - Chasing the one codebase, multiple platforms d...
ITCamp 2013 - Melania Danciu - HTML5 apps with LightSwitch
ITCamp 2011 - Melania Danciu - Mobile apps
Mihai Tataran - Building Windows 8 Applications with HTML5 and JS
Introducing the Windows Phone Application Platform
ITCamp 2013 - Martin Kulov - Demystifying Visual Studio 2012 Performance Tools
FewebPlus @ microsoft 19 april 2010 mix
UX@Vitra - Experience Continuum
ITCamp 2013 - Adrian Stoian - Whats new in ConfigMgr 2012 SP1
ITCamp 2013 - Raffaele Rialdi - Windows Runtime (WinRT) deep dive
Crossware-Introduction_AmitDhagat-reduced.pdf
ITCamp 2011 - Raul Andrisan - What’s new in Silverlight 5
How # (sharp) is Your Katana (Ciprian Jichici)
Designing and developing a Windows Phone 7 Silverlight Application End-to-End...
Windows Phone Development
Data-First Online Functional Programming with F# (Adam Granicz)
Metro Style Apps - Whats there for Developers
ITCamp 2011 - Mihai Tataran, Tudor Damian - Keynote
ITCamp 2011 - Mihai Nadas - Windows Azure interop
Ad

More from Dan Ardelean (20)

PPTX
CI/CD for mobile development using AppCenter
PPTX
CI/CD for mobile development using Visual Studio App Center
PPTX
Visual Studio App Center: CI/CD para mobile devs
PPTX
Desarrollo multiplataforma con el framework .net
PPTX
Xamarin.forms a different approach to native cross platform mobile development
PPTX
Xamarin.Forms a different approach to cross platform natove mobile development
PPTX
Xamarin - Under the bridge
PPTX
Sviluppo x platform con xamarin
PDF
Xamarin - why not ?
PDF
Share more code on iOS, Android and Windows with Portable Class Libraries
PDF
iBeacons for everyone
PPTX
Xamarin Dev Days 2016 introduction to xamarin
PPTX
A new world of possibilities for contextual awareness with beacons
PPTX
C sharp day 2015 c# patterns- cross-platform
PPTX
Utilizzo dei beacon con windows 10
PPTX
Develop for Windows 10 (Preview)
PPTX
Community Days 2015 Introduzione a Xamarin
PPTX
Sviluppo di app cross platform con xamarin e C#
PPTX
WP04 -Sensori e hardware con Windows Phone 8.1
PPTX
Bluetooth LE & Lumia Sensor Core
CI/CD for mobile development using AppCenter
CI/CD for mobile development using Visual Studio App Center
Visual Studio App Center: CI/CD para mobile devs
Desarrollo multiplataforma con el framework .net
Xamarin.forms a different approach to native cross platform mobile development
Xamarin.Forms a different approach to cross platform natove mobile development
Xamarin - Under the bridge
Sviluppo x platform con xamarin
Xamarin - why not ?
Share more code on iOS, Android and Windows with Portable Class Libraries
iBeacons for everyone
Xamarin Dev Days 2016 introduction to xamarin
A new world of possibilities for contextual awareness with beacons
C sharp day 2015 c# patterns- cross-platform
Utilizzo dei beacon con windows 10
Develop for Windows 10 (Preview)
Community Days 2015 Introduzione a Xamarin
Sviluppo di app cross platform con xamarin e C#
WP04 -Sensori e hardware con Windows Phone 8.1
Bluetooth LE & Lumia Sensor Core

Recently uploaded (20)

PDF
Developing a website for English-speaking practice to English as a foreign la...
PDF
Abstractive summarization using multilingual text-to-text transfer transforme...
PDF
Five Habits of High-Impact Board Members
PPTX
Custom Battery Pack Design Considerations for Performance and Safety
PPTX
Final SEM Unit 1 for mit wpu at pune .pptx
PPTX
Chapter 5: Probability Theory and Statistics
PDF
sustainability-14-14877-v2.pddhzftheheeeee
PDF
Getting started with AI Agents and Multi-Agent Systems
PPT
Geologic Time for studying geology for geologist
PDF
Credit Without Borders: AI and Financial Inclusion in Bangladesh
PDF
Architecture types and enterprise applications.pdf
PDF
From MVP to Full-Scale Product A Startup’s Software Journey.pdf
PDF
Consumable AI The What, Why & How for Small Teams.pdf
PPTX
AI IN MARKETING- PRESENTED BY ANWAR KABIR 1st June 2025.pptx
PDF
Flame analysis and combustion estimation using large language and vision assi...
PPTX
Configure Apache Mutual Authentication
PDF
A proposed approach for plagiarism detection in Myanmar Unicode text
PDF
Two-dimensional Klein-Gordon and Sine-Gordon numerical solutions based on dee...
PDF
STKI Israel Market Study 2025 version august
PDF
ENT215_Completing-a-large-scale-migration-and-modernization-with-AWS.pdf
Developing a website for English-speaking practice to English as a foreign la...
Abstractive summarization using multilingual text-to-text transfer transforme...
Five Habits of High-Impact Board Members
Custom Battery Pack Design Considerations for Performance and Safety
Final SEM Unit 1 for mit wpu at pune .pptx
Chapter 5: Probability Theory and Statistics
sustainability-14-14877-v2.pddhzftheheeeee
Getting started with AI Agents and Multi-Agent Systems
Geologic Time for studying geology for geologist
Credit Without Borders: AI and Financial Inclusion in Bangladesh
Architecture types and enterprise applications.pdf
From MVP to Full-Scale Product A Startup’s Software Journey.pdf
Consumable AI The What, Why & How for Small Teams.pdf
AI IN MARKETING- PRESENTED BY ANWAR KABIR 1st June 2025.pptx
Flame analysis and combustion estimation using large language and vision assi...
Configure Apache Mutual Authentication
A proposed approach for plagiarism detection in Myanmar Unicode text
Two-dimensional Klein-Gordon and Sine-Gordon numerical solutions based on dee...
STKI Israel Market Study 2025 version august
ENT215_Completing-a-large-scale-migration-and-modernization-with-AWS.pdf

Developing for Windows Phone 8.1

  • 1. Premium community conference on Microsoft technologies itcampro@ itcamp14# Developing for Windows Phone 8.1 Dan Ardelean MVP Client Development Nokia Developer Champion dan@xpresscode.eu @danardelean
  • 2. Premium community conference on Microsoft technologies itcampro@ itcamp14# Huge thanks to our sponsors & partners!
  • 3. Premium community conference on Microsoft technologies itcampro@ itcamp14# • Windows Phone 8.1 • Windows Phone 8.1 Developer Platform • New features for developers • Getting Started • Developer Choices AGENDA
  • 4. Premium community conference on Microsoft technologies itcampro@ itcamp14# WINDOWS PHONE 8.1
  • 5. Premium community conference on Microsoft technologies itcampro@ itcamp14# Windows Phone 8: Momentum
  • 6. Premium community conference on Microsoft technologies itcampro@ itcamp14# Start screen: More tiles More personal
  • 7. Premium community conference on Microsoft technologies itcampro@ itcamp14# Cortana: Your PERSONAL Digital Assistant
  • 8. Premium community conference on Microsoft technologies itcampro@ itcamp14# Many New Features for Users
  • 9. Premium community conference on Microsoft technologies itcampro@ itcamp14# 2014: Windows Phone 8.1 Hardware Decrease HW cost floor (support 8x26, Qualcomm Reference Design) Dual-SIM support Apps to help you get more out of your data plan: DataSense 2.0, Wi-Fi Sense, Storage Sense, Battery Sense
  • 10. Premium community conference on Microsoft technologies itcampro@ itcamp14# Getting Windows Phone 8.1 http://dev.windowsphone.com http://appstudio.windowsphone.com
  • 11. Premium community conference on Microsoft technologies itcampro@ itcamp14# Windows Phone 8.1 Preview for Developers
  • 12. Premium community conference on Microsoft technologies itcampro@ itcamp14# WINDOWS PHONE 8.1 DEVELOPER PLATFORM
  • 13. Premium community conference on Microsoft technologies itcampro@ itcamp14# One Windows Apps come to life on Windows • Live tile improvements • Action Center for smart notifications • Background execution + triggers • Bluetooth-LE support for wearables • Internet Explorer 11 improvements Designed once; engaging everywhere • Converged developer platform • Converged app model • Shared app identities + entitlement • Unified push services (via WNS)
  • 14. Premium community conference on Microsoft technologies itcampro@ itcamp14# Convergence Windows Phone 7.5 Windows Phone 8.0 Convergence Begins with IE • WP 7.5 shipped with IE9 • Same rendering engine as Windows • Same JavaScript engine as Windows Converged Core (NT kernel) • Common kernel & file system • Kernel mode driver framework • Secure boot & storage encryption (BitLocker) • Core networking stack Developer Platform • Partial API convergence (focus on sensors & IAP) • Native Code (C++) and DirectX • IE10 Converging the Dev Platform • More skillset reuse • More code reuse • More seamless app experiences Aligning the Stores • Shared dev registration • Shared entitlement Common Core Platform • Proximity & Location • Security & identity • Task scheduler
  • 15. Premium community conference on Microsoft technologies itcampro@ itcamp14# API Convergence Windows Runtime (WinRT) Dramatic convergence in 8.1 • Goal is 100% convergence for dev scenarios • In 8.0, we had ~30% API convergence • With 8.1, we move well past 90%+ convergence
  • 16. Premium community conference on Microsoft technologies itcampro@ itcamp14# Windows Developer Platform in 8.1 | | Legend
  • 17. Premium community conference on Microsoft technologies itcampro@ itcamp14# Programming Models
  • 18. Premium community conference on Microsoft technologies itcampro@ itcamp14# BUILDING A SHARED WINDOWS PHONE & STORE APP DEMO
  • 19. Premium community conference on Microsoft technologies itcampro@ itcamp14# NEW FEATURES FOR DEVELOPERS IN WINDOWS PHONE 8.1
  • 20. Premium community conference on Microsoft technologies itcampro@ itcamp14# Converged Windows XAML Apps • One Visual Studio ‘Universal app’ project template for your app • Shared dev and test tooling for both platforms
  • 21. Premium community conference on Microsoft technologies itcampro@ itcamp14# Windows Phone app using JavaScript & HTML
  • 22. Premium community conference on Microsoft technologies itcampro@ itcamp14# Common canvas for Screen Diversity 10” tablet 7” tablet 6” 5” 4.5” Infinite virtual canvas 166 Logical DPI
  • 23. Premium community conference on Microsoft technologies itcampro@ itcamp14# View Pixels 12:38 width height “raw” pixels 12:38 width height “view” pixels divide by scale factor
  • 24. Premium community conference on Microsoft technologies itcampro@ itcamp14# Scale Factor 12:38 width (inch) pixels scale factor = pixels / width x platform constant scale factor minimum of 1.0, rounded to nearest 0.2 platform constant depends on viewing distance of device (phone/tablet/PC)
  • 25. Premium community conference on Microsoft technologies itcampro@ itcamp14# View Pixels 12:38 540 960 5.5” 12:38 5.5” 720 1280 12:38 5.5” 1080 1920 450 800 “view” pixels
  • 26. Premium community conference on Microsoft technologies itcampro@ itcamp14# Emulator support
  • 27. Premium community conference on Microsoft technologies itcampro@ itcamp14# Converged Controls 80% exact same XAML 20% custom Common Signature Button CheckBox RadioButton ProgressBar Slider ToggleSwitch Hub Pivot ListView GridView
  • 28. Premium community conference on Microsoft technologies itcampro@ itcamp14# Tailoring UI to each platform On Windows Phone 8.1 … and on Windows 8.1
  • 29. Premium community conference on Microsoft technologies itcampro@ itcamp14# Animations Signature Phone animations built in – Page Navigation – PointerDown/Up (Tilt) – Page Rotation – Escalator for MenuFlyout (context menu) – Readerboard ThemeTransitions / ThemeAnimations – Same API as on Windows – Key animations updated to match Phone UX
  • 30. Premium community conference on Microsoft technologies itcampro@ itcamp14# Multitasking: Background tasks and Triggers Task TimeTrigger PUSH Notification LocationTrigger PushNotificationTrigger MaintenanceTrigger InternetAvailable NetworkStateChange TimeZoneChange
  • 31. Premium community conference on Microsoft technologies itcampro@ itcamp14# Shared Tiles and Notification Services Windows Notification Service (WNS) • Shared push service for Windows + Phone • Improved queuing to limit lost notifications due to intermittent network connectivity Tile templates + toasts • Shared tile templates (more!) • Periodic tile updates • Toasts
  • 32. Premium community conference on Microsoft technologies itcampro@ itcamp14# Action Center Action Center – Central location to surface missed notifications – Apps can intelligently manage notifications (silently add, update, and delete notifications)
  • 33. Premium community conference on Microsoft technologies itcampro@ itcamp14# Data Roaming and Data Backup Device B WP 8.1 – PFN 12345 Roaming Local Local Cache Temp Device A WP 8.1 App Roaming Local Local Cache Temp Backup [Device A] • Local – Primary local store – Can be backed up to users’ OneDrive • Roaming – Data roamed cross-device – Limited to 100kb • Temp – Temporary storage – Cleaned up in low storage condition
  • 34. Premium community conference on Microsoft technologies itcampro@ itcamp14# Share Contract
  • 35. Premium community conference on Microsoft technologies itcampro@ itcamp14# Maps and Geofencing
  • 36. Premium community conference on Microsoft technologies itcampro@ itcamp14# Media, Media Editing and Background Audio
  • 37. Premium community conference on Microsoft technologies itcampro@ itcamp14# Bluetooth LE Heart rate monitors and other sensors Proximity detectors (Key finder) Developers can use the Bluetooth GATT APIs to access Bluetooth LE services, descriptors, and characteristics Bluetooth RFComm Connect, host, and communicate with Bluetooth RFCOMM device services Devices using Serial Port Profile (SPP) are supported Client and server Service Discovery Protocol (SDP) Background Tasks and Triggers App can receive Bluetooth data when its running in the background Launch when a Bluetooth event occurs Bluetooth
  • 38. Premium community conference on Microsoft technologies itcampro@ itcamp14# DEMO BLE – HEART RATE MONITOR
  • 39. Premium community conference on Microsoft technologies itcampro@ itcamp14# Enterprise Enhancements Mobile device management (MDM) More policy support Client Certificate authentication Convergence with Windows cryptography APIs Wi-Fi & VPN S/MIME Application management
  • 40. Premium community conference on Microsoft technologies itcampro@ itcamp14# Identity, identification, SSO Microsoft Account SSO Web Authentication Broker (WAB) Authenticate to online service providers over Oauth SSO mode enables user to completely bypass log-in page Simple API CredentialLocker Windows.Security.Credentials APIs to store credentials (user name, password) securely Isolation: Apps can only access their own credentials Credentials roam across trusted devices (works for WAB and IE too!)
  • 41. Premium community conference on Microsoft technologies itcampro@ itcamp14# Better HTML5 support Ability to code pinning behavior • Specify high-resolution site icons • Live tiles using notifications Professional quality video • Adaptive streaming • Secure viewing • Accessibility improvements WebGL support Web spec based on OpenGL ES 2.0, to enable use of low-level 3D graphics APIs on web sites and HTML-based apps Rich user interactions • Screen + device orientation APIs • Pre-fetch and pre-render
  • 42. Premium community conference on Microsoft technologies itcampro@ itcamp14# SDK Emulator improvments Hyper-V based emulator improvements: Network Multi-touch emulation with mouse SD card Location improvements Push simulation Locally simulate push notifications Save and load data samples
  • 43. Premium community conference on Microsoft technologies itcampro@ itcamp14# Windows Phone Power Tools AppVerifier Find resource leaks and vulnerabilities in native apps Performance Monitor Real time diagnostics Performance Recorder ETW trace capturing
  • 44. Premium community conference on Microsoft technologies itcampro@ itcamp14# And more
  • 45. Premium community conference on Microsoft technologies itcampro@ itcamp14# GETTING STARTED
  • 46. Premium community conference on Microsoft technologies itcampro@ itcamp14# Windows Dev Center
  • 47. Premium community conference on Microsoft technologies itcampro@ itcamp14# The tools http://dev.windows.com http://dev.windowsphone.com
  • 48. Premium community conference on Microsoft technologies itcampro@ itcamp14# PC Requirments Supported operating systems Windows 8.1 (x86 or x64) Hardware 4 GB of free disk space 1.5 GB of RAM (recommended) 64-bit (x64) motherboard To use the Windows Phone Emulators Windows 8.1 Pro or higher (for Hyper-V) and Second Level Address Translation (SLAT) Min 4GB RAM
  • 49. Premium community conference on Microsoft technologies itcampro@ itcamp14# Windows Developer Account
  • 50. Premium community conference on Microsoft technologies itcampro@ itcamp14# DEVELOPER CHOICES
  • 51. Premium community conference on Microsoft technologies itcampro@ itcamp14# Programming Models
  • 52. Premium community conference on Microsoft technologies itcampro@ itcamp14# Application Lifecycle: Silverlight vs WinRT Tombstoned Not running Running LaunchingClosing DeactivatingActivating Dormant Not running Running OnLaunched SuspendingResuming Suspended
  • 53. Premium community conference on Microsoft technologies itcampro@ itcamp14# Choices Approach Pros & Cons Keep using Silverlight 7.x/8 (Windows Phone 8 platform) Pros  Will run on Windows Phone 8.1 (app compatibility), still runs on earlier Windows Phone devices Cons  Will not take advantage of new platform capabilities  Will not enable targeting of Windows Use Silverlight 8.1 (Move Silverlight app into new execution stack and app package) Pros  Enables existing Silverlight apps to take advantage of nearly all new APIs and platform capabilities Cons  Will not enable targeting of Windows  Will not run on Windows Phone 8 devices Use Windows XAML platform Pros  Enables targeting of Windows and Windows Phone  Takes full advantage of new APIs and platform capabilities  Better performance & reduced memory use Cons  Will not run on Windows Phone 8 devices
  • 54. Premium community conference on Microsoft technologies itcampro@ itcamp14# Silverlight Only
  • 55. Premium community conference on Microsoft technologies itcampro@ itcamp14# Upgrade Silverlight 8.0 to 8.1
  • 56. Premium community conference on Microsoft technologies itcampro@ itcamp14# WINDOWS PHONE 8.1 PRINCIPLES Primary features: Existing Windows Phone 8 apps run flawlessly Windows Runtime XAML platform and HTML/WinJS support brings convergence with Windows 8.1, and is faster and uses less memory than Silverlight The core of an app can be built once for Windows and Windows Phone; you can share elements of UI, though it’s best to tailor the user experience for each platform Convergence is not just in the developer platform: it spans tools, store, commerce Developer investment in the existing Silverlight platform is protected: Existing Silverlight apps can be upgraded to access new Windows Phone 8.1 platform capabilities
  • 57. Premium community conference on Microsoft technologies itcampro@ itcamp14# Q & A

Editor's Notes

  • #36: Windows Phone 8.1 comes with a new improved Maps control. As before, there is good support for geolocation, but 8.1 brings support for geofencing. You can set up to 1000 circular geofences (a radius around a geolocation) and when the user passes through a geofence, a background task can be triggered allowing you to run some code to alert the user or perform other relevant processing.
  • #37: The absence of video editing support is a major application gap on Windows Phone today. In WP 8.1we are delivering a new APIs, Windows.Media.Editing with hardware transcoding support including support for: Quickly building a basic Video Trimming app (Windows XAML 8.1 and Windows Phone Silverlight 8.0 and 8.1) Complex tasks such as stitching clips. (Windows XAML 8.1) Adding Audio and Video Effects (Windows XAML 8.1) There is a new Background Audio API for Windows XAML 8.1 Two process model New MediaPlayer API Start second process through AppX manifest Support for the new Windows 8.1 System Media Transport Controls Improved cross-process communication There is support for developing Microsoft Media Foundation applications for Windows Phone 8.1: Create MFTs (MSDN for modern apps usually calls these Media Extensions) Support for adding local codecs via software
  • #38: Bluetooth LE is exploding! The ‘Internet of Things’ phenomena means that more and more smart objects are being equipped with sensors and Bluetooth LE radios. We have great APIs in Windows Phone 8.1 to connect to these devices, such as heart rate monitors and smart key fobs, including the ability to trigger background tasks when a connection id made or lost to a device. We also have good support for more legacy RFComm device services.
  • #40: Microsoft has always been good at ‘enterprise’ though we heard from our customers that Windows Phone 8 did not have all the features they needed. In WP8.1, there is great support for the features enterprises need, including massively improved device management, support for client certificates when using SSL, availability of the full Windows Runtime cryptography libraries, enterprise Wi-Fi, app-triggered VPN support, S/MIME to encrypt email and enhanced facilities for enterprises to manage the apps installed on fully-managed devices.