title: Android : Launch Music Player via Service
body: <p>I am trying to launch the MediaPlayer from a service, and its not wroking as expected. I m getting the following exception,</p>
  
  <pre><code>android.content.ActivityNotFoundException: No Activity found to handle Intent { act=android.intent.action.MUSIC_PLAYER flg=0x10000000 }
  </code></pre>
  
  <p>Please find the snippet of code that gets invoked in the service,</p>
  
  <pre><code>Intent intent = new Intent(MediaStore.INTENT_ACTION_MUSIC_PLAYER);
  intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
  startActivity(intent);
  </code></pre>
  
  <p>Android Manifest </p>
  
  <pre><code>&lt;service android:name="com.lakshmi.shakenfun.AlertService" &gt;
      &lt;intent-filter &gt;
          &lt;action android:name="android.intent.action.MUSIC_PLAYER" /&gt;
      &lt;/intent-filter&gt;
  &lt;/service&gt;
  </code></pre>
  
  <p>Please do let me know, where I am doing wrong.</p>
  
  <p>My target platform is 8</p>
  
  <p>Thanks,
  Ramesh</p>