Keep alive WiFi in when phone is locked to be able to have WCF app that let receive notifications
I am very intersting in develop app in WCF that let me to receive notificaction from the server or other clients, but this is impossible for three main reasons:
1.- WiFi is disabled when the phone is locked.
2.- It's not possible to have an app in background that listens the communication channel.
3.- WCF don't let duplex communication.
Javier Flores Assad commented
Hi Alvaro, your application would need to be running as a background task for it to run while the screen is locked or powered down.
Are you using one of the push driven notifications solutions?
yes, it affects to the battery, but it would be a user's decision.
yea ur right it would affect the battery
Vu Le commented
it should be an option for this because this will effect the battery life for sure.