We all know that the document is good to write, of course, it is very comfortable, but sometimes the document is better than directly to see the source directly, since Android is open source, why not in eclipse directly see its source?
1. Download the source code
This part of the internet has a lot of information, I will not re-write
2. Associating source code in eclipse
People who commonly use eclipse should also be familiar with the operations associated with source code in eclipse.
First, find the Android.jar in the project, right-click →properties
Second, select External folder to associate to external folders
Third, select the% storage source directory%/base/core/java→ok. This completes the operation of the associated source code.
Four, Ctrl-click the class name or interface name to view the source code.
Done! In the future to see the document do not understand the content will not be afraid, we can directly read the source
Download and associate Android source in eclipse