An application is exporting a text (.txt) file when shared through it, I can see apps like Gmail, Dropbox, drive, share it etc to share it through that app. I want to import that text file in my application for further modification of that. txt file.
What should I implement in manifest or main activity?
Should I use **`INTENT`** filter or should I use **`getUriForFile()`** method to receive the text file?
How will my app appear in other apps sharing list which export text files?. [![export form whatsapp](https://i.stack.imgur.com/BowDf.jpg)](https://i.stack.imgur.com/BowDf.jpg)[![send chat via...](https://i.stack.imgur.com/YH3dD.png)](https://i.stack.imgur.com/YH3dD.png)[![share text file from file explorer](https://i.stack.imgur.com/x8nSN.jpg)](https://i.stack.imgur.com/x8nSN.jpg)[![whatsapp extract my app is visible](https://i.stack.imgur.com/VhZby.png)](https://i.stack.imgur.com/VhZby.png)