AlarmManager see:
http://developer.android.com/reference/android/app/AlarmManager.html

Also if you are waking the phone every 10mins to run your service you
will really drain the battery as the phone takes a while to go back to
sleep again.

--
RichardC

On Nov 6, 9:48 pm, sunitha <[email protected]> wrote:
> Hi
>
> I have to develop a service which runs in background. I do need to
> keep some logic in the service to run for every 10 minutes. Is there
> any way to set time interval.

-- 
You received this message because you are subscribed to the Google
Groups "Android Beginners" 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-beginners?hl=en

Reply via email to