MaterialFiles icon indicating copy to clipboard operation
MaterialFiles copied to clipboard

Handle intent for creating file

Open zhanghai opened this issue 6 years ago • 3 comments
trafficstars

zhanghai avatar Sep 19 '19 04:09 zhanghai

I can help develop this functionality on my side when I have time and make a pull request unless you are already on it.

At the UI level, does it suit you if we add a fixed view at the bottom of the screen (as in the "File" application) with the same behavior as your "New file" dialog?

J-Jamet avatar May 27 '20 09:05 J-Jamet

Please leave it to me - I'll figure out the UX. Currently there's an exsiting bottom bar for picking files, so I'm thinking of bending it to show a text field in the case of file creation.

By the way regarding the WebDAV support we once talked about, actually you can try to implement a DocumentsProvider for it, in a separate app, then it can be used by any file manager (even the system one). google/samba-documents-provider is an example for this.

zhanghai avatar May 27 '20 19:05 zhanghai

Note: This should also handle Intent.ACTION_SEND.

zhanghai avatar Apr 16 '21 16:04 zhanghai