轉寄此tutorial。您可能希望將您的域名添加到允許的域列表中。這裏是教程的soruce代碼中的代碼片段。
var ListOfAllowedDomains = new Collection<Uri> {
// Lists domains that can send tile updates and so forth as push notifications.
// Only these authorized domains will be allowed by the shell to push new tiles to the phone
new Uri(@"http://YOUR WEB SERVICE'S DOMAIN HERE") // e.g. if you published a webservice at http://foo.com/service1.svc -- put "http://foo.com" here.
};
//Register this channel with the shell, pass on authorized domain in way method expects
myPushChannel.BindToShellTile(ListOfAllowedDomains);
我已將其完全集成到我的一個移動應用程序中,並且工作正常。如果我正確理解您的問題,您需要通過服務中託管的相對URI來提取這些圖像。
首先感謝您的回覆:)不幸的是,我認爲我沒有很好地解釋這一點。總之,我不想訪問網絡中託管的資源。相反,我想訪問存儲在獨立存儲中的內容。更明確地說,我想構建Tile Notification XML數據,以便背景圖像參數正確指向存儲在獨立存儲中的圖像。我可以通過「ISOSTORE:」方案更改圖塊上的圖像,但只能通過代碼而不是通知圖塊通知。那麼,如果可能的話,你會知道URI方案嗎? – 2012-08-06 15:01:12