title: Purpose of Service Intent-Filter inside Manifest.xml
body: <p>from android developers : "Components(service) advertise their capabilities — the kinds of intents they can respond to — through intent filters.</p>
  
  <p>I just cant understand the purpose of intent filter inside service in the Manifest.xml, what is the capability here?</p>
  
  <pre><code>&lt;service
      android:name="com.x.y"
      android:enabled="true"
      android:exported="true" &gt;
      &lt;intent-filter&gt;
          &lt;action android:name="com.x.y" /&gt;
      &lt;/intent-filter&gt;
  &lt;/service&gt;
  </code></pre>
  
  <p>and what's he difference if i remove the intent-filter?</p>
  
  <pre><code> &lt;service
         android:name="com.x.y"
   &lt;/service&gt;
  </code></pre>
  
  <p>thanks.</p>