WP8 XAML App Development

Slides:



Advertisements
Similar presentations
© 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Advertisements

© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or.
© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or.
© 2010 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Feature: Reprint Outstanding Transactions Report © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product.
Feature: Purchase Requisitions - Requester © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names.
MIX 09 4/15/ :14 PM © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Windows 7 Training Microsoft Confidential. Windows ® 7 Compatibility Version Checking.
Feature: Purchase Order Prepayments II © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are.
Feature: OLE Notes Migration Utility
Feature: Web Client Keyboard Shortcuts © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are.
Feature: SmartList Usability Enhancements © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names.
Session 1.
Built by Developers for Developers…. © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names.
Feature: Assign an Item to Multiple Sites © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names.
Feature: Print Remaining Documents © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or.
Windows Azure Connect Name Title Microsoft Corporation.
NEXT: Overview – Sharing skills & code.
© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or.
Building Social Games for Windows 8 with Windows Azure Name Title Microsoft Corporation.
Feature: Customer Combiner and Modifier © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are.
© 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or.
demo Instance AInstance B Read “7” Write “8”

customer.
demo © 2008 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names.
demo Demo.
Feature: Void Historical/Open Transaction Updates © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product.
demo QueryForeign KeyInstance /sm:body()/x:Order/x:Delivery/y:TrackingId1Z
Feature: Suggested Item Enhancements – Analysis and Assignment © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and.
Windows Azure SQL Data Sync Name Title Microsoft Corporation.
projekt202 © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are.
The CLR CoreCLRCoreCLR © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product.
© 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks.
© 2008 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or.

DataModel VisualizationExternal Assets Workbook Excel Services API BrowserRich Apps EWA JSOMBrowser REST BrowserRich Apps.
Windows Azure Jeffrey Ferman Program Manager 3-006
6/10/ :23 PM TOOL-504T A deep dive into Visual Studio 11 Express for designing Metro style apps using XAML Joanna Mason & Unni Ravindranathan Program.
Platform for Metro Style Apps
Build data-driven collection and list apps using XAML
Building beautiful and interactive apps with HTML5 & CSS3
Возможности Excel 2010, о которых следует знать
Reaching more customers with accessible Metro style apps using HTML5
Using JavaScript to Build HTML5 Applications
Windows Phone multitasking
Title of Presentation 11/22/2018 3:34 PM
Web Site Web App Web API microsoftazurepass.com
Title of Presentation 12/2/2018 3:48 PM
Build /2/2018 © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks.
Overview of Silverlight 2
Quality & Performance for XAML Apps
Windows Phone application performance and optimization
Create experiences that span devices
Build /23/2019 © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks.
Platform for Metro style Apps
8/04/2019 9:13 PM © 2006 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Виктор Хаджийски Катедра “Металургия на желязото и металолеене”
Windows Summit /23/2019 © 2010 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be.
Leveraging existing code in Metro style apps
Title of Presentation 5/12/ :53 PM
Шитманов Дархан Қаражанұлы Тарих пәнінің
Designing great reading experiences
Chalk Talk: Reading and publishing
Title of Presentation 5/24/2019 1:26 PM
Developing Mobile Solutions with Windows Azure Part II
Title of Presentation 7/24/2019 8:53 PM
Bringing existing managed code into Metro style apps
Presentation transcript:

WP8 XAML App Development Windows Azure 7/4/2018 WP8 XAML App Development Shawn Oster Senior Program Manager 2-021 © 2011 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.

Agenda Overview Building WP8 apps What about WP7 apps Q&A Build 2012 7/4/2018 Agenda Overview Building WP8 apps What about WP7 apps Q&A © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, 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.

Overview

What is XAML? eXtensible Application Markup Language A declarative, markup-based language to define your user experience The way to write apps for Windows Phone Aligns with Windows 8

Windows Phone 8 app models Windows Phone Summit_2012 7/4/2018 Windows Phone 8 app models Direct3D App C++ XAML App C# / VB Direct3D Interop C++ Reuse Windows Phone 8 API Set Graphics Audio Media File System Networking Input Commerce Base Types Sensors Common .NET FX CoreCLR © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, 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.

Building WP8 apps

New XAML app features Project infrastructure and design What’s covered during this talk Project infrastructure and design Templates, localization, multiple resolutions Building Blocks Panorama, Pivot, LongListSelector, Map, WebBrowser, Pinch + Stretch, ViewportControl .NET async/await, threading, event timing

Project infrastructure and design File | New

Project templates New and Updated Project Templates Build 2012 7/4/2018 Project templates New and Updated Project Templates HTML5, Localization Support, Alignment Grid © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, 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.

Localization Global reach Use resource strings from the start, both code-behind and XAML FlowDirection controls UI mirroring LeftToRight, RightToLeft (RTL) Full support for RTL, bi-directional text WP8 XAML text stack uses DWrite

Multiple resolutions Multiple resolutions WVGA (480 x 800) “You look marvelous!” Multiple resolutions WVGA (480 x 800) 720p (720 x 1280) – 1.5 scaled WXGA (768 x 1280) – 1.6 scaled Layout is in logical vs. physical pixels Assets will be scaled so always use highest resolution DecodePixelWidth/DecodePixelHeight to save memory

Think about layouts in WVGA pixels 1.0 Scale WXGA 768x1280 1.6 Scale 720p 720x1280 1.5 Scale 400 Logical 400 Physical 400 Logical 640 Physical 400 Logical 600 Physical 2 Logical 2 Physical 2 Logical 3 Physical (Rounded) 2 Logical 3 Physical 30 Logical 30 Physical 30 Logical 48 Physical 30 Logical 45 Physical Think about layouts in WVGA pixels Think about graphics / videos in WXGA

Walk-thru: Project infrastructure Build 2012 7/4/2018 Walk-thru: Project infrastructure New templates, improvements, design help, localization, multiple resolutions, decoding pixels © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, 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.

Building blocks Controls

Control Improvements ProgressBar animates off-thread Build 2012 7/4/2018 Control Improvements ProgressBar animates off-thread Panorama, Pivot & LongListSelector all in ROM Reduced Panorama memory usage Improved “first touch” experience for signature controls © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, 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.

LongListSelector JumpList Grid View Sticky Headers Build 2012 7/4/2018 © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, 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.

Demo: LongListSelector Build 2012 7/4/2018 Demo: LongListSelector Converting a ListBox, styles, locale-aware grouping, grid view © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, 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.

LongListSelector Grouping requires an IList of IList Always know where you are Grouping requires an IList of IList Does UI virtualization ItemRealized is the key to infinite scrolling Remember to set IsGroupingEnabled

Maps Interactivity Overlay layers Vector-based Offline maps Always know where you are, thanks Nokia! Interactivity Off-thread input, panning, fluid pinch+stretch Overlay layers UIElement position and scale transforms no longer updated on UI thread Vector-based Render from vector data, readable labels, perspective view Offline maps Common cache across all applications

WebBrowser IE10-based Supports HTML5 features Supports gestures A more beautiful web, in your apps IE10-based Supports HTML5 features Local storage, CSS3 Supports gestures Mango apps run in IE9 compatibility mode

Pinch + Stretch Extends the ManipulationDeltaEventArgs class Completing the gesture story Extends the ManipulationDeltaEventArgs class PinchManipulation property Provides center point for the original and current gesture

ViewportControl More “primitive” than ScrollViewer A new primitive for controls More “primitive” than ScrollViewer Able to update bounds dynamically Designed specifically for touch-specific scenarios Base-control for LongListSelector Input is off-thread

Toolkit Renamed to “Windows Phone toolkit” Where are the “rest” of the controls? Renamed to “Windows Phone toolkit” Moved to http://phone.codeplex.com

Creating an image zoom control Build 2012 7/4/2018 Creating an image zoom control Demo Handling pinch + stretch using the ViewportControl © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, 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.

CoreCLR Same CLR as Windows 8 Compile in the Cloud Portable Libraries More than just keywords (but there are some pretty great keywords too) Same CLR as Windows 8 Compile in the Cloud Portable Libraries New APIs async/await for easier asynchronous programming, CallerMemberName

Simplify your code Demo async/await, CallerMemberName

What about WP7 code?

Application compatibility Migrating your app from WP7 to WP8 Massive effort on making sure the top apps and API are compatible Tools can target both 7.1 and 8.0 Binary vs. Source compat Light Up Code sharing

WP8 at BUILD Tuesday 10/30 11:45 – 12:45 | WP8 Application Model | 92 Nexus/Normandy 02:15 – 03:15 | WP8 Native C/C++ Game Development | 92 Magellan 04:00 – 0:500 | How to Leverage your code across WP8 and Windows 8 | 92 Nexus/Normandy 04:00 – 0:500 | WP8 XAML Application Development | 92 Magellan 05:45 – 06:45 | WP8 In App Purchase & Developer Center | 92 Nexus/Normandy

WP8 at BUILD Wednesday 10/31 11:15 – 12:15 | WP8 Critical Dev Practices | 92 Magellan 01:45 – 02:45 | WP8 Networking, Bluetooth, NFC | 92 Nexus/Normandy 03:30 – 04:30 | WP8 Making Money with your Application | 92 Magellan 05:15 – 06:15 | WP8 HTML5/IE10 for Developers | 92 Magellan

WP8 at BUILD Thursday 11/1 08:30 - 09:30 | WP8 Maps, Location & Background | 92 Magellan 10:15 – 11:15 | WP8 Performance & Optimization | 92 Magellan 12:00 – 01:00 | WP8 Photo & Lens Apps | 92 Magellan 02:30 – 03:30 | How to Leverage your code across WP8 and Win 8 | 33 McKinley 02:30 – 03:30 | WP8 Tiles, Lock and Notifications | 92 Magellan 04:15 – 0:515 | WP8 Native C/C++ Game Development | 33 McKinley 04:15 – 05:15 | WP8 Using C++ in your Applications | 92 Magellan

WP8 at BUILD Friday 11/2 08:30 – 09:30 | WP8 Using C++ in your Applications | 33 McKinley 08:30 – 09:30 | WP8 Using the Speech API | 92 Magellan 10:15 – 11:15 | WP8 Wallet and Deals | 92 Magellan 12:45 – 01:45 | WP8 App to App Communication | 92 Magellan 02:30 – 03:30 | WP8 Enterprise Development | 92 Magellan

Resources Windows Phone Dev Center Windows Phone Toolkit Blog http://dev.windowsphone.com/en-us Windows Phone Toolkit http://phone.codeplex.com Blog http://shawnoster.com

Thank You! Questions Answers (Please do your eval!)