Michael Palermo Jeremy Foster

Slides:



Advertisements
Similar presentations
Periodic and distance based tracking Desired accuracy in meters Single location request Caching and timeout Position source.Net APIs Windows Runtime.
Advertisements

Part 2: Manage app lifecycle and state (Windows Store apps using C#/VB and XAML) us/library/windows/apps/hh aspx
Computer System Overview
Essentials of Developing Windows Phone Apps Chinthaka Dissanayake Tech Lead Exilesoft.
1 When to Switch Processes 3 triggers –System call, Interrupt and Trap System call –when a user program invokes a system call. e.g., a system call that.
Advanced Windows 8 Apps Using JavaScript Jump Start Exam Prep Advanced Windows 8 Apps Using JavaScript Jeremy Foster Microsoft Developer Evangelist.
Developing Windows 8 Store Apps using HTML5 Refresh / Exam Prep M2: Storage, Networking, and Security Michael Palermo Microsoft Technical Evangelist.
1 Using jQuery JavaScript & jQuery the missing manual (Second Edition)
Chien-Chung Shen Manifest and Activity Chien-Chung Shen
Angelo Chan Kamran Bilgrami. Agenda ● WinJS - What and Why ● Modern Apps ● WinRT Architecture ● Demos o Controls o Data Bindings o Program LifeCycle Management.
Chapter 11: Introduction to the Visual Basic Environment Spreadsheet-Based Decision Support Systems Prof. Name Position (123) University.
Using Intents to Broadcast Events Intents Can be used to broadcast messages anonymously Between components via the sendBroadcast method As a result Broadcast.
Windows Phone OS 陳建寧 陳立昂 CS Operating System.
Advanced Windows 8 Apps Using JavaScript Jump Start Exam Prep M6: Deployment Jeremy Foster Microsoft Developer Evangelist Michael Palermo Microsoft.
Windows and Windows Phone Application Model Universal Apps What’s new in Windows Phone
Processes & Threads Introduction to Operating Systems: Module 5.
Understand Windows Services Software Development Fundamentals LESSON 5.3.
Event Handling (the right way). A Simple Web Page Events - Summary The web page looks like this:
Advanced Windows Store App Development with HTML5 Refresh / Exam Prep M6: Tools and Asynchronous Programming Jeremy Foster Microsoft Technical.
Jeremy Thake Technical Product Building Apps for Office using Visual Studio.
No Mixed Mode Debugging Support Use Multiple Instances Instead Launch the app under the script debugger Attach with the native debugger from.
Advanced Windows 8 App Development Using JavaScript Jump Start Exam Prep M2: Hardware and Sensors Michael Palermo Microsoft Technical Evangelist.
11 | Managing User Info Jeremy Foster Michael Palermo
© D. J. Foreman, Structure of an O/S. © D. J. Foreman, Overview  Required functionality –Handle interrupts –Manage resources Processes.
Windows 8 App Development with XAML
Porting your Unity Game to the Windows Store Jump Start
Beginning of Xamarin for iOS development
Cross Platform Development with Xamarin & Visual Studio 2013
Building Desktop Apps with Node.js and Electron
Becoming a Pro IN Mobile Applications Testing
Windows Calls Applications (windows.applicationmodel.calls)
Processes and threads.
Intro to Processes CSSE 332 Operating Systems
Microsoft Build /13/2018 2:24 AM © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY,
What web developers need to know when building Metro style apps
IOS App Development.
Module 1: Getting Started
Netflix Not Working On iPhone? Here’s best guide for you.
Microsoft Build /8/2018 8:41 PM © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY,
Microsoft Build /9/2018 8:05 PM © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY,
M4: Animations, Custom Controls, and Globalization
Welcome to the Meetoo PowerPoint® Add-in
11/19/ | App Model & Storage © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered.
Jeremy Foster Michael Palermo
Introduction to jQuery
Tooling and Diagnostics
Objective Outcome Measures
SCC Supplier Performance Management (SPM) Training
Participant Online Access
Search: integrating into the Windows 8 search experience
Visual Studio Principal Program Manager.
Jeremy Foster Michael Palermo
Share: Your app powers the Windows 8 share experience
Windows Runtime App Lifecycle
HNDIT2417 Mobile Application Development
Office 365 Development.
Platform for Metro style Apps
Using tiles and notifications
Computer System Overview
M3: Printing and PlayTo Jeremy Foster Michael Palermo
Developing Universal Windows Apps with HTML and JavaScript
Jeremy Foster Michael Palermo
Build 2014 Josh Williams, Engineer Ryan J. Salva, Program Manager
Michael Palermo Jeremy Foster
Windows Azure Anders Hejlsberg Technical Fellow 3-012
Jeremy Foster Michael Palermo
04 | State Management Bill Burrows | UW Faculty Member & VB MVP
03 | Branding & Monetization
Ch07 生命週期(Life Cycle).
Presentation transcript:

Michael Palermo | @palermo4 Jeremy Foster | @codefoster 02 | App Lifecycle Michael Palermo | @palermo4 Jeremy Foster | @codefoster

Module Overview Launching, suspending, and resuming Testing lifecycle events in Visual Studio File and URI activation Secondary tile activation

Launching, suspending, and resuming

Application Lifecycle

Launch An app is launched whenever it is activated by the user while the process is in the NotRunning state.

Suspend An app can be suspended when the user switches away from it or when the device enters a low power state. Most apps stop running when the user switches away from them. When the user moves an app to the background, the OS waits a few seconds to see whether the user immediately switches back to the app. If the user does not switch back, the OS suspends the app.

Resume A suspended app is resumed when the user switches to it or when the device comes out of a low power state. If a suspended app is activated to participate in an app contract or extension, it receives the resuming event first, then the activated event. When an app is suspended, it does not receive network events that it registered to receive. These events are not queued, they are simply missed. Therefore, your app should test the network status when it is resumed.

Testing Lifecycle Events in Visual Studio

Debug in Visual Studio

File and URI Activation

Declarations In platform project package.appxmanifest files

Please, do try this at home… Start | Run… bingmaps: netflix: asdf: codeshow: nickmetroapp: bingmaps:?q=coffee&where=Seattle

Community Megaphone

Secondary Tile Activation

TileID used in application activation event, available via arguments Secondary Tiles var secondaryTile = new Windows.UI.StartScreen.SecondaryTile("dom"); TileID used in application activation event, available via arguments // in activated event handler… if (args.detail.arguments !== "") { var launchDemo = JSON.parse(args.detail.arguments).launchDemo; if (launchDemo) { // process and navigate } launchDemo == “dom”

Visual Studio: CodeShow Secondary Tile

Summary Launching, suspending, and resuming Testing lifecycle events in Visual Studio File and URI activation Secondary tile activation