Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Finding Android source code

Are the Android APIs open source? If so, I want to see how they implemented the smoothscroll method for the ListView object (this is implemented in API level 8, but I want to build against an earlier API level). How would I go about finding this?

like image 737
Wise Shepherd Avatar asked Sep 09 '10 02:09

Wise Shepherd


People also ask

Where can I find Android source code?

The Android source tree is located in a Git repository hosted by Google. The Git repository includes metadata for the Android source, including changes to the source and when the changes were made.

Is Android still open source?

Android is an open source operating system for mobile devices and a corresponding open source project led by Google.

How big is the Android source code?

Note: The source download is approximately 8.5GB in size. You will need over 30GB free to complete a single build, and up to 100GB (or more) for a full set of builds.

What is AOSP source code?

The Android Open Source Project (AOSP) is a collection of Git repositories, which are managed together using the Repo tool. Most Android development tools (such as GitHub) can't see the source code the way that it's laid out when it's checked out on the system.


2 Answers

Yes, it's open source, and http://source.android.com/ has all the information on how to download and browse the source.

like image 128
EboMike Avatar answered Sep 20 '22 03:09

EboMike


This is what you want: ListView source code.

like image 20
Jett Hsieh Avatar answered Sep 21 '22 03:09

Jett Hsieh