You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I find it works quite reliably. Unfortunately, the changes are substantial. Please review and add to backlog (conflicts are expected with each new commit).
Details:
I renamed FileUploader to FileUploaderService because it is now much more than a simple uploader but a real service; this should be reflected in the name, I think.
I reused the DbHandler and called it UploadDbHandler (the old name was a little misleading).
Further I replaced some Intent KEYS which where ints with enums (e.g., LocalBehaviour in FileUploadService). This avoids using untyped KEYS and will help avoiding mistakes.
OCFiles is now serializable as it is stored persistently.
ConnectivityActionReceiver is now responsible for detecting connectivity changes. It calls FileUploaderService.
Due to these changes, the branch reliable_uploads is a little bloated. But actually there is not much new there.
on both, develop and reliable_uploads, the upload process sometimes returns (ssl) Socket timeout exception, but, sometimes the file is uploaded just fine (sometimes not).
The situation exists when uploading videos and also small images (~5MB), over mobile connection.
There is no way to distinguish "real" failure other than checking in the app.
Apache access/error logs are clear and fine.
on reliable_uploads, the success (i suppose) notification shows and dissapeares, there's no ability to read it; the failed notification shows correctly
Activity
vip9 commentedon Jan 3, 2015
As I see, there are two problems
The situation exists when uploading videos and also small images (~5MB), over mobile connection.
There is no way to distinguish "real" failure other than checking in the app.
Apache access/error logs are clear and fine.