bright-tools / androidphotobackup Goto Github PK
View Code? Open in Web Editor NEWAndroid application to perform over-the-air encrypted backups of photos to cloud services
License: Apache License 2.0
Android application to perform over-the-air encrypted backups of photos to cloud services
License: Apache License 2.0
Currently the project uses LiveSDK for Android which is now replaced by Onedrive SDK for Android
It was observed that after change to DST, photos were being re-uploaded due to the fact that the timestamp appeared to have changed by 1 hour.
e.g. originally uploaded file:
20150314_155612.jpg.1426348572.zip
file re-uploaded after DST change:
20150314_155612.jpg.1426344972.zip
The photos in question were stored on an external SD card.
Selecting the notification and starting the log display activity should clear the notification
Backing up over WiFi can be interrupted if Android sleeps the WiFi connection. Should establish a WiFi lock when using it as the transport.
If there's no internet connectivity, no point starting.
Could also check at other points within the process and abort if connection has gone away?
Api v1, as used by the current app is being deprecated.
in PhotoBackupService::handleFiles(), the second call to mExistingFiles.containsKey() erroneously uses bucketName as the parameter rather than bucketTargetDir and also inverts the result. This means that in the case that there is a top-level directory specified in the configuration the condition will always evaluate to true (meaning that failure to create the directory will be missed). In the case that there is no top-level directory specified, successful creation of the directory will result in an erroneous error indicating that the directory could not be created.
The 'search' method if the DropBox API has a limitation which means that it will not return more than 1000 entries see here. This means that in the case that the target folder has more than 1000 files, the app will not receive all the filenames and hence will believe that various files need to be uploaded again, even though they already exist on DropBox, just weren't returned by the API call.
Service should retrieve the list of files stored on the remote server in one go rather than individually checking files. This should sheep up the process as well as reducing API calls to the network server.
As of a recent Android Studio update, an error is being flagged that the Log tags in various classes are too long.
The permissions system was tweaked at API 23. Project should be updated to support this.
When memory becomes low, Android may kill the backup service, resulting in the backup not completing. This seems pretty undesirable behaviour from the user's perspective.
Behaviour / handling of drop-box refusing upload due to lack of quota has not been checked
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.