Network access when the Android phone is asleep
Posted
by Immortal
on Stack Overflow
See other posts from Stack Overflow
or by Immortal
Published on 2010-03-21T12:14:38Z
Indexed on
2010/03/21
12:21 UTC
Read the original article
Hit count: 325
I'm using a combination of alarm (set with AlarmManager
) and background service to periodically synchronize data in my application.
The only problem I have is that when sleep policy terminates Wi-Fi connection the synchronization no longer works.
Is there a way to "wake up" the Wi-Fi connection that has been put to sleep? GMail somehow manages to do that because it notifies me about new e-mail even if the phone entered sleep mode.
© Stack Overflow or respective owner