page.title=Samples @jd:body
To help you understand some fundamental Android APIs and coding practices, a variety of sample code is available from the Android SDK Manager.
To download the samples:
When the download is complete, you can find the samples sources at this location:
<sdk>/platforms/<android-version>/samples/
You can easily create new Android projects with the downloaded samples, modify them if you'd like, and then run them on an emulator or device.