You could download the source from
http://grepcode.com/snapshot/repository.grepcode.com/java/ext/com.google.android/android/2.3.4_r1
Other versions are also available. You could search them in this site.
Answer from Roland on Stack OverflowVideos
You could download the source from
http://grepcode.com/snapshot/repository.grepcode.com/java/ext/com.google.android/android/2.3.4_r1
Other versions are also available. You could search them in this site.
I was able to download 2.3.3 by using the these commands:
repo init -u git://android.git.kernel.org/platform/manifest.git -b android-2.3.3_r1
repo sync
Thanks for your help.
There's a mirror over @ github.
https://github.com/android/
If you only want the source on hand for reference there are two very useful Eclipse plugins which complement the SDK and keep Android source up-to-date and correspondent to the target version of your project:
http://adt-addons.googlecode.com/svn/trunk/source/com.android.ide.eclipse.source.update
http://adt-addons.googlecode.com/svn/trunk/binedit/com.android.ide.eclipse.binedit.update