Local, scheduled, periodic and push updates.

Slides:



Advertisements
Similar presentations
Google Android Introduction to Mobile Computing. Android is part of the build a better phone process Open Handset Alliance produces Android Comprises.
Advertisements

Cross Platform Push with Azure
Attie Naude 14 May 2013 Windows Azure Mobile Services.
Background task triggers ControlChannelTriggerIncoming VOIP callYes DeviceUseTriggerSync content with USB or Bluetooth deviceNo DeviceServicingTriggerUpdate.
MechanismScenarioExpiresWinRT API Local Update a tile immediately, while the app is running or from a background task Never TileUpdateManager.
Students: Ilya Paskhover, Alex Tarasiuk Supervisors: Simon Zeltser, Idan Sheinberg.
Java Script Session1 INTRODUCTION.
Push to ALL the iPhones with Azure Chris Risner Senior Technical Microsoft Azure.
Windows 8 Tips & Tricks for XAML based Windows Store App Ronnie Saurenmann Microsoft
Cloud-powered apps Apps that fetch content from the web or peer devices Faster, More Capable Built using networking APIs in Windows Higher performance.
Tony 684 User Data App Services Arun 765 Thomas 762 Shell Kernel Shawn 626 App Roberth 779 Enterprise John Ignite Store Barclay 695 Andrew 617 App.
Advanced Windows 8 Apps Using JavaScript Jump Start Exam Prep Advanced Windows 8 Apps Using JavaScript Jeremy Foster Microsoft Developer Evangelist.
Web Proxy Server. Proxy Server Introduction Returns status and error messages. Handles http CGI requests. –For more information about CGI please refer.
Name Title Microsoft Corporation Push Notification Introduction and Platform Interaction.
ONLINE CONFERENCE DESIGN.BUILD.DELIVE R with WINDOWS PHONE THURSDAY 24 MARCH 2011.
XML badge update schema
Apps are notified when they have been resumed.
Windows.Net Programming Series Preview. Course Schedule CourseDate Microsoft.Net Fundamentals 01/13/2014 Microsoft Windows/Web Fundamentals 01/20/2014.
Lecture 8 – Platform as a Service. Introduction We have discussed the SPI model of Cloud Computing – IaaS – PaaS – SaaS.
Take a leap towards the most promising technology
Building Connected Windows 8 Apps with Windows Azure Web Sites Name Title Organization.
Windows Phone 8 uses Microsoft Push Notifications Windows 8/8.1 uses Windows Notification Service Windows Phone 8.1 uses Windows Notification.
Lets call these the “.NET/MPN APIs” We’re here for you Microsoft.Phone.Notification, Microsoft.Phone.Shell HttpNotificationChannel, ShellTile,
Threads and Multimedia Animation, Images, Sound. Animation nAnimation, displaying a sequence of frames to create the illusion of motion, is a typical.
CNIT 133 Interactive Web Pags – JavaScript and AJAX JavaScript Environment.
Datacenter LOB web service LOB app Partner Mobile Device.
Windows News app uses Notification Hubs Platform Notification Service App back-end Client app.
Windows 8 Tips & Tricks for XAML based Windows Store App Ronnie Saurenmann Microsoft
Basic State Plate App Logo Short Name Plate App Logo Short Name Semi-Live State Plate App Logo Short Name Badge Plate App Logo Short Name Badge Live.
The Windows Runtime (WinRT) is the shared runtime and API space used by store apps across the Windows platform (phone and client) 5 Common WinRT.
Windows 8 Application Microsoft Word with Apps For Office Internal O365 SharePoint Site Windows Azure Cloud Services Windows Azure Workflow Server.
4/24/2017 © 2014 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks.
XQuery Functions Reusing XQuery Code Date: September, 2008 Dan McCreary President Dan McCreary & Associates (952) M D Metadata.

Welcome to Azure App Services! Amie Seisay
Building Connected Windows 8 Apps with Windows Azure Web Sites Name Title Organization.
Lei Xu Saral Shodhan Ashwini Varma Dustin Bachrach Sudipta Dey Joe Bourne Mustafa Almaasrawi Jorge Raastroem Tobin Valenstein Ali Rafiee Ezhilan Rasappa.
Java Script About Java Script Document Object Model Incorporating JavaScript Adding JavaScript to HTML Embedding a Javascript External Scripts Javascript.
Welcome to Azure App Services! Amie Seisay
Windows 8 Application Microsoft Word with an app for Office Internal O365 SharePoint Site Windows Azure Web Sites Windows Azure Workflow Service.
CS 160 and CMPE/SE 131 Software Engineering February 11 Class Meeting Department of Computer Science Department of Computer Engineering San José State.
Windows Phone Tiles and Notifications Sending alerts to your app.
Javascript Basic Concepts Presentation By: Er. Sunny Chanday Lecturer CSE/IT RBIENT.
Exploring Mobile Device Networking Lesson 4. Exam Objective Matrix Skills/ConceptsMTA Exam Objectives Understanding Networking for Mobile Devices Network.
APLIKACIJE KOJE SU IZVAN SEBE Domagoj Pavlešić, dizzy.hr.
Developing Windows 8 Style Application With HTML and JavaScript Lino Tadros | Falafel Software.
USING ANDROID WITH THE INTERNET. Slide 2 Lecture Summary Getting network permissions Working with the HTTP protocol Sending HTTP requests Getting results.
07 | Live tiles & notifications
Developing Windows 8 Style Application With HTML and JavaScript
ASP MVP Web applications and Razor
JavaScript is a programming language designed for Web pages.
Start, Tiles, Notifications and Lock Screen
Microsoft Build /9/2018 8:05 PM © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY,
Agenda Tile basics Tile templates Adaptive templates Toast
Building Apps for Windows Phone 8.1 Jump Start
intro to notifications in iOS 10
Myth Busting: Top 5 Web App Myths
11/19/ | App Model & Storage © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered.
Asynchronous Javascript And XML
TechEd /29/ :46 PM © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered.
12/2/ :23 PM APP-410T Real time communication: keep your Metro style app connected whether it is running or suspended Raghu Gatta Principal Development.
Developer's guide to Windows 10 Insider Preview Andy & Jerry
Building Windows 8 and Windows Azure apps
CS323 Android Topics Network Basics for an Android App
1/16/2019 8:14 PM SAC-863T Delivering notifications with the Windows Push Notification Service and Windows Azure Darren Louie, Nick Harris Program Manager,
Using tiles and notifications
JavaScript Basics What is JavaScript?
Erik Porter Program Manager ASP.NET Microsoft Corporation
Building Windows Store Apps with Windows Azure Mobile Services
Presentation transcript:

Local, scheduled, periodic and push updates

<badge value = "1-99" | "none" | "activity" | "alert" | "available" | "away" |... version? = "integer" />

<visual version? = "integer" lang? = "string" baseUri? = "anyURI" branding? = "none" addImageQuery? = "boolean" > <binding template = "TileSquareImage" | "TileSquareBlock" |... fallback? = "string" lang? = "string" baseUri? = "anyURI" branding? = "none" addImageQuery? = "boolean" > <image id = "integer" src = "string" alt? = "string" addImageQuery? = "boolean" />

<visual version? = "integer" lang? = "string" baseUri? = "anyURI" branding? = "none" addImageQuery? = "boolean" > <binding template = "ToastImageAndText01" | "ToastImageAndText02" |...="" fallback? = "string" lang? = "string" baseUri? = "anyURI" branding? = "none" addImageQuery? = "boolean" > <audio src? = "ms-winsoundevent:Notification.Default" |... loop? = "boolean" silent? = "boolean" />

System process

System process 30m to 24h frequency per service URI HTTP Request

Send channel to web service WNS Send update Push updates to client (tile, badge, toast, raw)

Building a Cloud Service with Window Azure

using Windows.ApplicationModel.Background; BackgroundTaskBuilder taskBuilder = new BackgroundTaskBuilder(); MaintenanceTrigger trigger = new MaintenanceTrigger( 10 * 24 * 60, false); //10 * 24 * 60 == 10 days taskBuilder.SetTrigger(trigger); //In JavaScript, taskEntryPoint is the path of a.js file taskBuilder.TaskEntryPoint = "PushNotificationsHelper.MaintenanceTask"; taskBuilder.Name = "UpdateChannels"; SystemCondition internetCondition = new SystemCondition( SystemConditionType.InternetAvailable); taskBuilder.AddCondition(internetCondition); taskBuilder.Register();

using System; using System.Threading.Tasks; using Windows.ApplicationModel.Background; namespace PushNotificationsHelper { public sealed class MaintenanceTask : IBackgroundTask { public void Run(IBackgroundTaskInstance taskInstance) { // This is a helper function to renew WNS channels. // Important here to not block the UI thread. Notifier notifier = new Notifier(); notifier.RenewAllAsync(false).AsTask().Wait(); }

// This code runs as a web worker (function () { // Import the Notifier helper object importScripts("//Microsoft.WinJS.1.0/js/base.js"); importScripts("notifications.js"); var closeFunction = function () { close(); // This is worker.close }; var notifier = new SampleNotifications.Notifier(); notifier.renewAllAsync().done(closeFunction, closeFunction); })();

using Windows.ApplicationModel.Background; using Windows.Networking.PushNotifications; BackgroundTaskBuilder taskBuilder = new BackgroundTaskBuilder(); PushNotificationTrigger trigger = new PushNotificationTrigger(); taskBuilder.SetTrigger(trigger); taskBuilder.TaskEntryPoint = "BackgroundTasks.RawNotification"; taskBuilder.Name = "ReceiveRawNotification"; taskBuilder.Register();

using System.Diagnostics; using Windows.ApplicationModel.Background; using Windows.Networking.PushNotifications; using Windows.Storage; namespace BackgroundTasks { public sealed class RawNotification : IBackgroundTask { public void Run(IBackgroundTaskInstance taskInstance) { // Get the background task details ApplicationDataContainer settings = ApplicationData.Current.LocalSettings; // Store the content received from the notification so it // can be retrieved from the UI. RawNotification notification = (RawNotification)taskInstance.TriggerDetails; settings.Values[taskName] = notification.Content; }

Personalized, real-time status Missed toast notifications

Avoid high frequency, streaming updates Do not update to explicitly replace ‘old content’ Do not depend on tile ordering