-
Notifications
You must be signed in to change notification settings - Fork 376
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
Handling of content:// URIs #126
Comments
I ran into this error when trying to open a Markdown file through the Dropbox Android app. Is there any way to use Markor with Dropbox or another syncing service? |
Well it's more like a "this is not done yet" then an error :D. Note that any help is appreciated here. Yep, I (and many others told me they do) use Syncthing for that. https://syncthing.net/ Another user told me he uses FolderSync with a WebDav share. |
@paldepind : Markor got some <3 in the latest update regarding this. While you can't open files directly out of the DropBox app, you can now set the folder to |
…iting) * closes gsantner#126 * closes gsantner#127 * closes gsantner#179
Thank you very much for this. For the record, Dropbox used to support setting the "make available offline" for a folder on the free version -- as of this writing, that is no longer the case, you have to upgrade to premium/subscription Dropbox for that. (Also for the record, you used to be able to connect more than 3 devices for sync on free Dropbox, that is also no longer the case). |
thanks for notice. I dont personally use dropbox so commmunity feedback is important. |
General information
Steps to reproduce
Currently everything is handled as
java.io.File
.content://
URIs are just converted to File usinggetPath()
, which will not work in many cases when data coming from other applications.Expected result
intent-filter for content URIs for DocumentActivity
Content URIs get correctly handled aswell. Includes saving/writing/reading/isFolder/isFile/isReadonly. One has also to check that at content URIs >renaming< may not be possible.
Ideally there is the current Document class contains a DocSource Object. Soirce is a Baseclass, has two derivates, one for file, one for content. Baseclass with an abstract
boolean read/write/move/isFile/isFolder/isReadonly/isMoveable
method. Parameters between activity are shared then with typeDocument
or with the baseclass.Maybe note future addition of other sources, e.g. Network? A sync provider/library with callbacks? ..
Some notes
The text was updated successfully, but these errors were encountered: