开发者

Secondary Tiles deep-links not working

I use secondary tiles in my 开发者_Python百科app and link them to an internal page (not to the main page) for example, I use the following deep-link:

ShellTile.Create(new Uri(string.Format("/UpdatePage.xaml?Id={0}&ChosenDate={1}&RecordNumber={2}", this.obj.Id, this.obj.ChosenDate, this.obj.RecordNumber), UriKind.Relative), dateShellTimeData);

Now, each time I click on one of the live tiles, the splash screen appear for a while and then the home screen appears again (it seems because of an exception).

(I use schedule agent in my app).

Any idea?


Try this code as it works for me...

ShellTile.Create(new Uri(string.Format("/UpdatePage.xaml?Id="+this.obj.Id+"&ChosenDate="+this.obj.ChosenDate+"&RecordNumber="+this.obj.RecordNumber), UriKind.Relative), dateShellTimeData);
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜