0

I am having difficulty downloading the Android source code using the recommended instructions, due to problems with Repo, Cygwin, Python etc (See other topic I've open)

Therefore, I'm wondering is there an easier way to download the source code for a specific SDK version?

For example I'd like to take a look at the AlertDialog.Builder class without having to download everything.

Thanks

DJ180
  • 18,724
  • 21
  • 66
  • 117

1 Answers1

1

If you want to see the Java code, you can use GrepCode. For example, AlertDialog.java.

MByD
  • 135,866
  • 28
  • 264
  • 277
  • I'd also recommend this plugin I found on one of the other threads for Eclipse. Very useful: http://www.androidpolice.com/2011/12/22/gold-for-android-developers-add-aosp-source-code-to-eclipse-with-the-android-sources-plugin/ – DJ180 Feb 16 '12 at 03:09