title: Cant retrieve text from intent filter in textview, on opening browser file
body: <p>I'm trying to get the text when a .txt file is selected. But im only getting this back content://com.android.providers.downloads.documents/document/msf%3A52139. Im just barely getting to uri's and dont quite understand them yet
  Thanks I have this in on create of MainActivity</p>
  <pre><code>Intent i = getIntent();
  String act = i.getAction();
  if (act.equals(&quot;android.intent.action.VIEW&quot;)){t.setText 
  (i.getData().toString());
  </code></pre>
  <p>And this in manifest</p>
  <pre><code>&lt;activity android:name=&quot;.MainActivity&quot;&gt;
  &lt;intent-filter&gt;
  &lt;action android:name=&quot;android.intent.action.SEND&quot;/&gt;
  &lt;category android:name=&quot;android.intent.category.DEFAULT&quot;/&gt;
  &lt;category android:name=&quot;android.intent.category. 
  BROWSER&quot;/&gt;
  &lt;data android:scheme=&quot;content&quot;/&gt;
  &lt;data android:mimeType=&quot;text/plain&quot;&gt;
  &lt;data android:mimeType=&quot;image/*&quot;&gt;
  &lt;/intent-filter&gt;
  &lt;intent-filter&gt;
  &lt;action android:name=&quot;android.intent.action.VIEW&quot;/&gt;
  &lt;category android:name=&quot;android.intent.category.DEFAULT&quot;/&gt;
  &lt;category android:name=&quot;android.intent.category.
  BROWSER&quot;/&gt;
  &lt;data android:scheme=&quot;content&quot;/&gt;
  &lt;data android:mimeType=&quot;text/plain&quot;&gt;
  &lt;data android:mimeType=&quot;image/*&quot;&gt;
  &lt;/intent-filter&gt;
  &lt;/activity&gt;
  </code></pre>
  <p>       </p>