Feb 22, 2013

Android API document linked with the source code

Hello guys,

I found interesting things today, While reading Android API document,  I found (View Source) link beside class name. Now It is very easy to quick look of class/source code from API document.

Let's check source code of Activity class.

Step 1: Open following link in your browser
http://developer.android.com/reference/android/app/Activity.html



Step 2: Click on View Source link beside Activity

If you don't see View Source link then install "Android SDK Reference Search" Chrome Extension

Step 1: Open following link
https://chrome.google.com/webstore/detail/android-sdk-reference-sea/hgcbffeicehlpmgmnhnkjbjoldkfhoin


Step 2: Click "Add to chrome", after installation open following link to verify extension
chrome://extensions/