This question is locked. New answers and comments are not allowed.
Hi,
I'm trying to add as VisualElement of he tile a user control that uses a remote hosted image, when creating or updating the tile from within the App it works great and I'm able to see the image, but when doing same from a backgroundAgent the image is not being set.
this is the code in the background agent:
I'm trying to add as VisualElement of he tile a user control that uses a remote hosted image, when creating or updating the tile from within the App it works great and I'm able to see the image, but when doing same from a backgroundAgent the image is not being set.
this is the code in the background agent:
Deployment.Current.Dispatcher.BeginInvoke(() =>
{
// set the tile
AvatarTile avatarTile = new AvatarTile(PSNProf);
RadFlipTileData tiledata = new RadFlipTileData();
tiledata.Count = new Random().Next(99);
tiledata.VisualElement = avatarTile;
LiveTileHelper.UpdateTile(tile2Update, tiledata);
});
PD: AvatarTile is the UserControl with image and other UIElements
how can accomplish to update the tile with the image from the background agent?
Thanks for your attention
Ste