Depends on your definition of "working".

It's not terminated, but the entire device may go to sleep, unless
something wakes it up.

If you have an open network connection (WiFi or mobile, not sure about
Bluetooth) and a packet comes in, the device will wake up for a short time.
Keeping it awake for a duration you might need to process that data is up
to you. Look up PowerManager.

-- Kostya

2011/11/16 SL@maxis <[email protected]>

>
> Assume I write a service (no interface) that communicates with a PC when
> an event occurs via WiFi or Bluetooth.
>
> When the phone goes into sleep mode, is the service still working ? Thanks.
>
>
> --
> Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to 
> android-developers@**googlegroups.com<[email protected]>
> To unsubscribe from this group, send email to
> android-developers+**[email protected]<android-developers%[email protected]>
> For more options, visit this group at
> http://groups.google.com/**group/android-developers?hl=en<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