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
Auto Upload (Android 7+) #358
Conversation
…aft implementation of a SyncFolderProvider for DB operations
…move the Observable to the Provider implementation)
Small update as for the release schedule, discussed with Tobias. Instant Upload is currently broken on Android 7+. This implementation is now already available in the beta release for some time but we are still facing issues when it comes to, folders on external storage (as in USB mounted memory), uploads not seem to get triggered on all the devices out there, Auto upload screen showing image folders within Nextcloud (e.g. photos you downloaded - which should be hidden of course). So to not postpone the release candidates much longer for the next stable release we discussed to:
|
…ncedFolders # Conflicts: # src/com/owncloud/android/MainApp.java # src/com/owncloud/android/db/ProviderMeta.java # src/com/owncloud/android/providers/FileContentProvider.java # src/com/owncloud/android/services/observer/FolderObserver.java # src/com/owncloud/android/ui/activity/Preferences.java
👍 |
Yeah! 🚀 |
Just tested the 20161123 beta version and there are still some issues with Android 7.
What's what I've found so far. Do you guys have a Android phone with 7 installed? You should see the same behaviour.
Naah... But close :) |
Thanks for the tests @enoch85 we'll look into it! :) The stable enough is meant as-in "stable enough for a release candidate" :D - I do have a Nexus5X running the latest (today's) Android 7.1.1 beta so I should be able to reproduce your findings. as for the first fails, yeah that doesn't look nice. The initial fail happens every now and then since Android might just kill the process at the initial upload and later Tanks to Doze the retry sets in. |
Ok, just want to confirm that Auto upload now works as expected on Android 7 Nexus 5x with the latest beta 20161129 |
You rock @tobiasKaminsky @AndyScherzinger 🤘 :) |
New instant upload implementation for any device running Android 5 or later - called Auto upload
This new implementation supports "V1" of the specified feature set, which focuses on
for any future increments, please see #285
This is a collaboration between @AndyScherzinger and @tobiasKaminsky coding-wise.
@nextcloud/designers please have a look at the actual screenshots (below), hereby requesting feedback/discussion. In short we mimic Google Photos to some extend.
display media folder in a sectioned grid (--> headers). Each folder shows its name, up to 8 thumbnails, remaining images of the folder for >8 files in the respective folder, on/off toggle icon, three dot for custom preferences (per folder, beware though that we have a defaulting so you don't need to configure anything).
The sorting is weighted and alphabetical, meaning they are sorted alphabetically (while a folder named "Camera" wins...) and weighted by active/inactive. Thus active one will be at the top and the Camera folder will always be at the top of the active or the inactive cluster.
The thumbnails shown per folder are always the latest ones (as in date taken, modification-date) and they get cached
Preferences are adopted from the actual/known instant upload capabilities as is choose the upload folder, wifi only, charging only, created sub-folders, upload behavior, enable/disable.
The new instant upload is so cool it got it's own main menu item 😋
Also due to the fact that this feature has at least for evolutionary increments to be possibly implemented see #285 and will transform into a general folder sync feature in the future
Tasks Tobi
Tasks Andy