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

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

Samsung Smart TV is a web-based application running on an application engine installed on digital TVs connected to the Internet.
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.
Sue Wills July Objects The JavaScript language is completely centered around objects, and because of this, it is known as an Object Oriented Programming.
INFM 603: Information Technology and Organizational Context Jimmy Lin The iSchool University of Maryland Thursday, September 19, 2013 Session 3: JavaScript.
Students: Ilya Paskhover, Alex Tarasiuk Supervisors: Simon Zeltser, Idan Sheinberg.
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
Build /16/2017 © 2015 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION.
Advanced Windows 8 Apps Using JavaScript Jump Start Exam Prep Advanced Windows 8 Apps Using JavaScript Jeremy Foster Microsoft Developer Evangelist.
FloodAlerts. Flood Facts One in six homes in England is at risk of flooding This is 5.2m properties at risk : 2.4m threatened by rivers and the sea A.
Worker Role Web Role Web Role VM Role Control Abstraction (i.e. Less IT & Less Plumbing Code) Admin Web / Worker Role VM Role Web / Worker Role.
Name Title Microsoft Corporation Push Notification Introduction and Platform Interaction.
ONLINE CONFERENCE DESIGN.BUILD.DELIVE R with WINDOWS PHONE THURSDAY 24 MARCH 2011.
Apps are notified when they have been resumed.
Chapter 12 Creating and Using XML Documents HTML5 AND CSS Seventh Edition.
1 Events Lect 8. 2 Event-driven Pages one popular feature of the Web is its interactive nature e.g., you click on buttons to make windows appear e.g.,
Windows.Net Programming Series Preview. Course Schedule CourseDate Microsoft.Net Fundamentals 01/13/2014 Microsoft Windows/Web Fundamentals 01/20/2014.
Building Data Driven Applications Using WinRT and XAML Sergey Barskiy, Magenic Microsoft MVP – Data Platform Principal Consultant Level: Intermediate.
Take a leap towards the most promising technology
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,
DUE Hello World on the Android Platform.
Datacenter LOB web service LOB app Partner Mobile Device.
Windows News app uses Notification Hubs Platform Notification Service App back-end Client app.
INTRODUCTION TO JAVASCRIPT AND DOM Internet Engineering Spring 2012.
Local, scheduled, periodic and push updates.
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.

1 Chapter 3 – JavaScript Outline Introduction Flowcharts Control Structures if Selection Structure if/else Selection Structure while Repetition Structure.
Introduction into JavaScript Java 1 JavaScript JavaScript programs run from within an HTML document The statements that make up a program in an HTML.
Java Script About Java Script Document Object Model Incorporating JavaScript Adding JavaScript to HTML Embedding a Javascript External Scripts Javascript.
Introduction to JavaScript CSc 2320 Fall 2014 Disclaimer: All words, pictures are adopted from “Simple JavaScript”by Kevin Yank and Cameron Adams and also.
Windows 8 Application Microsoft Word with an app for Office Internal O365 SharePoint Site Windows Azure Web Sites Windows Azure Workflow Service.
DATA TYPES, VARIABLES AND CONSTANTS. LEARNING OBJECTIVES  Be able to identify and explain the difference between data and information  Be able to identify,
Tutorial 10 Programming with JavaScript. 2New Perspectives on HTML, XHTML, and XML, Comprehensive, 3rd Edition Objectives Learn the history of JavaScript.
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
Office 365 Development July 2014.
Start, Tiles, Notifications and Lock Screen
Build data-driven collection and list apps using XAML
Building great Metro style apps for mobile broadband devices
Chapter 19 JavaScript.
Microsoft Build /9/2018 8:05 PM © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY,
A Deep Dive into Logic Apps
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.
Tooling and Diagnostics
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
12/5/2018 4:31 AM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
Building Windows 8 and Windows Azure apps
Mobile Computing With Android ACST 4550 Android Database Storage
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
Presentation transcript:

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

XML tile update schema <visual version? = "integer" lang? = "string" baseUri? = "anyURI" branding? = "string" addImageQuery? = "boolean" > <binding template = "TileSquare150x150Image" | "TileSquare150x150Block" |... fallback? = "TileSquareImage" | "TileSquareBlock" |... contentId = "string" lang? = "string" baseUri? = "anyURI" branding? = "string" addImageQuery? = "boolean" > <image id = "integer" src = "string" alt? = "string" addImageQuery? = "boolean" />

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

Building a Cloud Service with Window Azure

Renewing WNS channels (register task, C#) 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();

Renewing WNS channels (task, C#) 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(); }

Renewing WNS channels (task, JavaScript) // 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); })();

Receiving raw notification (register task, C#) 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();

Receiving raw notification (task, C#) 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; }