This is a migrated thread and some comments may be shown as answers.

Live Tile Image Cleanup

3 Answers 65 Views
LiveTileHelper
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Eric
Top achievements
Rank 2
Eric asked on 04 Mar 2013, 08:41 PM
I'm not sure if I am doing something wrong or not but I am using the LiveTileHelper and I've noticed that every time I have dumped my Isolated Storage from my device to my PC that the ShellContent folder has more and more images in it. It looks to me like these images are not being cleaned up properly which means my app is continually eating more and more disk space on my device which I would like to avoid. Is this a bug or am I doing something incorrectly? The following isn't my exact code because of complexity but I am not doing anything other than this to update my tiles. My understanding is that the LiveTileHelper should be cleaning up it's own resources which doesn't appear to be happening based on my Isolated Storage.

ITileData tileData = new RadFlipTileData
{
    BackgroundImage = new Uri("/Assets/Icons/Tiles/AccountMediumFlipTile.png", UriKind.Relative),
    SmallBackgroundImage = new Uri("/Assets/Icons/Tiles/AccountSmallFlipTile.png", UriKind.Relative),
    WideBackgroundImage = new Uri("/Assets/Icons/Tiles/AccountWideFlipTile.png", UriKind.Relative),
    BackTitle = account.Name,
    Title = account.Name,
    BackVisualElement = TileDataHelper.MediumTileContent,
    WideBackVisualElement = TileDataHelper.WideTileContent,
    IsTransparencySupported = true
};
 
LiveTileHelper.UpdateTile(tile, tileData);

3 Answers, 1 is accepted

Sort by
0
Accepted
Todor
Telerik team
answered on 05 Mar 2013, 04:59 PM
Hello Eric,

Thank you for contacting us.

I have reproduced the issue that you described and the fix for it will be available with our next internal build. It will be available for download by the end of the week.

I have updated your Telerik points for your cooperation. If you notice anything else unusual, don't hesitate to write us back.

All the best,
Todor
the Telerik team
Have a suggestion or face a problem - you can use the Ideas & Feedback portal to submit ideas, feedback and vote for them.
0
Eric
Top achievements
Rank 2
answered on 05 Mar 2013, 05:41 PM
Thanks for the quick response. That's the only bug I have noticed so far but I did make a feature request in the portal for the LiveTileHelper that I think would be useful for people using Background Agents.
0
Todor
Telerik team
answered on 06 Mar 2013, 07:59 AM
Hello Eric,

Thank you for the suggestion, we will discuss it with the team.

All the best,
Todor
the Telerik team
Have a suggestion or face a problem - you can use the Ideas & Feedback portal to submit ideas, feedback and vote for them.
Tags
LiveTileHelper
Asked by
Eric
Top achievements
Rank 2
Answers by
Todor
Telerik team
Eric
Top achievements
Rank 2
Share this question
or