How to use Intents from a Service or Broadcast Receiver?
<p>I need to be able to handle/catch Intents while my Activity is closed.  So I am looking at either a Service or a BroadcastReceiver.  </p>

<p>Is it possible to "receive" intents to a service itself?  I tried to search, but could not find anything helpful.</p>

<p>With a BroadcastReceiver, I am not exactly sure how that works outside of an Activity.  Does it depend on the Activity being open/running?  Can it run by itself?  Let's say that my Activity is killed by Android(or a task killer app), does the BroadcastReceiver still receive intents and process them?</p>

<p>I have used a BroadcastReceiver as a widget, but I do not want to use a widget this time.</p>

<p>My goal is to have the user open the Activity to set some options.  From there, they would be able to close the Activity, but I would still be able to process Intents that were sent out by the system.</p>

<p>I am still fairly new to Android development, so I could be so far away from where I need to be.</p>

<p>Am I going about it wrong?</p>
