AuxOne wrote:
> 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.

Try this:

http://github.com/commonsguy/cwac-wakeful

as seen here:

http://github.com/commonsguy/cw-advandroid/tree/master/SystemServices/Alarm/

> Services seem to require a separate application which is the service,

That is not true at all.

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

Activities are not applications, any more than a Web page is a Web
server. But you are correct, an Activity cannot itself be a Service. You
are going down the correct path -- hopefully the above code will help.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy

Android Training...At Your Office: http://commonsware.com/training

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