One of the annoying things in the Android Development Kit is that it does not include the source code for the standard Android classes. This makes it IMHO unnecessary hard to learn the Android platform.
Of course there is a solution for this. Clone the Android Source Code via Git. Once you have the full source code, switch to the “/frameworks/base/core/java” directory, zip the content of the “android” folder and attach it to your Android jar.
For those of you who don’t want to clone the full Android repoI have attached the source from the current version of Android (Android 2.2) here: Android Source Code zip .
I hope this helps.