Reputation: 5279
I have background task in windows phone 7 app.
PeriodicTask periodicTask = new PeriodicTask("TheWorker");
periodicTask.Description = "The worker task";
periodicTask.ExpirationTime = DateTime.Now.AddDays(1);
ScheduledActionService.Add(periodicTask);
btnStartStopBgTask.Content = "Stop Background Task";
isBackgroundTaskEnebaled = true;
The app does a few tasks .
Is there a way to send notification to user when the app is not open from the background ?
As we have in android..
Say in the background it checks something over the internet and finds out something interesting to be notified to the user. can it do?
Upvotes: 0
Views: 455
Reputation: 1631
Yes you can send a message to the user if your app is not running with a BackgroundAgent, and you could create a live tile too and show the news there or tell the user there is news.
Upvotes: 1