WP7不使用推送服务修改瓷片图片

在Windows Phone 7中如果需要修改主页瓷片图片,而并不是一定要使用推送服务,可以下面的方法

1 private ShellTileSchedule shellTileSchedule;
2 /// <summary>
3 /// Create the application shell tile schedule instance
4 /// </summary>
5 private void CreateShellTileSchedule()
6 {
7 shellTileSchedule = new ShellTileSchedule();
8 shellTileSchedule.Recurrence = UpdateRecurrence.Interval;
9 shellTileSchedule.Interval = UpdateInterval.EveryHour;
10 shellTileSchedule.StartTime = DateTime.Now;
11 shellTileSchedule.RemoteImageUri = new Uri(@"http://cdn3.afterdawn.fi/news/small/windows-phone-7-series.png");
12 shellTileSchedule.Start();
13 }

你可能感兴趣的:(windows,shell,application,phone)