1

I would like to see the source code for the API in the android platform. For example see what is under android.widget.ImageView.Class. However I get source code not found in eclipse.

Kara
6,23616 gold badges54 silver badges58 bronze badges
asked Feb 17, 2012 at 22:30

3 Answers 3

3

You can find ImageView source code here: http://grepcode.com/file/repository.grepcode.com/java/ext/com.google.android/android/2.2_r1.1/android/widget/ImageView.java

The project source code is not going to visible in eclipse unless you've got your self a copy of the source. It is not included in the SDK by default.

answered Feb 17, 2012 at 22:34
Sign up to request clarification or add additional context in comments.

Comments

1

Here is link for Android source and another link for repository. You need to attach source code for your project to see the source in eclipse.

answered Feb 17, 2012 at 22:36

Comments

0

Source code for all API packages(including their classes and methods) can be found at Android API packages Source code

Main domain/website is: android.googlesource.com

In the first hyperlink, among all the packages mentioned at developer.android.com/reference/packages.html, you will only find source code for those packages that start with name android.

answered Sep 6, 2016 at 10:37

Comments

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.