2012-04-10 57 views
1

我可以使用wp7的通知来处理第二个图块? 我只能先做。推送通知第二个图块

你有什么想法给我吗?

当然,管理是可以使用应用程序内的原始通知,并将处理我的瓷砖,但仍然被迫进入应用程序更新。

+1

你的意思是使用一个推送通知,你不能更新辅助瓷砖? – tomasmcguinness 2012-04-10 15:22:33

+0

我只是问这个问题,可能吗?我在一段时间内砰的一声,但我找不到解决我的问题的方法。 – WhiteTiger 2012-04-10 15:23:45

+0

这是可能的。我已经在WP7应用上完成了它。你是否发送了推送信息,并且它从未被接收到?仔细检查您发送的XML语法并阅读响应以确保存在连接。 – tomasmcguinness 2012-04-10 15:45:47

回答

-1

MSDN文档包括二次砖

http://msdn.microsoft.com/en-us/library/hh202945(v=vs.92).aspx

这些外观和数据使用更新的次平铺的那些:

<wp:BackBackgroundImage> 
<wp:BackTitle> 
<wp:BackContent> 

填充在推XML这三个要素,这将更新后面的瓷砖。

+0

感谢您的帮助,但我不说backTile,但一个额外的瓷砖 – WhiteTiger 2012-04-11 14:11:50

+0

对不起,这里是一个示例应用程序,应该帮助:http://code.msdn。 microsoft.com/Get-to-Mango-7-Using-Push-39228be6 – tomasmcguinness 2012-04-11 14:55:44

+0

感谢您的帮助。 – WhiteTiger 2012-04-11 15:05:52

1

通过援助,这里就是我不得不格式化XML来发送通知,我错过了标签ID

<?xml version="1.0" encoding="utf-8"?> 
<wp:Notification xmlns:wp=WPNotification> 
    <wp:Tile ID="Navigation URI of the tile to update"> 
    <wp:BackgroundImage><string></wp:BackgroundImage> 
    <wp:Count><string></wp:Count> 
    <wp:Title><string></wp:Title> 
    <wp:BackBackgroundImage><string></wp:BackBackgroundImage> 
    <wp:BackTitle><string></wp:BackTitle> 
    <wp:BackContent><string></wp:BackContent> 
    </wp:Tile> 
</wp:Notification> 

THX tomasmcguinness