quick grab-bag code for android dev