作為一個android coder,多閱讀android源碼對提高android開發水平是很有幫助的,那么我們可以通過哪些途徑查看android源碼呢
1.如果你能夠翻牆的話可以去android官網查看源碼 http://developer.android.com/reference/packages.html

2.http://androidxref.com/5.0.0_r2/



androidxref 還可以查看android的所有版本,只需將 http://androidxref.com/5.0.0_r2 的后綴5.0.0_r2 改成相應的版本即可
3、http://grepcode.com/project/repository.grepcode.com/java/ext/com.google.android/android/

跟androidxref 一樣,grepcode也可以查看android的各個版本,速度比androidxref 要快
4.https://android.googlesource.com/?format=HTML

5、IDE中查看
在SDK manager中下載SDK對應的版本即可


