I'm working on a application to send data to server every 20 mins. Here i found one difficulty because of android idle mode
. In the time of idle mode
the network access is been disabled to the apps as mentioned here. So in this time I can't able to communicate to the server. So to overcome that i found FULL_WAKE_LOCK, which will release the device from idle mode. But actually it will wake the screen whenever we try to send data. So we don't need that. So I tried with PARTIAL_WAKE_LOCK, which will wake the cpu with the screen off. But in this time the network also disabled. So i can't able to send the data.
I searched a lot. But i haven't found any good article regard that. So Anybody could you please tell me the programmatic way to get out of idle mode without waking the screen up.
Thanks.