Where can I find Android source code online?


Particularly, where can I browse the source code for any android source application(e.g.the contact application) ? Is the only way to go to download all there is?

8/7/2016 12:41:43 PM

Accepted Answer

Everything is mirrored on omapzoom.org. Some of the code is also mirrored on github.

Contacts is here for example.

Android official source browser (based on Gitiles) has a web view of many of the different parts that make up android. Some of the projects (such as Kernel) have been removed and it now only points you to clonable git repositories.

To get all the code locally, you can use the repo helper program, or you can just clone individual repositories.

And others:

3/5/2013 5:27:56 PM

You can view the source code through http://developer.android.com, when you're reading the API there will be a link to the matching source code on GitHub, you just need to add the Android SDK Reference Search Plugin on Chrome.

I blogged about it here:

enter image description here

Licensed under: CC-BY-SA with attribution
Not affiliated with: Stack Overflow