I have stored pictures from my code in camera roll which I can access later because I've their names in my application data. But there seems no way to update cycle tile with the Uri of the images in the camera roll.
I tried storing (copying) images to my application data local folder "TileImages" whose Uri path should be like : "ms-appdata:///local/TileImages/11.jpg", but that too doesn't work.
Here's my code with a small modification:
CycleTileData tileData = new CycleTileData
{
Title = "App Name",
Count = 0,
};
tileData.CycleImages = await GetTilesImageUriAsync();
// tileData shows correct Uri path's in Debug mode
ShellTile tile = ShellTile.ActiveTiles.FirstOrDefault();
tile.Update(tileData);
Error:
An exception of type 'System.ArgumentException' occurred in mscorlib.ni.dll but was not handled in user code
Additional information: uri