You can find the source code for this sample in your SDK at:
<sdk>/platforms/android-<version>/samples/