Thanks Mark.

My application works nice since I used the alarmManager.

Best ragards.
Reda ABDI

On 18 juin, 22:31, Mark Murphy <mmur...@commonsware.com> wrote:
> On Wed, Jun 16, 2010 at 2:54 AM, reda <reda.a...@gmail.com> 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
> mmur...@commonsware.comhttp://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 android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to