#296: Add documents provider#1368
Conversation
|
Have you tested it? |
|
works fine with multiple accounts, on nexus 4 |
|
Maybe this would be a good use case to show it in the "what's new" slide show? |
|
Included in beta. |
|
could be, but 'whats new' should be also included, this requires some addtional work from graphics people |
|
Yeah, then we should enforce this... |
|
No idea :D @AndyScherzinger said that he would take a look on images and texts |
79c8435 to
994dd86
Compare
|
@przybylski |
|
I know, for now I want to provide opening, saving will come in other PR |
|
@przybylski the current version shows only downloaded files, right? |
|
Last time I tested it, it was working just as you described it. Showing all the files and download then if necessary |
|
Maybe I have messed something up in beta. |
|
The code looks fine on beta branch. Is it not downloading the file? |
|
The files / folders that are not already downloaded are not even shown, so I cannot click them. |
|
Ok, I can see the problem, |
|
Thanks :) Is it possible to show the download state? |
|
No, DocumentProvider doesn't support progress indicator. The only download state is available in a notification bar, and it is normally invoked when ownCloud is downloading file.. |
|
Ah, no, I meant the state of a file: downloaded on device / not downloaded. |
|
There is no built in mechanism in DocumentsProvider to indicate this :/ |
| android:authorities="@string/authority" | ||
| android:enabled="true" | ||
| android:exported="false" | ||
| android:exported="true" |
There was a problem hiding this comment.
Is it necessary to make this existing Provider public?
There was a problem hiding this comment.
yes, documents provider is queried by external application, and at that point its outside owncloud permission so exported content provider is required.
|
Hi, @przybylski . Should we understand you don't want to contribute this code to ownCloud anymore? Thanks in advance. |
|
It's not that I don't want to, but the fact that such simple pr was opened for over half a year got me discouraged. |
|
I can understand that. In any case, closing it doesn't seem a way to get it merged faster, does it? Please, consider reopening it. Your contributions to this project always were more than important. |
|
It didn't got it faster, BUT it got your attention so it kinda worked ;) |
|
@jesmrec this PR is prepared to be tested :) |
|
👍 @jabarros a test plan will be designed asap. |
994dd86 to
3a48498
Compare
3a48498 to
b62a7fd
Compare
|
@jesmrec, rebase on master done |
b62a7fd to
5b6dec3
Compare
|
Approved, nice work. Next step, ability to modify :) :) @przybylski @jabarros A new rebase is needed, please. |
5b6dec3 to
ac072dd
Compare
|
Rebase done. Wating Travis. |
ac072dd to
24619ce
Compare
--------- edited by @jabarros
TASKs: