Live Tile Image Cleanup

4 posts, 1 answers
  1. Eric
    Eric avatar
    2 posts
    Member since:
    Nov 2012

    Posted 04 Mar 2013 Link to this post

    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);
  2. Answer
    Todor
    Admin
    Todor avatar
    778 posts

    Posted 05 Mar 2013 Link to this post

    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.
  3. DevCraft banner
  4. Eric
    Eric avatar
    2 posts
    Member since:
    Nov 2012

    Posted 05 Mar 2013 Link to this post

    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.
  5. Todor
    Admin
    Todor avatar
    778 posts

    Posted 06 Mar 2013 Link to this post

    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.
Back to Top
DevCraft banner