I am developing an Android app.
I already add some setting in Manifest.xml as follow.
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<data android:mimeType="application/pdf" />
<data android:mimeType="text/html" />
<data android:mimeType="text/htm" />
</intent-filter>
Then, the user can choose my app to open the attachment.
The question is what can I do after that? How can I access the file?