I want to dynamically create a text file (.txt) object to share plaintext via a ShareAction but I want to keep the whole file object in memory - I don't want to write anything to disk. Is this a job for a BufferedOutputStream? A MemoryFile perhaps? How can I make this work?
Asked
Active
Viewed 59 times
1 Answers
0
It turns out that there's no need to do this - Dropbox and Drive are both smart enough to know to save text/plain input as a .txt file. You're even prompted to choose a filename when you choose where to save it.

IAmKale
- 3,146
- 1
- 25
- 46