My information is a few years old, but at the time I was writing a VOIP app 
and ran into a similar issue. The problem I faced is that when the screen 
goes off, the WiFi goes into a low power mode called power save polling 
(PSP), where the WiFi is still active, but latency is very high (which 
kills a VOIP app). As in your case, none of the solutions you tried worked 
other than keeping the screen on. The best I could do was set the screen 
color to black, and dimmed the screen to it's lowest setting. 

PSP mode is discussed here: 
http://code.google.com/p/android/issues/detail?id=9781.

Your case seems slightly different in that the TCP connection is actually 
closed. This sounds like a device specific problem, or a particular 
incompatibility between your device and router. Have you tried a different 
router to see if it helps? Also, if it is the PSP issue, I recall it being 
fixed in some custom ROM (sorry, I don't recall where anymore).

Hope this helps,
Dirk

-- 
-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to