The file android_method_index_09_12_01.tgz contains a set of files that provide an alphabetical index of constants, methods, and constructors for the Android SDK.
When discussing a programming problem, I have often been told
something like, “Oh,
you need to use the queryInstrumentation() method. Go
read its documentation.”
The person telling me this knows where to find that documentation, because he knows what class that method is in. You, dear reader, know what class it’s in. Every Android developer—except me—knows what class it’s in. What I need is an index that lists method names alphabetically so that I can find out what class a method belongs to. The Java SDK documents have something like this, and it is useful for those who haven’t completely memorized the Java API. If you have completely memorized the Android SDK documents, you don’t need this index for Android. Goodbye.
...then you are one of the handful of people who don’t know the API by heart, and may find this useful.
Go to the directory where your Android SDK lives (for me, that is /usr/local/android). Un-tar android_method_index_09_12_01.tgz. It will create a docs/reference/methods directory for you. Point your browser to that directory and open index.html.
I constructed the index files with a small Ruby program that reads in the current Android documentation files (in the reference directory) and collects their information. Thanks to the people who wrote Nokogiri, which made my life much easier.
There are some problems with the documentation HTML files.
<body> tag.</table>
tag for some of the tables with class="jd-sumtable". (Perhaps all
of them have this problem; I know the ones I looked at did.)This is a one-shot program that I wrote so that I would have an index. I wrote it to please myself, so I cannot guarantee that you will be pleased also. I probably won’t be doing a lot more development on this code, but you have the source code (it’s in the tar file), so have at it. If you have comments or questions, please direct them to me.