Killed a warning
Implemented proper way of finalising and backing-up Store instances that depend on another Store instance (i.e. ProjectRecordStore and TransmissionStore)

Signed-off-by: Matthias Stevens <matthias.stevens@gmail.com>
Refactoring & completion of the collector back-up feature:
- Now in uk.ac.ucl.collector.tasks.Backup
- Implemented the inclusion of database back-up(s) in back-up ZIP package
Also refactored Zipper class to operate only with static methods.

Signed-off-by: Matthias Stevens <matthias.stevens@gmail.com>
Ensured inclusion of empty folders in back-up package (by means of eponymous temp folder with a 0-length ".empty" file), this allows whoever receives the back-up package to differentiate between a folder not being selected for back-up and a selected folder being empty (which before this change wouldn't appear in the ZIP at all)

Signed-off-by: Matthias Stevens <matthias.stevens@gmail.com>
Updated to latests SQLite4Java version

Signed-off-by: Matthias Stevens <matthias.stevens@gmail.com>
Updated to Apache Commons Codec v1.10 (shaded)
Try to re-create the Sapelli folder in case it was manually removed from the system

Signed-off-by: Michalis Vitos <info@michalisvitos.gr>
More consistent method names in FileHelpers:
FileHelpers no longer mixes the terms "folder" and "directory", I settled on using "directory" only because that's what the Java File class does

Signed-off-by: Matthias Stevens <matthias.stevens@gmail.com>
Minor improvements to Collector file storage location detection logic:
- use FileHelpers#createDirectory(File) instead of combination of File.exists() and File.mkdirs()
- removed some duplicate code
- improved inline docs
- improved & additional exception handling

Signed-off-by: Matthias Stevens <matthias.stevens@gmail.com>
Released test build v2.0.0-beta-11

Notes:
* BUG FIX: Solved issue which causes crashlytics issues 33, 35, 37 & 47 (main cause of crashes of previous builds)
* IMPROVEMENT: Changed database location to external storage (now all Sapelli files live in 1 place)
* BUG FIX: Solved SD-card not being detected (and thus not used) on Xcover2
* MISC: resolved line-endings issues in Git repository (has no effects on compiled application)
* MISC: changed version of aFileChooser library used in Eclipse builds to match the one used in mvn builds
* BUG FIX: resolved potential/rare audio recording problem
* IMPROVEMENT: Added proper back-up logic for Project and Tranmission store classes based on RecordStore
* IMPROVEMENT: inclusion of database back-up in the Sapelli Collector ZIP back-up
* IMPROVEMENT: updated some dependency versions
* IMPROVEMENT: improvements to storage path detection, including recreation of the folder when manually deleted

Signed-off-by: Matthias Stevens <matthias.stevens@gmail.com>
Changed version to 2.0.0-SNAPSHOT to open development of v2.0.0-beta-12

Signed-off-by: Matthias Stevens <matthias.stevens@gmail.com>
Storage: Moved indexes in to their own package

Signed-off-by: Matthias Stevens <matthias.stevens@gmail.com>
Bugfix in Record: use deepHashCode instead of hashCode on values array
in order to get expected (contents-based) result even on value objects
which are themselves arrays (e.g. those of a ByteArrayColumn)
Added MonkeyRunner script for clicking on a specific point of the screen

Signed-off-by: Michalis Vitos <info@michalisvitos.gr>
Merge branch 'master' of github.com:ExCiteS/Sapelli
Replaced boolean startWith... attributes with an enum, startWith (FORM,
FIELD, PAGE).
Fixed a parsing bug.
Bugfix in Handler (by Ben & Matthias ;)
Merge branch 'master' of https://github.com/ExCiteS/Sapelli.git
Synchronized UI blocking

Signed-off-by: Michalis Vitos <info@michalisvitos.gr>