The API Demos application includes a variety of small applications that illustrate the use of various Android APIs. It includes samples of:
Update: The following are some of the new demos for Android 4.0: