You are on page 1of 48

Windows

Agenda

Windows Azure Mobile Service

22
150150310150

150150310150

150150
10

310150
310150

2=

()
TileNotificationTileUpdateManager
OK

TileUpdateManager.CreateTileUpdaterForApplication().EnableNotificationQueue(true);


//
XmlDocument tileXml =
TileUpdateManager.GetTemplateContent(TileTemplateType.TileWi
deImageAndText01);
// 22
XmlDocument squareTileXml =
TileUpdateManager.GetTemplateContent(TileTemplateType.TileSq
uareText04);
XML

XmlNodeList tileTextAttributes = tileXml.GetElementsByTagName("text");


tileTextAttributes[0].InnerText = this.tileText.Text;
XmlNodeList tileImageAttributes = tileXml.GetElementsByTagName("image");
((XmlElement)tileImageAttributes[0]).SetAttribute("src", "msappx:///Assets/wideTile.png");

TileNotification tileNotification = new TileNotification(tileXml);


TileUpdateManager.CreateTileUpdaterForApplication().Update(tileNotification);

()

Int16 dueTimeInSeconds = 15;


DateTime dueTime = DateTime.Now.AddSeconds(dueTimeInSeconds);

ScheduledTileNotification tileNotification = new


ScheduledTileNotification(tileXml,dueTime);
tileNotification.Tag = this.tileText.Text;
TileUpdateManager.CreateTileUpdaterForApplication().AddToSchedule(tileNot
ification);

XML
XMLJSON

//
PeriodicUpdateRecurrence recurrence = PeriodicUpdateRecurrence.HalfHour;
TileUpdateManager.CreateTileUpdaterForApplication().EnableNotificationQueue(true);
TileUpdateManager.CreateTileUpdaterForApplication().Clear();
//
//TileUpdateManager.CreateTileUpdaterForApplication().StartPeriodicUpdate(new
Uri("http://coelacanth.heteml.jp/win8/tilesample/titleUpdateLocalImage.html"),
recurrence);
//
TileUpdateManager.CreateTileUpdaterForApplication().StartPeriodicUpdate(new
Uri("http://coelacanth.heteml.jp/win8/tilesample/titleUpdateRemoteImage.html"),
recurrence);

Windows(WNS)
WNS
Windows 8/ + Windows Azure
http://msdn.microsoft.com/ja-jp/windowsazure/jj677081

Windows Azure Mobile Services

17

MSDN:
http://msdn.microsoft.com/ja-jp/library/windows/apps/hh761491.aspx#TileSquareText03

package.appxmanifest
XML

WNS

:Windows Azure Mobile Service

Windows Azure Mobile Service


Windows Azure Mobile Service
WindowsAzure

Windows Azure Mobile Service


Windows Azure Mobile Service
WindowsAzure

URL
URL
https://github.com/coelacanth77

URL
MSDN
(Metro )
http://msdn.microsoft.com/ja-JP/library/windows/apps/hh779721.aspx
(JavaScript HTML Metro )
http://msdn.microsoft.com/ja-jp/library/windows/apps/xaml/hh761494.aspx

(JavaScript HTML Metro )


http://msdn.microsoft.com/ja-jp/library/windows/apps/hh761491.aspx

URL
MSDN
:
http://msdn.microsoft.chttp://msdn.microsoft.com/ja-jp/library/windows/apps/xaml/hh868216.aspxom/jaJP/library/windows/apps/hh779721.aspx

(Metro )
http://msdn.microsoft.com/ja-jp/library/windows/apps/xaml/hh779720.aspx


http://msdn.microsoft.com/ja-jp/library/windows/apps/hh977046.aspx

URL
MSDN

http://msdn.microsoft.com/ja-jp/library/windows/apps/hh465398.aspx


http://msdn.microsoft.com/ja-jp/library/windows/apps/hh465372.aspx

http://msdn.microsoft.com/ja-JP/library/windows/apps/hh465417.aspx

for Windows |
.com

URL
Windows8

You might also like