Sascha Corti Technical Evangelist Microsoft Switzerland saschacortimicrosoftcom techpreachercorticom techpreacher Welcome to Windows Phone 81 Windows Phone 81 Key Investments ID: 727079
Download Presentation The PPT/PDF document "Windows Phone 8.1 for Developers" is the property of its rightful owner. Permission is granted to download and print the materials on this web site for personal, non-commercial use only, and to display it on your personal computer provided you do not modify the materials and that you retain all copyright notices contained in the materials. By downloading content from our website, you accept the terms of this agreement.
Slide1
Windows Phone 8.1
for Developers
Sascha Corti
Technical Evangelist, Microsoft
Switzerland
sascha.corti@microsoft.com
| techpreacher.corti.com | @
techpreacherSlide2
Welcome to Windows Phone 8.1!Slide3Windows Phone 8.1 Key Investments
Platform ImprovementsDecrease HW cost floor
Support 8x26, Qualcomm Reference DesignDual-SIM SupportApps can be installed to SD CardExperience improvementsSense Apps help optimize
usageAction centerShared push notificationsResource packages for smaller downloadsRoaming app data to bridge devices
Backup Home Screen Layout
8x26Slide4demo
Windows Phone 8.1 UXSlide5Windows Phone 8.1 Enterprise Features
Mobile Device ManagementBuilt-in MDM client (Windows Intune,
MobileIron, Citrix, SAP and Sophos)SecurityRemote Business Data Removal, Secure and Trusted Boot,
Sandboxed Apps S/MIME for Secure Encrypted EmailSign and Encrypt Email directly from Outlook Client & Force
S/MIME
Policies
Assigned
Access
Lock Handsets
to a
Single Line-of-Business App for a Dedicated TaskEnhanced App Management Apps can be Pushed to the Device
, Updated, Removed or Defined MandatoryWhite- and Black-Listing of Store Apps and
Web SitesCertificate ManagementMDM: Enroll, Renew, and Revoke Certificates for User AuthenticationCertificates are Protected by the built-in TPM enabling Virtual Smartcard on Windows PhoneEnterprise VPN and Wi-FiApp-specific VPN Capabilities, supporting IPsec and SSL VPN GatewaysSupport for Checkpoint, Del/SonicWALL, F5, JuniperSlide6
Windows Phone 8.1Developer PlatformSlide7
One Windows for App Developers
Shared Developer PlatformConverged Developer PlatformConverged App ModelUniversal App Project
Shared App ServicesShared Developer Store registrationShared App Identities + Entitlement
Unified
Push Services (WNS)
Unified App Data Roaming and Backup
Shared Live Tiles
Shared Model for Background Execution
Resource
Packages for Smaller DownloadsSlide8Native App Development on Windows Phone 8.1
Gaming
Windows Phone Store Apps with HTML
JavaScript
WinJS
HTML
XAML
Windows
Runtime
XAML
C#/VB
or C++
Windows Phone 8.1 SilverlightXAMLC#/VBApps written for Windows Phone 7.x/8.0 all run on Windows Phone 8.1DirectX/Direct3DC++
…others
Windows Runtime
CONVERGENCESlide9
Some Differences…
WP 8.1 Silverlight Only
Clipboard APIs
Lock Screen Background Provider
Ringtone Provider
Alarms & Reminders
Lens Apps
Photos Extensibility
Continuous Background Location
VoIP APIs
Wallet AgentUniversal WinRT OnlyModern Resource TechnologyVirtual Canvas / Large Screen Support
New XAML Controls (Hub, etc.)Media Editing APIs (Video Editing)New Tooling FeaturesNew Profiling Tools SupportMSDN Article: http://corti.ch/wp81-sl-rtSlide10WinJS Convergence
WinJS
Open Sourced on GitHub
WinJS
for Web
http://try.buildwinjs.comSlide11
What’s new for Developers in Windows Phone 8.1Slide12demo
WinRT App on Windows Phone 8.1Slide13Back Button Behavior
8.1 Apps don’t Close on Back Button PressPeople didn’t want
previous behaviorEasy App SwitcherSwipe Down to Close Apps
Slide14demo
Back Button BehaviorSlide15Background Execution
Windows Phone 8 SLBased on Scheduled Task
PeriodicTask, ResourceIntensiveTaskBackground Transfer ServiceBackground Location TrackingVOIP and Audio Agents
WinRT (Win 8.1 / WP 8.1)Based on Background Tasks
Hosted
in a separate process
Responds to Triggers and Conditions
One
trigger per task, multiple
conditions
Applications must request access to run in Background
Windows Phone 8.1 SL
Native Background Task functionality is available from Silverlight 8.1Background Agents are hosted on top of WinRT Background infrastructureSlide16Trigger based execution
Apps Subscribe to Triggers they are Interested inOnly run when Trigger is FiredExamples
Push notificationGeofencingBluetooth LE Device in RangeScheduleSensorsSlide17Geofencing
APIs for GeofencingLocation Triggers
Up to 1000 GeofencesGeofencing ExperienceApp Registers for
Geo-Coordinate AnchorsRadius around that PointWhen User
enters
a
Geofence
,
App
is triggered and
App Execution can happenSlide18Application Data Sharing
Enables User-Driven Data Sharing Between AppsSame Programming Model as Windows Using the Sharing ContractCan Implement Sharing-Source & -Target
Apps can Freely Share ContentNo Limitations on Content TypeOptimized for Low End Devices
No
Share
Charm
!
Use
CommandBar
ButtonSlide19demo
Adding a Sharing ContractSlide20One Microsoft Push Service
Windows Notification Service (WNS)Works with Windows and Windows Phone
Existing Phone Push Notifications now run over WNS with no changeSingle Client on Device that works with WNS & MPNSPush Simulation in Emulator – Load & Save Data Samples
Toast NotificationsCommon Data FormatDevice Specific
VisualizationSlide21Shared
Identity Apps
Submit a Windows 8.1 & Windows Phone
8.1 App using the same Reserved
Name
Customer gets App & IAP (durables) entitlements across Windows & Phone
Roaming Data
enabled across Windows & Phone
Single
Push Notification Channel
Quiz Bowl
Quiz Bowl
The next generation quiz game - compete real time with players worldwide.FreeFree
Shared Identity Icon
Windows Store
WP StoreSlide22Action Center
Configurable Quick Action ButtonsNotification Group per AppUsers can dismiss notification groups or all
Add Notifications via Toast or SilentlyApps can Update or Remove NotificationsSlide23demo
Writing to the Action CenterSlide24App Packaging and Deployment
Same Format for Windows & Phone (APPX)Split out
Resources into Separate PackagesData Efficient Download
AppX Package
720p
Manifest(s)
1080p
Spanish
German
Italian
French
English
WVGADLLsSlide25Install Apps on SD Card
User can Decide to Install or Move an App to SDApp is Encrypted on the SD Card for Protection and IsolationApps are Enabled for SD by DefaultOpt Out with a Flag in the ManifestSlide26App Backup &
RoamingApp Data RoamingBetween Windows Apps and Windows Phone AppsApp
Data BackupApp decides what data gets backed up to OneDriveStart Screen BackupTile metadata and layout is backed up to OneDrive daily
Windows Device (PFN = 123)
Roaming
Local
Temp
Windows Phone (PFN = 123)
Roaming
Local
Temp
Roaming
100 kbDevice ADevice B
100 kb
QuotaSlide27Links
All //BUILD/ 2014 Sessions Onlinehttp://channel9.msdn.com/Events/Build/2014/
Building Apps for Windows Phone 8.1 Traininghttp://channel9.msdn.com/Series/Building-Apps-for-Windows-Phone-8-1http://
aka.ms/WP81JumpStartSource
01 Introducing Windows Phone 8.1 App Development
02 Getting Started Building Windows Runtime Apps
03 Page
Nav
Data Binding in Windows Runtime Apps
04 Lists in Windows Runtime Apps
05 Windows Runtime App Page Layout Controls
06 Adapting UI for Different Screens
07 Windows Runtime App Lifecycle08 Localization and Globalization09 Data and Folder10 Sharing11 Background Tasks12 Maps Geolocation and Geofencing13 Networking, Mobile Services and Authentication14 Tiles and Notifications15 Sensors and Proximity16 Contacts and Appointments17 Camera, Media and Audio18 Windows Phone 8.1 for Enterprise Developer19 SQLite20 VS Tooling and Memory Profiling21 App packaging, monetization and publication22 Universal Apps for Windows23 Silverlight apps on 8.1Slide28Getting Windows Phone OS 8.1
Devices sold June 2014 will have Windows Phone 8.1 pre-installedAll devices running Windows Phone 8.0 are capable of being upgraded to Windows Phone 8.1
Availability of Updates for Contract Devices is under the Control of the Mobile OperatorRegistered developers install preview through the ‘Preview for Developers’ programDevelopers who have signed up for a Developer Account:
http://dev.windowsphone.com Anyone who has signed up for Microsoft’s App Studio: http://appstudio.windowsphone.com
28Slide29
Getting the ToolsThe
Windows Developer Centers are the basefor Windows and Windows Phone development
http://dev.windows.com http://dev.windowsphone.com FREE download: Visual Studio Express 2013 for Windows
Enables development for Windows 8.1 and Windows Phone 8.1
In Visual Studio 2013 Professional or higher,
install
Update 2
to add in Windows Phone 8.1
Dev Tools
29Slide30Getting a Windows Developer Account
No Developer account needed toDownload
SDK and start developing AppsDeveloper account required to Publish Windows Phone and/or Windows Store apps Use Push Notifications and Unlock more than one phone for developmentTo get a Developer Account
Included if you have an MSDN subscriptionFree to students who have a Dreamspark Subscription$19 (CHF 17) / year for Individual Developers
$
99
(CHF 90) / year for
Company
Accounts
30
No
Credit Card
required to sign upPaypal supportedSlide31AppStudio
http://apps.windowsstore.comStep-by-Step Guide:
http://apps.windowsstore.com/Home/DownloadGetStarted Slide32
© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.
The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.