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
Answer from richq on Stack Overflow
🌐
Google Code
code.google.com › archive › p › android-source-browsing › source
Google Code Archive - Long-term storage for Google Code Project Hosting.
Archive · Skip to content · The Google Code Archive requires JavaScript to be enabled in your browser · Google · About Google · Privacy · Terms
Discussions

html - How do I view source code in an Android web browser? - Android Enthusiasts Stack Exchange
Is there a way to view the source HTML in an Android web browser? More on android.stackexchange.com
🌐 android.stackexchange.com
Which is the best open source code editor for an Android OS mobile phone?
Download Termux and install nvim. You can have a full blown code editor like this. More on reddit.com
🌐 r/androidapps
4
9
November 2, 2024
Read Android Source Code Online, Support Android 16.0
You should upgrade or use an alternative browser. ... View Android source code references. Support Andrdoid 1.6 ~ 16.0. Support Android Kernel 2.6 ~ 6.6. More on xdaforums.com
🌐 xdaforums.com
12
May 9, 2024
open source - Offline code browser for Android - Software Recommendations Stack Exchange
Sometimes I'd like to use time during commuting etc. for investigating bugs or issues in some of my projects. Is there a tool for Android that'd allow me to clone a git repository (or another VCS) ... More on softwarerecs.stackexchange.com
🌐 softwarerecs.stackexchange.com
October 12, 2015
🌐
Android Open Source Project
source.android.com › docs › setup › contribute › code-search
Android Code Search | Android Open Source Project
Android Code Search is a tool that helps you view the Android source code as it's laid out when you actually use it.
Find elsewhere
🌐
XDA Forums
xdaforums.com › home › general development › android development and hacking › android general
Read Android Source Code Online, Support Android 16.0 | XDA Forums
May 9, 2024 - XRefAndroid View Android source code references. Support Andrdoid 1.6 ~ 16.0. Support Android Kernel 2.6 ~ 6.6. Support Open Harmony 3.0.8 ~ 5.0. Web Address http://xrefandroid.com/ Why Use XRefAndroid ? 1.Supports indexing different versions...
🌐
Reddit
reddit.com › r/androiddev › several ways to read android source code online
r/androiddev on Reddit: Several ways to read Android source code online
December 20, 2024 -

1. https://cs.android.com/

Google official.

Advantages: Fast speed, supports the latest code, and can view historical modification records.

Disadvantage: It is not very convenient to read the specified version.

2. http://androidxref.com/

Advantages: Easy to use, can specify branches.

Disadvantage: Only supports up to 9.0

3. http://xrefandroid.com/

Advantages: Same as AndroidXref, but supports up to 15.0

Disadvantage: I think this is the best one, the only downside is that it doesn't support Android Master branch.

🌐
GitHub
github.com › scoute-dich › browser
scoute-dich/browser: A simple Android webbrowser based ...
Contribute to scoute-dich/browser development by creating an account on GitHub.
Author   scoute-dich
🌐
ProTech
protechtraining.com › blog › post › tutorial-diving-into-android-source-code-721
Tutorial: Diving into Android Source Code - ProTech Training
December 17, 2013 - If your daily browser preferences lie elsewhere, I'm hopeful that exposure to these tools will cause you to reconsider (at least while you are developing). The first tool is the Android SDK Reference Search by Roman Nurik.
🌐
Codester
codester.com › home › app templates › android › applications › webview
Fast Browser - Full Android Source Code by SourceNoman
March 22, 2021 - Fast Browser - Full Android Source Code. Fast Browser is a free and professional fast browser android .
🌐
Google
android.googlesource.com › platform › packages › apps › Browser
platform/packages/apps/Browser - Git at Google
Sign in · android / platform / packages / apps / Browser · Clone this repo: · Branches · donut-release · donut-release2 · eclair-passion-release · eclair-release · eclair-sholes-release · eclair-sholes-release2
🌐
Google Groups
groups.google.com › g › android-platform › c › e-FmxaMyCB8
Good IDE for code browsing
Have you tried Android Studio? https://stackoverflow.com/questions/16727607/can-we-use-android-studio-for-aosp-development tells how to pull in all the sources from AOSP into Android studio.
🌐
GitHub
github.com › kiwibrowser › src
GitHub - kiwibrowser/src: Source-code used in Kiwi Browser for Android · GitHub
Kiwi Browser is a fully open-source web browser for Android. Kiwi is based on Chromium. Easily switch to Kiwi without having to painstakingly learn a new interface or break your existing browsing habits.
Starred by 3K users
Forked by 441 users
🌐
Patrick Coombe
patrickcoombe.com › home › how to view website html/css source code on android
How to view website HTML/CSS source code on Android
June 3, 2025 - To do so, all you need to do do is go to Chrome and within the URL / location bar enter: view-source:http://www.example.com · Once you do that Chrome will display the source code right within the browser: So if you are viewing a website and want to view the source code, just replace the “http” with “view-source” ...