Home > DeveloperSection > Forums > Windows Phone 7 push notification when the app is not running
Samuel Fernandes
Samuel Fernandes

Total Post:155

Posted on    April-07-2015 7:55 AM

 .NET Windows Phone 

 1 Reply(s)
 452  View(s)
Rate this:
I am trying to implement push notifications in windows phone 7.5

I bind the channelUri in App.xaml when the application starts up. I can then switch my app to background and receive toast notifications based on the Uri.

But this requires me to first go the app and then make it to background.

Can I receive the toast without the app running? That is when the channelUri is not bound.

Is this a default behaviour in Windows phone 7 or whether I am missing a point here?

If this is the behaviour, how can I send some form of notification/ information to the phone when the app is not running?


I know the Channel is active up to 30 days, is it the same when I use only emulator?
App should be associated with a channel so as to receive notification and even when app is not running, if the notification channel is active, then the application will receive the toast

Mayank Tripathi
Mayank Tripathi

Total Post:397

Posted on    April-07-2015 8:05 AM

I think you are missing the point. In order to receive toast notifications you don't have to have the app running in the background. Toasts (and Tile notifications) are meant for when the app is not running at all. So, start the app to get a push-uri and then send that to the service. In theory you won't need one again after 30 days. When it comes to the emulator it will be available as long as the emulator is running. Once you shutdown/close the emulator, the push-uri is gone and you would need to re-request one. (Generally speaking, nothing is saved on the emulator and so closing and opening the emulator is like getting a new device everytime.)

Don't want to miss updates? Please click the below button!

Follow MindStick