Looking under the Android hood
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!
Trackbacks
Use the following link to trackback from your own site:
http://journal.dedasys.com/trackbacks?article_id=1850
about {{count}} hours later:
Take a look at the 'jad' decompiler: http://www.kpdus.com/jad.html
about {{count}} hours later:
This should prove useful. I have been trying to explore the undercurrents of my android. thanks.
1 day later:
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.