All of the samples can be build and run from the command line:
Building and running an Android NDK sample
Building and running an Android SDK sample.