Three ways to view Android source code online

Source: Internet
Author: User

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/

Both of the above are directly accessed through a third-party website,Here we will talk about the following method:


3. A chrome kernel browser plug-in:Android SDK reference search

This plug-in can be searched directly in the extension center

Https://chrome.google.com/webstore/search/Android%20SDK%20Reference%20Search%20

After installing this plug-in, you can go directly to the android API official network: http://developer.android.com/reference/packages.html

Search for a class: for example, activity: http://developer.android.com/reference/android/app/Activity.html

Then we can see that there are multiple (View Source) after aitivity, as shown below:


Click View Source to go directly to the official online website provided by Google.Source codeLocation:

Https://android.googlesource.com/platform/frameworks/base/+/refs/heads/master/core/java/android/app/Activity.java

Original article:Http://blog.blundell-apps.com/add-source-code-links-to-android-apis/


Note: Today I changed my browserThe extension center cannot be searched ~~~

Https://chrome.google.com/webstore/detail/android-sdk-reference-sea/hgcbffeicehlpmgmnhnkjbjoldkfhoin

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.