> But with this design I
> can't handle cases where the job finishes, but the Acitivity is not
> resumed

You could control the state of your service using SharedPreferences.
Call getSharedPreferences() in onDestroy() method of your service and
save the state. Do the same thing in resumed/restored activity to
check the state of your service.

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