Example implementation of developer.android.com/training/basics/firstapp/, using command-line tools.