In my WP8 application I need to download some json data every 5 minutes.
But in MSDN it\'s written that periodic tasks are run every 30 minutes.
Are there any wor
I think this might be do your work.try this.
dispatcherTimer = new System.Windows.Threading.DispatcherTimer();
dispatcherTimer.Tick += new EventHandler(dispatcherTimer_Tick);
dispatcherTimer.Interval = new TimeSpan(0,5,0);
dispatcherTimer.Start();
And DispatcherTimer_Tick Method
private void dispatcherTimer_Tick(object sender, EventArgs e)
{
//Do your Method...
}
Go to MSDN Dispatcher Timer for more Details.