in Android

Best Android tip EVER!

Lars Vogel writes this usefull tip at “Eclipse Papercuts“:

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 Android 2.3 here: Android Source Code zip .

I hope this helps.

For further info check my Android tutorial or if you are based in Germany visit my Android Training.

 

Share