Is it possible that a Windows Phone application communicates with the Web service, if it is not in the foreground?


Is it possible for a Windows Phone application to receive messages from a web service and respond to them when it is not in foreground? For example, during incoming call. Because if the web service does not receive a response from the client, the client will be disconnected.

That would drain the battery if a user wouldn't shutdown the app. Consider allowing the client to disconnect since mobile applications always disconnect arbitrarily because of signal.

you may run your app in the background if your app is a location tracking application. You may fail certification if you misuse this feature.