c# - ScheduledTaskAgent not working for updating tiles in Windows Phone -
I am working on a Windows Phone 7 app and try to implement features such as detailed tiles of Windows 8 phones I am doing I had achieved it with reflection, but when I wanted to update the tile using a scheduled agent for a periodic task, the tile is not ready. Scheduled Agent OnInvoke Code looks like this Protected Override Zero Onewoke (Scheduled Task Jobs) {// TODO: Add code to complete your work in the background ( Work is Periodic Task) {// Scheduled Task UpdateTileForWindowsPhone.CreateWideTile () Update the tile; } NotifyComplete (); } I created the tile using this code public class CreateTileForWindowsPhone {Private Stable Version Targeted Version = New Version (7, 10, 8858); Public Static Bull iitized warsen {met {return environment. OSVERSION.Version & gt; = Targeted version; }} Public Static Zero CreateWideTile () {if (IsTargetedVersion) {try {// Get New FlipTileData Type Type FlipTilData Type = Type Gettype ("Microsoft.phone Shell.FlipTilData, Micros...