- [Voiceover] From the moment that you start to engage…with an application to the moment that you close it,…this is called the Application Life Cycle.…We won't go too in depth here,…but it's important to understand the various states…your application can be in…so that you can handle those events.…If we take a look at this image…we can see the various states your app can be in.…Your app can be running, it can be suspended,…or it can be not running.…When you start your application you are running it.…Now let's say you switch to a different application,…or you click your desktop.…
The system will suspend your application.…It doesn't have your focus anymore…so it doesn't need all the resources.…The moment you switch back to your application…it resumes it.…You'll want to be mindful to handle these states…and these events.…A classic example is an application crashing…without work being saved.…If you are saving data related to the users last session…you could restore it the next time…the application was activated.…Let's take a look at what this means in code.…
Watch to gain an understanding of the Universal Windows Platform and the application life cycle. Learn to create adaptive layouts with WinJS controls. Discover how to store and share data, capture a variety of input, and explore the unified Microsoft-specific APIs: Windows Core and Geolocation. Stacey Mulcahy, a Windows evangelist, provides developers with everything they need to start building Universal Windows apps and break into cross-device development.
- Setting up your development environment
- Coding in WinJS
- Creating page objects
- Animating page transitions
- Implementing responsive design principles and UI patterns
- Working with layout controls
- Using APIs: Windows Core and Geolocation
- Saving and reading data
Skill Level Beginner
1. Getting Started with Universal Windows Applications
3. Layouts and Controls
4. Utilizing APIs
5. Managing Data and Storage
Next steps1m 56s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.