質問

How can we update small tile (Square 70x70) in windows javascript store app?

The below msdn article says that small tiles only supports badges, but I am not able to figure out exact steps to be performed.

http://msdn.microsoft.com/en-us/library/windows/apps/bg182890.aspx

Could anyone please brief the steps required for updating the small tile?

役に立ちましたか?

解決

Because the small tile only supports badges, you need to make sure to use the BadgeUpdater to issue those rather than the TileUpdater. Check out scenario 4 of the App tiles and badges sample. The first step is to call Windows.UI.Notifications.BadgeUpdateManager.createBadgeUpdaterForApplication() (assuming you want the primary tile). This gives you a BadgeUpdater object, and you send the badge XML to its update method.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top