hello
i have a web service that is sending some data to my windows application every 10-15 seconds and i want to use those data as Light Visual Elements and add them to my live tile . also i want to use live tile transition animation .
but the problem is in all the sample i seen, coders always add their light vishal elements manually and when i want to add (and remove) items from my live tile every 10 - 15 second i lost my transition animation
is there a way that i can receive data (text) from a source every x second and add them to livetile and remove old ones and still keep my transition animation like the one in the demo application
and i use the code below
value = random.Next(200);
LiveTile.Items.Clear();
VisualElement.Text = value
VisualElement.TextAlignment = ContentAlignment.TopCenter;
LiveTile.TransitionType = ContentTransitionType.Fade;
LiveTile.Items.Add(VisualElement);
(assuming i declared my panorama and my tile group )
and this code is inside a timer and its running every x seconds.
Thanks