title: How to register a custom Intent filter to a broadcast receiver in AndroidManifest.xml?
body: <p>I have defined a receiver in AndroidManifest.xml to receive a <code>PlAY_FINISHED</code> action, and in other file I send an intent to that broadcast receiver like follows:</p>
  
  <pre><code>public String PlAY_FINISHED = "play finished"; 
  ...
  Intent in = new Intent(PlAY_FINISHED);
  this.service.sendBroadcast(in);
  </code></pre>
  
  <p>so in my manifest file, i set it like this, where MyStaticString is a class that contains all the static string in the application. Is this the correct way?</p>
  
  <pre><code>    &lt;intent-filter&gt;
          &lt;action android:name="com.mysite.appname.MyStaticString.PLAY_FINISHED" /&gt;
      &lt;/intent-filter&gt;
  </code></pre>