title: Sending intent to BroadcastReceiver from adb
body: <p>I've got BroadcastReceiver class:</p>
  
  <pre><code>public class IntentReceiver extends BroadcastReceiver {
  
      final String tag = "Intent Intercepter";
  
      @Override
      public void onReceive(Context context, Intent intent) {
          try {
              String data = intent.getStringExtra("sms_body");
              Log.i(tag, data);
              Toast.makeText(context, data.subSequence(0, data.length()), Toast.LENGTH_LONG).show();
          } catch (Exception e) {
              Toast.makeText(context, "Intercepted", Toast.LENGTH_LONG).show();
          }
      }
  }
  </code></pre>
  
  <p>And also in manifest:</p>
  
  <pre><code>&lt;receiver android:name="com.whereismywifeserver.IntentReceiver" android:enabled="true"&gt;
      &lt;intent-filter android:priority="999"&gt;
          &lt;action android:name="com.whereismywifeserver.intent.TEST"/&gt;
      &lt;/intent-filter&gt;
  &lt;/receiver&gt;
  </code></pre>
  
  <p>But when I try to send intent from adb, I receive error:</p>
  
  <pre><code>$ adb shell am start 
  -a com.whereismywifeserver.intent.TEST
  --es sms_body "test from adb" 
  -c android.intent.category.HOME 
  -n com.whereismywifeserver/.IntentReceiver
  Starting: Intent { act=com.whereismywifeserver.intent.TEST t=[android.intent.category.HOME] cmp=com.whereismywifeserver/.IntentReceiver (has extras) }
  Error type 3
  Error: Activity class {com.whereismywifeserver/com.whereismywifeserver.IntentReceiver} does not exist.
  </code></pre>
  
  <p>When I create intent in code, everything works fine. So how can I send intent from adb?</p>