I was wondering if I encoded a content observer in an Activity, it would work in the background, even if an activity would not be created or started. Do I have to encode it in the service so that it runs in the background?
Activity
onResume
onCreate
onPause
onDestroy