I am writing an Android Library Project basing on Android Bitmap class (call it AndroindLib) which contains only utility class (no activity). I tried to test it using Android JU
http://www.paulbutcher.com/2010/09/android-library-project-with-tests-step-by-step/ helps describe the process needed to implement the second suggestion in CommonsWare's answer