Android: Zip Download of Cupcake Android v1.5 Source Code
Join the DZone community and get the full member experience.Join For Free
a great way to learn about a java library and framework is to browse through their innards (source code) ad hoc-ly during project development. sometimes a method or a class that seems so simple in name might do much more, and end up creating unexpected side-effects which results in hard-to-debug code.
in addition, api documentation tends to be vague and brief that does not delve deeply enough into detail. hence, the source code of the java library and framework is an indispensable resource for software development.
this following article is written by http://geekycoder.wordpress.com
this is especially the case for android mobile application development where it is still relatively new in term of maturity and acceptance. there is currently one android phone available in the market and the forthcoming v1.5 android platform codename cupcake makes android development all the more challenging.
hence having the full source code of android can at least assist uou in understanding and learning what is still a new mobile platform. however, the android sdk does not come with source code and it is up to the developer to download it from the google code server. it is quite involving to download this source code so what if someone has already done the hard work of getting and packaging the source code for you?
thanks to someone by the name of rgruet in http://androidforums.com/android-developers/1045-source-code-android-jar.html who consolidated the source code of android v1.5 into a single zip file,
i packed the sources for android 1.5 (not a piece of cupcake , and made the
archive temporarily available at http://rgruet.free.fr/public/android…upcake-src.zip (21.6mb). please mirror it elsewhere before my isp kills me!
create a directory sources/ inside your <android-sdk>/platforms/android-1.5/ directory, and unzip the archive there.
there are currently three known sources to download the source code (21.6mb).
- http://rgruet.free.fr/public/android-1.5-cupcake-src.zip ( rgruet )
- http://www.mediafire.com/download.php?ulnovo4wzde (my mirror)
oh yes, download smart, use a download accelerator. if possible, mirror the download.
Opinions expressed by DZone contributors are their own.