Downloading the Android javadoc

There are 4 ways to get access to the Android javadoc:

1. Online access

The most obvious solution: the online documentation is here.

 

2. Downloading it using the Android SDK Manager

This one is not so obvious since you would expect the javadoc for the 2.3.3 API to be located under the “Android 2.3.3 (API 10)” section.

It is not: you need to download the documentation for the latest Android API version. In my case, it is Android 4.1:

This essentially downloads a copy of the online documentation to [ANDROID_SDK_HOME]/docs. From there, you can filter by API level exactly like in the online documentation.

 

3. Downloading the javadoc from mavencentral

That’s the only way to download an “official” javadoc.

Go to Maven Central and search for “com.google.android” (or click here) and you’ll get access to tha javadoc for each release. For example, the javadoc for Android 2.3.3 is here.

As an added bonus, this page will tell you how to determine the API level corresponding to your Android version.

 

4. Downloading the javadoc in CHM format

Not really an alternative option, but rather an alternative format that makes browsing more easy: http://code.google.com/p/android-chm-documentation/

Laurent KUBASKI

About these ads

4 Responses to Downloading the Android javadoc

  1. Pingback: Android documentation in CHM format « The skying cube

  2. r.s. says:

    That was very helpful. Thanks. Been looking for android javadocs all morning.

  3. Andrew says:

    ou can find the pdf’s for most sections here The website has been split into sections for each book.

    http://www.docand.com/

    Design ………………….. http://docand.com/android-design-methods-book/
    Training…………………. http://docand.com/training-in-android-book/
    Android Components………… http://docand.com/a-guide-to-android-api-components-book/
    Google Services…………… http://docand.com/android-google-available-services-book/ Distribution Methods……….. http://docand.com/android-distribution-methods-book/
    Tools of the Android Developer http://docand.com/tools-of-the-android-developer-book/
    The sections are all available as a preview and as a download for free.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

%d bloggers like this: