Building a collection of bits of useful code in Android/Java