Looking under the Android hood
Posted by David N. Welton Mon, 18 Feb 2008 17:15:00 GMT
Here's one way of having a look under the android hood:
mkdir /tmp/android/
cp .../android.jar /tmp/android
cd /tmp/android
unzip android.jar
... lots of files unzipped ...
for c in `find android/ -name "*.class" | sed -e 's/.class//'`; do nice javap "$c" ; done > androidclasses.txt
That gives you a nice dump of all the classes available. It's a useful way to get an idea of some of the under the hood capabilities of Android. Perhaps someone wiser in the ways of Java hacking can suggest even better ways of accomplishing the same thing.
Of course, anything that's not officially documented is liable to change!

Take a look at the 'jad' decompiler: http://www.kpdus.com/jad.html
This should prove useful. I have been trying to explore the undercurrents of my android. thanks.
It's much easier to create a simple Java project in Eclipse, add the JAR as lib to the build path so you can browse the packages and classes directly from within Eclipse. If you have jadclipse (Eclipse Plugin for JAD, the java decompiler) installed you can view the whole source within the IDE.