Treehouse Android Utilities

This repository holds helpful utility files for Treehouse Android projects. Included are a couple of helper classes that can be used to work with files in Android, like detecting a shake, resizing images, and converting to byte arrays.

Just download the files and add them to your own projects. FileHelper.java requires IOUtils from Apache Commons, which you can include with Gradle like this:

dependencies {
    compile 'commons-io:commons-io:2.5'
}

*Alternatively, download the required JAR here. Choose the latest zip file under "Binaries".

FileHelper.java

ImageResizer.java

ShakeDetector.java