Thanks Mark.

My application works nice since I used the alarmManager.

Best ragards.
Reda ABDI

On 18 juin, 22:31, Mark Murphy <[email protected]> wrote:
> On Wed, Jun 16, 2010 at 2:54 AM, reda <[email protected]> wrote:
> > I have a timer that schedule a task to run every 5 minutes.
>
> That is a mistake. Please use AlarmManager.
>
> > The question is : if the device is already in a sleep state, can I
> > wake up it with my wl.acquire()   ?
>
> No, but if you use AlarmManager, it can wake up the device.
>
> --
> Mark Murphy
> CommonsWare
> [email protected]http://commonsware.com

-- 
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