[android-developers] Re: 3G HTTP requests in Sleep mode and smartphone unplugged

2012-07-10 Thread bjcoredev
WLock"); When user starts polling: wakeLock.acquire(); When user stops polling: wakeLock.release(); Le mardi 10 juillet 2012 12:42:03 UTC+2, RichardC a écrit : > What Wakelock(s) are you holding? > > On Tuesday, July 10, 2012 9:53:46 AM UTC+1, bjcoredev wrote: >> >> H

[android-developers] 3G HTTP requests in Sleep mode and smartphone unplugged

2012-07-10 Thread bjcoredev
Hi, My app have an UI but the user can start making HTTP polling on a server with a customizable interval. All is OK when the phone is not in sleep mode : (3G or wifi,background or foreground). But when i put the phone in sleep mode: Using wifi:OK Phone is charging (plugged) using 3G or wifi :O