Check the code behind the start button to see more details. Below Schedule are options to set the recurrence and the interval of the schedule. ![]() The first large button starts the schedule, and the last button cancels it. The last line on the page, Schedule, sets a ShellTileSchedule on the app’s primary Tile. The second button updates the Tile with new images, text, etc. On the Iconic, Flip, and Cycle lines of the pivot page, the first and third large buttons pin or delete the secondary Tile. Only the user can unpin the primary Tile. The last button on the line resets the Tile to its default state. The next button is the same on each line and performs an update specific to the Tile template type. This is how you pin to lock to have your app show a quick status or a detailed status. The first large button on the Primary line opens the lock screen settings for the device. Primary performs operations on the primary Tile of the app – the Tile that you can pin by tapping and holding on The Final Countdown in the App list, and then pressing pin to start. Let’s take a quick tour of The Final Countdown app and explore the different features. The Final Countdown app can do everything you see in one of the solid color blue boxes in the diagram above. Tiles use Flip, Cycle, and Iconic templates, while toasts only have one template, simply called toast. Notification types have different templates that define their visual and interaction experience with the end user. Toasts – Notifications designed to be interruptive to achieve targeted interaction with the user.They should be delightful and engaging notifications targeted at enticing the user into the app. The Tile notification type is probably the most iconic and heavily used feature of the notification platform, and has the most flexibility for notification templates in the system. Tiles – Notifications that provide Live Tile functionality in Windows Phone.This is the only notification type not shown in The Final Countdown demo app. Alarms/Reminders – Modal notifications that take place at a certain date and time to help alert the user to an event. ![]() Types are sorted into three main categories: You can’t use all inputs with all types, so reference the diagram (above) to see how to use an input with the type. Notification inputs feed into notification types. For example, you can send a sports score update or a breaking news alert from your cloud service to your app using push notifications. Push – With these inputs you can send near real-time info to a device in response to off-device events.In each of these scenarios, because it’s your app code that’s running, you can call the local notification APIs exactly as you would while your app is in the foreground. Additionally, it could be that you have a background agent executing code periodically or even continuous background execution running in the background, depending on your scenario. Your app code might be actively executing in the foreground as the user interacts with your app. Local – Inputs you can use to send notifications while your app code is running.Scheduled notifications are a great way to execute a Tile update or an alarm/reminder whether or not your app is running. Scheduled – These inputs start the notification process by using a schedule, or a recurrence and interval.You choose how you want to feed notification data into the notification system by choosing an input. Inputs are the first step in the notification process. We can break down the Windows Phone notification system into four logical, more manageable components: inputs, types, templates, and user experience (UX). ![]() But, for those of you who are all about the code – and I know you’re out there – skip to the bottom of this post and download the source! Notifications overviewĪ big focus this year in my //build/ session was to help people understand the conceptual breakdown of the way the Windows Phone notification platform works. I’d like to take you on a brief tour of my demo app to explain what it does and how it does it. This year in my //build/ session I showed you an app I wrote that touches basically every feature in the Windows Phone 8 SDK related to using notifications in your app, with the platform’s various inputs, types, and templates. It takes DEVELOPERS, DEVELOPERS, DEVELOPERS! It’s a beautiful thing – the Windows Phone 8 Start screen is alive, personal, and it’s all about you, thanks to Live Tiles! The lock screen delivers delightful glance-and-go customization, with new ways to surface notifications and content in a way that connects with you.īut it doesn’t get that way by magic and unicorn tears alone.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |