The file containing the source code shown below is located in the corresponding directory in <sdk>/platforms/android-<version>/samples/...
<sdk>/platforms/android-<version>/samples/...