SlideShare a Scribd company logo
Apps do not get notified when
 they are getting terminated
demo
User
Launches
  App




 Splash
 screen
//Register for the Suspending event and call suspendingHandler when received
Windows.UI.WebUI.WebUIApplication.addEventListener("suspending", suspendingHandler);

//Handle the suspending event and save the current user session using WinJS sessionState
function suspendingHandler(eventArgs) {

//We are getting suspended

}

//Register for the Resuming event and call resumingHandler when received
Windows.UI.WebUI.WebUIApplication.addEventListener("resuming", resumingHandler);

function resumingHandler() {

//We are getting resumed, in general do nothing

}
demo
Scenario   You should….
demo
demo
Tile launch activation




                        activated
User taps on Tile                         Running app
    launch                event


 eventArgs.kind
                    Splash Screen shown
HTTP POST




Notification
 Delivered
Trigger                                        Condition
TimeTrigger*                                    InternetAvailable,
PushNotificationTrigger*                        InternetNotAvailable,
SessionStart*                                   SessionConnected,
ControlChannelTrigger*(**)                      SessionDisconnected,
ServicingComplete                               UserNotPresent,
SessionConnected                                UserPresent
SessionDisconnected
SmsReceived
TimeZoneChange
UserAway/UserPresent,
LockScreenApplicationAdded/Removed
OnlineIdConnectedStateChangeInternetAvailable
InternetAvailable/InternetNotAvailable
NetworkNotificationChannelReset
NetworkStateChange
MaintenanceTrigger                              *requires lock permission
PushNotificationTrigger**                       **can run in App (not BackgroundHost.exe)
function RegisterSampleBackgroundTaskWithCondition()
{
    var builder = new Windows.ApplicationModel.Background.BackgroundTaskBuilder();
    builder.name = "BackgroundTestWorker";
    builder.taskEntryPoint = "BackgroundTestWorker.js";

// run a timetrigger for every 15 minutes
    var myTrigger = new Windows.ApplicationModel.Background.TimeTrigger(15, true);
    builder.setTrigger(myTrigger);

// required condition: internetAvailable
    var condition = new
Windows.ApplicationModel.Background.SystemCondition(Windows.ApplicationModel.Background.Sys
temConditionType.internetAvailable);
    builder.addCondition(condition);

// register the task
    var task = myTaskBuilder.register();

    task.addEventListener("progress", task_Progress);
    task.addEventListener("completed", task_Completed);
}
<Application Id="App" StartPage="default.html">
    <VisualElements DisplayName="SimpleBackgroundTask" Logo="imageslogo.png" SmallLogo="imagessmalllogo.png"
                      Description="SimpleBackgroundTask" ForegroundText="light" BackgroundColor="#000000">
     <LockScreen Notification="badge" BadgeLogo="badgelogo.png" />
     <SplashScreen Image="imagessplashscreen.png" />
    </VisualElements>
    <Extensions>
      <Extension Category="windows.backgroundTasks" StartPage="backgroundTaskLogger.js">
          <BackgroundTasks>
            <Task Type="timer" />
            <Task Type="systemEvent" />
          </BackgroundTasks>
       </Extension>
    </Extensions>
 </Application>
demo
CPU resource quota   Refresh period

  Lock screen app

Non-lock screen app
#win8aca : How and when metro style apps run
#win8aca : How and when metro style apps run

More Related Content

What's hot

Mocks, Proxies, and Transpilation as Development Strategies for Web Development
Mocks, Proxies, and Transpilation as Development Strategies for Web DevelopmentMocks, Proxies, and Transpilation as Development Strategies for Web Development
Mocks, Proxies, and Transpilation as Development Strategies for Web Development
ESUG
 
Web ui testing
Web ui testingWeb ui testing
Web ui testing
Radim Pavlicek
 
HTML5 - The 2012 of the Web
HTML5 - The 2012 of the WebHTML5 - The 2012 of the Web
HTML5 - The 2012 of the Web
Robert Nyman
 
WebSockets Jump Start
WebSockets Jump StartWebSockets Jump Start
WebSockets Jump Start
Haim Michael
 
Service worker API
Service worker APIService worker API
Service worker API
Giorgio Natili
 
Drive chrome(headless) with puppeteer
Drive chrome(headless) with puppeteerDrive chrome(headless) with puppeteer
Drive chrome(headless) with puppeteer
VodqaBLR
 
Transaction Management Tool
Transaction Management ToolTransaction Management Tool
Transaction Management Tool
Peeyush Ranjan
 
Architecting JavaScript Code
Architecting JavaScript CodeArchitecting JavaScript Code
Architecting JavaScript Code
Suresh Balla
 
Full Stack 2019 edition
Full Stack 2019 editionFull Stack 2019 edition
Full Stack 2019 edition
Matjaž Lipuš
 
Infinum Android Talks #17 - A quest for WebSockets by Zeljko Plesac
Infinum Android Talks #17 - A quest for WebSockets by Zeljko PlesacInfinum Android Talks #17 - A quest for WebSockets by Zeljko Plesac
Infinum Android Talks #17 - A quest for WebSockets by Zeljko Plesac
Infinum
 
Personas: Understanding the User Behind the Visit
Personas: Understanding the User Behind the VisitPersonas: Understanding the User Behind the Visit
Personas: Understanding the User Behind the Visit
Michael King
 
Entities on Node.JS
Entities on Node.JSEntities on Node.JS
Entities on Node.JS
Thanos Polychronakis
 
Event In JavaScript
Event In JavaScriptEvent In JavaScript
Event In JavaScript
ShahDhruv21
 
Svelte JS introduction
Svelte JS introductionSvelte JS introduction
Svelte JS introduction
Mikhail Kuznetcov
 
JavaScript patterns chapter 8 of mine
JavaScript patterns chapter 8 of mineJavaScript patterns chapter 8 of mine
JavaScript patterns chapter 8 of mine
Chien-Wei Huang
 
Net/http and the http.handler interface
Net/http and the http.handler interfaceNet/http and the http.handler interface
Net/http and the http.handler interface
Joakim Gustin
 
Implement Search Screen Using Knockoutjs
Implement Search Screen Using KnockoutjsImplement Search Screen Using Knockoutjs
Implement Search Screen Using Knockoutjs
Neeraj Kaushik
 
Puppeteer - Headless Chrome Node API
Puppeteer - Headless Chrome Node APIPuppeteer - Headless Chrome Node API
Puppeteer - Headless Chrome Node API
Wilson Su
 
Angularjs presentation
Angularjs presentationAngularjs presentation
Angularjs presentation
Sung Won Cha
 
Human Talks - StencilJS
Human Talks - StencilJSHuman Talks - StencilJS
Human Talks - StencilJS
Alexandre Koelsch
 

What's hot (20)

Mocks, Proxies, and Transpilation as Development Strategies for Web Development
Mocks, Proxies, and Transpilation as Development Strategies for Web DevelopmentMocks, Proxies, and Transpilation as Development Strategies for Web Development
Mocks, Proxies, and Transpilation as Development Strategies for Web Development
 
Web ui testing
Web ui testingWeb ui testing
Web ui testing
 
HTML5 - The 2012 of the Web
HTML5 - The 2012 of the WebHTML5 - The 2012 of the Web
HTML5 - The 2012 of the Web
 
WebSockets Jump Start
WebSockets Jump StartWebSockets Jump Start
WebSockets Jump Start
 
Service worker API
Service worker APIService worker API
Service worker API
 
Drive chrome(headless) with puppeteer
Drive chrome(headless) with puppeteerDrive chrome(headless) with puppeteer
Drive chrome(headless) with puppeteer
 
Transaction Management Tool
Transaction Management ToolTransaction Management Tool
Transaction Management Tool
 
Architecting JavaScript Code
Architecting JavaScript CodeArchitecting JavaScript Code
Architecting JavaScript Code
 
Full Stack 2019 edition
Full Stack 2019 editionFull Stack 2019 edition
Full Stack 2019 edition
 
Infinum Android Talks #17 - A quest for WebSockets by Zeljko Plesac
Infinum Android Talks #17 - A quest for WebSockets by Zeljko PlesacInfinum Android Talks #17 - A quest for WebSockets by Zeljko Plesac
Infinum Android Talks #17 - A quest for WebSockets by Zeljko Plesac
 
Personas: Understanding the User Behind the Visit
Personas: Understanding the User Behind the VisitPersonas: Understanding the User Behind the Visit
Personas: Understanding the User Behind the Visit
 
Entities on Node.JS
Entities on Node.JSEntities on Node.JS
Entities on Node.JS
 
Event In JavaScript
Event In JavaScriptEvent In JavaScript
Event In JavaScript
 
Svelte JS introduction
Svelte JS introductionSvelte JS introduction
Svelte JS introduction
 
JavaScript patterns chapter 8 of mine
JavaScript patterns chapter 8 of mineJavaScript patterns chapter 8 of mine
JavaScript patterns chapter 8 of mine
 
Net/http and the http.handler interface
Net/http and the http.handler interfaceNet/http and the http.handler interface
Net/http and the http.handler interface
 
Implement Search Screen Using Knockoutjs
Implement Search Screen Using KnockoutjsImplement Search Screen Using Knockoutjs
Implement Search Screen Using Knockoutjs
 
Puppeteer - Headless Chrome Node API
Puppeteer - Headless Chrome Node APIPuppeteer - Headless Chrome Node API
Puppeteer - Headless Chrome Node API
 
Angularjs presentation
Angularjs presentationAngularjs presentation
Angularjs presentation
 
Human Talks - StencilJS
Human Talks - StencilJSHuman Talks - StencilJS
Human Talks - StencilJS
 

Viewers also liked

#win8acad : Integrating the Windows 8 Experience with Contracts
#win8acad : Integrating the Windows 8 Experience with Contracts#win8acad : Integrating the Windows 8 Experience with Contracts
#win8acad : Integrating the Windows 8 Experience with Contracts
Frederik De Bruyne
 
#win8acad : Tiles and notifications
#win8acad : Tiles and notifications#win8acad : Tiles and notifications
#win8acad : Tiles and notifications
Frederik De Bruyne
 
Students to Business Day 2012: Sas
Students to Business Day 2012: SasStudents to Business Day 2012: Sas
Students to Business Day 2012: Sas
Frederik De Bruyne
 
Students to Business Day 2012: Giuliano Dore
Students to Business Day 2012: Giuliano DoreStudents to Business Day 2012: Giuliano Dore
Students to Business Day 2012: Giuliano Dore
Frederik De Bruyne
 
La Gestión de producción
La Gestión de producciónLa Gestión de producción
La Gestión de producción
Mirian Cabrera
 
#win8acad : Platform for Metro Style Apps
#win8acad : Platform for Metro Style Apps#win8acad : Platform for Metro Style Apps
#win8acad : Platform for Metro Style Apps
Frederik De Bruyne
 
Gestión de Producción
Gestión de ProducciónGestión de Producción
Gestión de Producción
Sergio López
 
#win8acad : Building a Windows 8 Metro Style UI
#win8acad : Building a Windows 8 Metro Style UI#win8acad : Building a Windows 8 Metro Style UI
#win8acad : Building a Windows 8 Metro Style UI
Frederik De Bruyne
 
#win8acad : Building Metro Style Apps with XAML for .NET Developers
#win8acad : Building Metro Style Apps with XAML for .NET Developers#win8acad : Building Metro Style Apps with XAML for .NET Developers
#win8acad : Building Metro Style Apps with XAML for .NET Developers
Frederik De Bruyne
 
Flat Design. Microsoft Story
Flat Design. Microsoft StoryFlat Design. Microsoft Story
Flat Design. Microsoft Story
Nikita Lukianets
 

Viewers also liked (10)

#win8acad : Integrating the Windows 8 Experience with Contracts
#win8acad : Integrating the Windows 8 Experience with Contracts#win8acad : Integrating the Windows 8 Experience with Contracts
#win8acad : Integrating the Windows 8 Experience with Contracts
 
#win8acad : Tiles and notifications
#win8acad : Tiles and notifications#win8acad : Tiles and notifications
#win8acad : Tiles and notifications
 
Students to Business Day 2012: Sas
Students to Business Day 2012: SasStudents to Business Day 2012: Sas
Students to Business Day 2012: Sas
 
Students to Business Day 2012: Giuliano Dore
Students to Business Day 2012: Giuliano DoreStudents to Business Day 2012: Giuliano Dore
Students to Business Day 2012: Giuliano Dore
 
La Gestión de producción
La Gestión de producciónLa Gestión de producción
La Gestión de producción
 
#win8acad : Platform for Metro Style Apps
#win8acad : Platform for Metro Style Apps#win8acad : Platform for Metro Style Apps
#win8acad : Platform for Metro Style Apps
 
Gestión de Producción
Gestión de ProducciónGestión de Producción
Gestión de Producción
 
#win8acad : Building a Windows 8 Metro Style UI
#win8acad : Building a Windows 8 Metro Style UI#win8acad : Building a Windows 8 Metro Style UI
#win8acad : Building a Windows 8 Metro Style UI
 
#win8acad : Building Metro Style Apps with XAML for .NET Developers
#win8acad : Building Metro Style Apps with XAML for .NET Developers#win8acad : Building Metro Style Apps with XAML for .NET Developers
#win8acad : Building Metro Style Apps with XAML for .NET Developers
 
Flat Design. Microsoft Story
Flat Design. Microsoft StoryFlat Design. Microsoft Story
Flat Design. Microsoft Story
 

Similar to #win8aca : How and when metro style apps run

PLM and Background Tasks by Jason Fox
PLM and Background Tasks by Jason FoxPLM and Background Tasks by Jason Fox
PLM and Background Tasks by Jason Fox
Nathalie Goh-Livorness
 
Beat the Clock: Background Tasking in Windows 8
Beat the Clock: Background Tasking in Windows 8Beat the Clock: Background Tasking in Windows 8
Beat the Clock: Background Tasking in Windows 8
Microsoft Developer Network (MSDN) - Belgium and Luxembourg
 
Windows 8 Pure Imagination - 2012-11-25 - Extending Your Game with Windows 8 ...
Windows 8 Pure Imagination - 2012-11-25 - Extending Your Game with Windows 8 ...Windows 8 Pure Imagination - 2012-11-25 - Extending Your Game with Windows 8 ...
Windows 8 Pure Imagination - 2012-11-25 - Extending Your Game with Windows 8 ...
Frédéric Harper
 
Windows Store app using XAML and C#: Enterprise Product Development
Windows Store app using XAML and C#: Enterprise Product Development Windows Store app using XAML and C#: Enterprise Product Development
Windows Store app using XAML and C#: Enterprise Product Development
Mahmoud Hamed Mahmoud
 
The Open Web and what it means
The Open Web and what it meansThe Open Web and what it means
The Open Web and what it means
Robert Nyman
 
Windows8 매트로스타일 앱개발 개요
Windows8 매트로스타일 앱개발 개요Windows8 매트로스타일 앱개발 개요
Windows8 매트로스타일 앱개발 개요
KH Park (박경훈)
 
Architecting ActionScript 3 applications using PureMVC
Architecting ActionScript 3 applications using PureMVCArchitecting ActionScript 3 applications using PureMVC
Architecting ActionScript 3 applications using PureMVC
marcocasario
 
Magento 2 Seminar - Anton Kril - Magento 2 Summary
Magento 2 Seminar - Anton Kril - Magento 2 SummaryMagento 2 Seminar - Anton Kril - Magento 2 Summary
Magento 2 Seminar - Anton Kril - Magento 2 Summary
Yireo
 
DWR, Hibernate and Dojo.E - A Tutorial
DWR, Hibernate and Dojo.E - A TutorialDWR, Hibernate and Dojo.E - A Tutorial
DWR, Hibernate and Dojo.E - A Tutorial
jbarciauskas
 
Android Best Practices
Android Best PracticesAndroid Best Practices
Android Best Practices
Yekmer Simsek
 
GDG GeorgeTown Devfest 2014 Presentation: Android Wear: A Developer's Perspec...
GDG GeorgeTown Devfest 2014 Presentation: Android Wear: A Developer's Perspec...GDG GeorgeTown Devfest 2014 Presentation: Android Wear: A Developer's Perspec...
GDG GeorgeTown Devfest 2014 Presentation: Android Wear: A Developer's Perspec...
mharkus
 
Google Web Toolkits
Google Web ToolkitsGoogle Web Toolkits
Google Web Toolkits
Yiguang Hu
 
Asp.net state management
Asp.net state managementAsp.net state management
Asp.net state management
priya Nithya
 
Android RuntimePermissionsExtended
Android RuntimePermissionsExtendedAndroid RuntimePermissionsExtended
Android RuntimePermissionsExtended
Nebojša Vukšić
 
Displaying additional image types in XMetaL
Displaying additional image types in XMetaLDisplaying additional image types in XMetaL
Displaying additional image types in XMetaL
XMetaL
 
Mobile Software Engineering Crash Course - C06 WindowsPhone
Mobile Software Engineering Crash Course - C06 WindowsPhoneMobile Software Engineering Crash Course - C06 WindowsPhone
Mobile Software Engineering Crash Course - C06 WindowsPhone
Mohammad Shaker
 
Spring mvc my Faviourite Slide
Spring mvc my Faviourite SlideSpring mvc my Faviourite Slide
Spring mvc my Faviourite Slide
Daniel Adenew
 
ASP.NET MVC Internals
ASP.NET MVC InternalsASP.NET MVC Internals
ASP.NET MVC Internals
Vitaly Baum
 
Capture image on eye blink
Capture image on eye blinkCapture image on eye blink
Capture image on eye blink
InnovationM
 
Java Web Programming [8/9] : JSF and AJAX
Java Web Programming [8/9] : JSF and AJAXJava Web Programming [8/9] : JSF and AJAX
Java Web Programming [8/9] : JSF and AJAX
IMC Institute
 

Similar to #win8aca : How and when metro style apps run (20)

PLM and Background Tasks by Jason Fox
PLM and Background Tasks by Jason FoxPLM and Background Tasks by Jason Fox
PLM and Background Tasks by Jason Fox
 
Beat the Clock: Background Tasking in Windows 8
Beat the Clock: Background Tasking in Windows 8Beat the Clock: Background Tasking in Windows 8
Beat the Clock: Background Tasking in Windows 8
 
Windows 8 Pure Imagination - 2012-11-25 - Extending Your Game with Windows 8 ...
Windows 8 Pure Imagination - 2012-11-25 - Extending Your Game with Windows 8 ...Windows 8 Pure Imagination - 2012-11-25 - Extending Your Game with Windows 8 ...
Windows 8 Pure Imagination - 2012-11-25 - Extending Your Game with Windows 8 ...
 
Windows Store app using XAML and C#: Enterprise Product Development
Windows Store app using XAML and C#: Enterprise Product Development Windows Store app using XAML and C#: Enterprise Product Development
Windows Store app using XAML and C#: Enterprise Product Development
 
The Open Web and what it means
The Open Web and what it meansThe Open Web and what it means
The Open Web and what it means
 
Windows8 매트로스타일 앱개발 개요
Windows8 매트로스타일 앱개발 개요Windows8 매트로스타일 앱개발 개요
Windows8 매트로스타일 앱개발 개요
 
Architecting ActionScript 3 applications using PureMVC
Architecting ActionScript 3 applications using PureMVCArchitecting ActionScript 3 applications using PureMVC
Architecting ActionScript 3 applications using PureMVC
 
Magento 2 Seminar - Anton Kril - Magento 2 Summary
Magento 2 Seminar - Anton Kril - Magento 2 SummaryMagento 2 Seminar - Anton Kril - Magento 2 Summary
Magento 2 Seminar - Anton Kril - Magento 2 Summary
 
DWR, Hibernate and Dojo.E - A Tutorial
DWR, Hibernate and Dojo.E - A TutorialDWR, Hibernate and Dojo.E - A Tutorial
DWR, Hibernate and Dojo.E - A Tutorial
 
Android Best Practices
Android Best PracticesAndroid Best Practices
Android Best Practices
 
GDG GeorgeTown Devfest 2014 Presentation: Android Wear: A Developer's Perspec...
GDG GeorgeTown Devfest 2014 Presentation: Android Wear: A Developer's Perspec...GDG GeorgeTown Devfest 2014 Presentation: Android Wear: A Developer's Perspec...
GDG GeorgeTown Devfest 2014 Presentation: Android Wear: A Developer's Perspec...
 
Google Web Toolkits
Google Web ToolkitsGoogle Web Toolkits
Google Web Toolkits
 
Asp.net state management
Asp.net state managementAsp.net state management
Asp.net state management
 
Android RuntimePermissionsExtended
Android RuntimePermissionsExtendedAndroid RuntimePermissionsExtended
Android RuntimePermissionsExtended
 
Displaying additional image types in XMetaL
Displaying additional image types in XMetaLDisplaying additional image types in XMetaL
Displaying additional image types in XMetaL
 
Mobile Software Engineering Crash Course - C06 WindowsPhone
Mobile Software Engineering Crash Course - C06 WindowsPhoneMobile Software Engineering Crash Course - C06 WindowsPhone
Mobile Software Engineering Crash Course - C06 WindowsPhone
 
Spring mvc my Faviourite Slide
Spring mvc my Faviourite SlideSpring mvc my Faviourite Slide
Spring mvc my Faviourite Slide
 
ASP.NET MVC Internals
ASP.NET MVC InternalsASP.NET MVC Internals
ASP.NET MVC Internals
 
Capture image on eye blink
Capture image on eye blinkCapture image on eye blink
Capture image on eye blink
 
Java Web Programming [8/9] : JSF and AJAX
Java Web Programming [8/9] : JSF and AJAXJava Web Programming [8/9] : JSF and AJAX
Java Web Programming [8/9] : JSF and AJAX
 

More from Frederik De Bruyne

Microsoft Dynamics Academic Alliance: How to win future of business
Microsoft Dynamics Academic Alliance: How to win future of businessMicrosoft Dynamics Academic Alliance: How to win future of business
Microsoft Dynamics Academic Alliance: How to win future of business
Frederik De Bruyne
 
Microsoft Dynamics Academic Alliance: ERP in Training VDAB
Microsoft Dynamics Academic Alliance: ERP in Training VDABMicrosoft Dynamics Academic Alliance: ERP in Training VDAB
Microsoft Dynamics Academic Alliance: ERP in Training VDAB
Frederik De Bruyne
 
Microsoft Dynamics Academic Alliance: Partnership Next Steps
Microsoft Dynamics Academic Alliance: Partnership Next StepsMicrosoft Dynamics Academic Alliance: Partnership Next Steps
Microsoft Dynamics Academic Alliance: Partnership Next Steps
Frederik De Bruyne
 
Microsoft Dynamics Academic Alliance: Job Roles
Microsoft Dynamics Academic Alliance: Job RolesMicrosoft Dynamics Academic Alliance: Job Roles
Microsoft Dynamics Academic Alliance: Job Roles
Frederik De Bruyne
 
Microsoft Dynamics Academic Alliance: Academic Landscape
Microsoft Dynamics Academic Alliance: Academic LandscapeMicrosoft Dynamics Academic Alliance: Academic Landscape
Microsoft Dynamics Academic Alliance: Academic Landscape
Frederik De Bruyne
 
Microsoft Dynamics Academic Alliance: Introduction
Microsoft Dynamics Academic Alliance: IntroductionMicrosoft Dynamics Academic Alliance: Introduction
Microsoft Dynamics Academic Alliance: Introduction
Frederik De Bruyne
 
Students to Business Day 2012: Alex Turner
Students to Business Day 2012: Alex TurnerStudents to Business Day 2012: Alex Turner
Students to Business Day 2012: Alex Turner
Frederik De Bruyne
 
Students to Business Day 2012: Maarten Balliauw
Students to Business Day 2012: Maarten BalliauwStudents to Business Day 2012: Maarten Balliauw
Students to Business Day 2012: Maarten Balliauw
Frederik De Bruyne
 
Students to Business Day 2012: Rob Miles
Students to Business Day 2012: Rob MilesStudents to Business Day 2012: Rob Miles
Students to Business Day 2012: Rob Miles
Frederik De Bruyne
 
Students to Business Day 2012: Pieter Vanhees
Students to Business Day 2012: Pieter VanheesStudents to Business Day 2012: Pieter Vanhees
Students to Business Day 2012: Pieter Vanhees
Frederik De Bruyne
 
Students to Business Day 2012: Joe Wilson
Students to Business Day 2012: Joe WilsonStudents to Business Day 2012: Joe Wilson
Students to Business Day 2012: Joe Wilson
Frederik De Bruyne
 
Students to Business Day 2012: Wouter Devinck
Students to Business Day 2012: Wouter DevinckStudents to Business Day 2012: Wouter Devinck
Students to Business Day 2012: Wouter Devinck
Frederik De Bruyne
 

More from Frederik De Bruyne (12)

Microsoft Dynamics Academic Alliance: How to win future of business
Microsoft Dynamics Academic Alliance: How to win future of businessMicrosoft Dynamics Academic Alliance: How to win future of business
Microsoft Dynamics Academic Alliance: How to win future of business
 
Microsoft Dynamics Academic Alliance: ERP in Training VDAB
Microsoft Dynamics Academic Alliance: ERP in Training VDABMicrosoft Dynamics Academic Alliance: ERP in Training VDAB
Microsoft Dynamics Academic Alliance: ERP in Training VDAB
 
Microsoft Dynamics Academic Alliance: Partnership Next Steps
Microsoft Dynamics Academic Alliance: Partnership Next StepsMicrosoft Dynamics Academic Alliance: Partnership Next Steps
Microsoft Dynamics Academic Alliance: Partnership Next Steps
 
Microsoft Dynamics Academic Alliance: Job Roles
Microsoft Dynamics Academic Alliance: Job RolesMicrosoft Dynamics Academic Alliance: Job Roles
Microsoft Dynamics Academic Alliance: Job Roles
 
Microsoft Dynamics Academic Alliance: Academic Landscape
Microsoft Dynamics Academic Alliance: Academic LandscapeMicrosoft Dynamics Academic Alliance: Academic Landscape
Microsoft Dynamics Academic Alliance: Academic Landscape
 
Microsoft Dynamics Academic Alliance: Introduction
Microsoft Dynamics Academic Alliance: IntroductionMicrosoft Dynamics Academic Alliance: Introduction
Microsoft Dynamics Academic Alliance: Introduction
 
Students to Business Day 2012: Alex Turner
Students to Business Day 2012: Alex TurnerStudents to Business Day 2012: Alex Turner
Students to Business Day 2012: Alex Turner
 
Students to Business Day 2012: Maarten Balliauw
Students to Business Day 2012: Maarten BalliauwStudents to Business Day 2012: Maarten Balliauw
Students to Business Day 2012: Maarten Balliauw
 
Students to Business Day 2012: Rob Miles
Students to Business Day 2012: Rob MilesStudents to Business Day 2012: Rob Miles
Students to Business Day 2012: Rob Miles
 
Students to Business Day 2012: Pieter Vanhees
Students to Business Day 2012: Pieter VanheesStudents to Business Day 2012: Pieter Vanhees
Students to Business Day 2012: Pieter Vanhees
 
Students to Business Day 2012: Joe Wilson
Students to Business Day 2012: Joe WilsonStudents to Business Day 2012: Joe Wilson
Students to Business Day 2012: Joe Wilson
 
Students to Business Day 2012: Wouter Devinck
Students to Business Day 2012: Wouter DevinckStudents to Business Day 2012: Wouter Devinck
Students to Business Day 2012: Wouter Devinck
 

Recently uploaded

GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
Neo4j
 
Programming Foundation Models with DSPy - Meetup Slides
Programming Foundation Models with DSPy - Meetup SlidesProgramming Foundation Models with DSPy - Meetup Slides
Programming Foundation Models with DSPy - Meetup Slides
Zilliz
 
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
Neo4j
 
National Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practicesNational Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practices
Quotidiano Piemontese
 
Mariano G Tinti - Decoding SpaceX
Mariano G Tinti - Decoding SpaceXMariano G Tinti - Decoding SpaceX
Mariano G Tinti - Decoding SpaceX
Mariano Tinti
 
20240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 202420240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 2024
Matthew Sinclair
 
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
Neo4j
 
GenAI Pilot Implementation in the organizations
GenAI Pilot Implementation in the organizationsGenAI Pilot Implementation in the organizations
GenAI Pilot Implementation in the organizations
kumardaparthi1024
 
Building Production Ready Search Pipelines with Spark and Milvus
Building Production Ready Search Pipelines with Spark and MilvusBuilding Production Ready Search Pipelines with Spark and Milvus
Building Production Ready Search Pipelines with Spark and Milvus
Zilliz
 
Artificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopmentArtificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopment
Octavian Nadolu
 
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdfObservability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Paige Cruz
 
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
Neo4j
 
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
Neo4j
 
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdfUnlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Malak Abu Hammad
 
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Speck&Tech
 
Microsoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdfMicrosoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdf
Uni Systems S.M.S.A.
 
Removing Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software FuzzingRemoving Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software Fuzzing
Aftab Hussain
 
Infrastructure Challenges in Scaling RAG with Custom AI models
Infrastructure Challenges in Scaling RAG with Custom AI modelsInfrastructure Challenges in Scaling RAG with Custom AI models
Infrastructure Challenges in Scaling RAG with Custom AI models
Zilliz
 
Driving Business Innovation: Latest Generative AI Advancements & Success Story
Driving Business Innovation: Latest Generative AI Advancements & Success StoryDriving Business Innovation: Latest Generative AI Advancements & Success Story
Driving Business Innovation: Latest Generative AI Advancements & Success Story
Safe Software
 
20240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 202420240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 2024
Matthew Sinclair
 

Recently uploaded (20)

GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
 
Programming Foundation Models with DSPy - Meetup Slides
Programming Foundation Models with DSPy - Meetup SlidesProgramming Foundation Models with DSPy - Meetup Slides
Programming Foundation Models with DSPy - Meetup Slides
 
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
 
National Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practicesNational Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practices
 
Mariano G Tinti - Decoding SpaceX
Mariano G Tinti - Decoding SpaceXMariano G Tinti - Decoding SpaceX
Mariano G Tinti - Decoding SpaceX
 
20240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 202420240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 2024
 
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
 
GenAI Pilot Implementation in the organizations
GenAI Pilot Implementation in the organizationsGenAI Pilot Implementation in the organizations
GenAI Pilot Implementation in the organizations
 
Building Production Ready Search Pipelines with Spark and Milvus
Building Production Ready Search Pipelines with Spark and MilvusBuilding Production Ready Search Pipelines with Spark and Milvus
Building Production Ready Search Pipelines with Spark and Milvus
 
Artificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopmentArtificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopment
 
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdfObservability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
 
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
 
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
 
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdfUnlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
 
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
 
Microsoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdfMicrosoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdf
 
Removing Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software FuzzingRemoving Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software Fuzzing
 
Infrastructure Challenges in Scaling RAG with Custom AI models
Infrastructure Challenges in Scaling RAG with Custom AI modelsInfrastructure Challenges in Scaling RAG with Custom AI models
Infrastructure Challenges in Scaling RAG with Custom AI models
 
Driving Business Innovation: Latest Generative AI Advancements & Success Story
Driving Business Innovation: Latest Generative AI Advancements & Success StoryDriving Business Innovation: Latest Generative AI Advancements & Success Story
Driving Business Innovation: Latest Generative AI Advancements & Success Story
 
20240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 202420240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 2024
 

#win8aca : How and when metro style apps run

  • 1.
  • 2.
  • 3.
  • 4.
  • 5.
  • 6. Apps do not get notified when they are getting terminated
  • 8. User Launches App Splash screen
  • 9. //Register for the Suspending event and call suspendingHandler when received Windows.UI.WebUI.WebUIApplication.addEventListener("suspending", suspendingHandler); //Handle the suspending event and save the current user session using WinJS sessionState function suspendingHandler(eventArgs) { //We are getting suspended } //Register for the Resuming event and call resumingHandler when received Windows.UI.WebUI.WebUIApplication.addEventListener("resuming", resumingHandler); function resumingHandler() { //We are getting resumed, in general do nothing }
  • 10.
  • 11. demo
  • 12.
  • 13.
  • 14. Scenario You should….
  • 15. demo
  • 16.
  • 17.
  • 18.
  • 19.
  • 20. demo
  • 21.
  • 22.
  • 23. Tile launch activation activated User taps on Tile Running app launch event eventArgs.kind Splash Screen shown
  • 24.
  • 25.
  • 26.
  • 28.
  • 29.
  • 30.
  • 31.
  • 32.
  • 33.
  • 34. Trigger Condition TimeTrigger* InternetAvailable, PushNotificationTrigger* InternetNotAvailable, SessionStart* SessionConnected, ControlChannelTrigger*(**) SessionDisconnected, ServicingComplete UserNotPresent, SessionConnected UserPresent SessionDisconnected SmsReceived TimeZoneChange UserAway/UserPresent, LockScreenApplicationAdded/Removed OnlineIdConnectedStateChangeInternetAvailable InternetAvailable/InternetNotAvailable NetworkNotificationChannelReset NetworkStateChange MaintenanceTrigger *requires lock permission PushNotificationTrigger** **can run in App (not BackgroundHost.exe)
  • 35. function RegisterSampleBackgroundTaskWithCondition() { var builder = new Windows.ApplicationModel.Background.BackgroundTaskBuilder(); builder.name = "BackgroundTestWorker"; builder.taskEntryPoint = "BackgroundTestWorker.js"; // run a timetrigger for every 15 minutes var myTrigger = new Windows.ApplicationModel.Background.TimeTrigger(15, true); builder.setTrigger(myTrigger); // required condition: internetAvailable var condition = new Windows.ApplicationModel.Background.SystemCondition(Windows.ApplicationModel.Background.Sys temConditionType.internetAvailable); builder.addCondition(condition); // register the task var task = myTaskBuilder.register(); task.addEventListener("progress", task_Progress); task.addEventListener("completed", task_Completed); }
  • 36. <Application Id="App" StartPage="default.html"> <VisualElements DisplayName="SimpleBackgroundTask" Logo="imageslogo.png" SmallLogo="imagessmalllogo.png" Description="SimpleBackgroundTask" ForegroundText="light" BackgroundColor="#000000"> <LockScreen Notification="badge" BadgeLogo="badgelogo.png" /> <SplashScreen Image="imagessplashscreen.png" /> </VisualElements> <Extensions> <Extension Category="windows.backgroundTasks" StartPage="backgroundTaskLogger.js"> <BackgroundTasks> <Task Type="timer" /> <Task Type="systemEvent" /> </BackgroundTasks> </Extension> </Extensions> </Application>
  • 37. demo
  • 38.
  • 39. CPU resource quota Refresh period Lock screen app Non-lock screen app