-
-
Notifications
You must be signed in to change notification settings - Fork 121
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open .txt files optionally with external editor #108
Comments
There were some remarks in App Store comments stating that this would create non encrypted copies of the files on the phone. Some clarification regarding this:
Maybe we should rethink the sharing behaviour. It may not be obvious to most users that, when tapping on a file like a pdf an external app (the default pdf viewer) opens. Maybe we should just show file details on tap and allow opening a file externally only in a more explicit way. Such a file details view could be switched to our internal text editor or the image preview for applicable files. |
When sharing we build an ACTION_SEND intent. The EXTRA_STREAM is set to the content URI of the shared file and the flag FLAG_GRANT_READ_URI_PERMISSION is set so the receiving app can read the URI. If the file has an extension the type is set to the MIME type returned by MimeTypeMap for this extension. We then use Intent.createChooser to trigger the default android app choosing behaviour. If you do not see a chooser your system may allow you to define an app as default. In this case the chooser may be skipped. You should be able to reset this in the Android settings. Do the apps you are using display some kind of error message? If so we may have a closer look at this but as the intents we use are really much standard there may not be much we can do. Otherwise I would recommend you contact the vendor of the apps for help. |
Thanks for your reply.
Testing with another text file outside Cryptomator brings up the Android app chooser with 5 text editors, as expected. My feeling is that the share functionality is quite different from the "open with" as I would have liked. |
How do we get this moving? Without the option to open .txt files with an editor capable of searching through the text file, Cryptomator is not a workable solution for me. What can I do to support? |
Moved from BoxCryptor Classic and really miss the ability to choose my preferrede editor. |
With my Samsung Galaxy Note 9 and QuickEdit (defined as standard app for .txt) the app opens but shows no content. Are there any news how to use a search facility in .txt-files, either in the inbuilt editor or via external editor? |
Yeah, I would like to use the great Jota Text Editor. Has everything the heart desires. Come on guys, I would program somthing like that in 10 Minutes on Windows. Can't anybody do such an easy to implement thing? I would really like to use Cryptomator but I have really big text files with my notes in it. I need a sophisticated editor, not a toy. Thanks in advance. |
At the moment, all files of type txt will be openened with an build-in editor. It could be useful to choose to open txt-files with the build-in- or an external editor.
Workaround
Text files in fact can be opened in an external editor by using the share functionality.
The text was updated successfully, but these errors were encountered: