Original: http://blog.csdn.net/chuekup/article/details/8067075
1. https://github.com/android
2. Http://grepcode.com/project/repository.grepcode.com/java/ext/com.google.android/android/
The above 2 kinds are directly accessed through the third-party website, here the main talk about this method:
3. One Chrome kernel browser plugin:Android SDK Reference Search
This plugin can be searched directly into the extension center.
Https://chrome.google.com/webstore/search/Android%20SDK%20Reference%20Search%20
After installing this plugin you can go directly to the Android API official website: http://developer.android.com/reference/packages.html
To find a class casually: for example Activity:http://developer.android.com/reference/android/app/Activity.html
And then we can see that there's a lot more behind the aitivity (view source), as follows
By tapping (view source), you can jump directly to the online official source code provided by Google:
Https://android.googlesource.com/platform/frameworks/base/+/refs/heads/master/core/java/android/app/Activity.java
Original link: http://blog.blundell-apps.com/add-source-code-links-to-android-apis/
Note: Today changed a browser in the extension center to search incredibly not come out ... So direct Google, the first link opens can ~ ~ ~
Https://chrome.google.com/webstore/detail/android-sdk-reference-sea/hgcbffeicehlpmgmnhnkjbjoldkfhoin