Where can I find Android source code online? - Stack Overflow
Should I post my android application's source code on github?
Is there anywhere on github which has the latest Android Open Source Project (AOSP) files?
Looking for Open source Unity project
Videos
Everything is mirrored on omapzoom.org. Some of the code is also mirrored on github.
Contacts is here for example.
Since December 2019, you can use the new official public code search tool for AOSP: cs.android.com. There's also the 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:
- Downloading the Source Tree
2020: The official AOSP code search https://cs.android.com/
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:
http://blog.blundellapps.com/add-source-code-links-to-android-apis/

A while ago I made an application because I wanted to learn Android dev and Java. I want to use the application on my resume now. I'm thinking of putting the source code of my little application on github. I have already uploaded my app on Play Store (gave myself a 5 star too!).
Has anyone done this before? Does anyone know whether this is a good idea? Will there be any legal problems for me if I do that? Will uploading the source code get me into any trouble with google?
Side question: Do you think posting the source code is a good idea anyway? Instead of just letting the companies I'm applying to download and check out my app?