title: Receive text from the Android share menu
body: <p>I can't find this problem anywhere, so it's probably something stupidly simple.</p>
  
  <p>I'm trying to register my app's MainActivity to receive plain text from other apps via the share menu, but nothing I do seems to get it working. When I select text in the web browser and click the "share" icon my app is not listed as an option.</p>
  
  <p>Here's the relevant part of the android manifest:</p>
  
  <pre><code>  &lt;application
        android:name=".App"
        android:allowBackup="true"
        android:icon="@drawable/ic_launcher"
        android:label="@string/app_name" &gt;
          &lt;activity
          android:name=".MainActivity"
          android:label="@string/app_name"
          android:launchMode="singleTask" &gt;
          &lt;intent-filter&gt;
              &lt;action android:name="android.intent.action.SEND" /&gt;
  
              &lt;category android:name="android.intent.category.DEFAULT" /&gt;
          &lt;/intent-filter&gt;
          &lt;intent-filter&gt;
              &lt;action android:name="android.intent.action.MAIN" /&gt;
  
              &lt;category android:name="android.intent.category.LAUNCHER" /&gt;
          &lt;/intent-filter&gt;
      &lt;/activity&gt;
    &lt;/application&gt;
  </code></pre>
  
  <p>I also tried other actions such as <code>SENDTO</code> and <code>VIEW</code> to no avail. The problem I have is that my app simply does not appear as an option in the share menu.</p>