You could look at using PowerManager to keep the device awake.
On Dec 1, 2011 10:04 AM, "cipher_neo" <[email protected]> wrote:

> Hi guys,
>
> really urgent problem here.
>
> I have an app that uses a web view and an ajax polling app.
>
> As soon as I turn the screen off on the device, the polling stops?
>
> But there are sometimes some small bursts of polling while the screen is
> turned off (as I can see in the server logs)
>
> How can I keep my app active when the light is turned off?
>
> thanks
>
> --
> 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 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

Reply via email to