Alexey Ryazhskikh
Alexey Ryazhskikh

Reputation: 2500

WP7: how to create background process?

It needs to create instant messenger application. Background thread should work under lock screen and after Home button is pressed. As I see, it is possible and IM+ (by SHAPE services) works the same way, but how it is possible?

Working under lock screen possible by creating DispatcherTimer, but how to make process alive after user press Home button?

Upvotes: 1

Views: 709

Answers (1)

Claus Jørgensen
Claus Jørgensen

Reputation: 26351

You can't run a application in the background on Windows Phone. You can run it under the lock screen sure, but not in the background.

And Periodic Background Tasks won't suit your need, as they only run every 30 minutes, as a separate process.

So again, it's not possible to run a chat/IM application in the background.

Upvotes: 1

Related Questions