My app runs on a 1 hour timer. I'd like it to run even if it's not in
the foreground, and even if the phone is asleep, preferably even if
the app isn't even running.

I tried to accomplish this via AlarmManager and Services. The
AlarmManager just seems to queue the process because nothing happens
until I bring the app to the foreground, then it runs multiple times
depending how long it was inactive.

Services seem to require a separate application which is the service,
but even if I could get that to work (which I can't) wouldn't the user
have to download both my application and the service from the Android
Market, thus making them install two things?

How do I accomplish what I am after? Please note the application
extends Activity so it can't itself be a service, as far as I know.

Thanks

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