views:

154

answers:

3

as titled, like function calls, application behavior when running

A: 

The android development kit includes a disassembler. AFAIK, there are no to .class or to .java decompilers available at the moment.

jsight
+2  A: 

You have a few options.

"dexdump" is included with the SDK and is present on the device. With the "-d" option it produces a no-frills disassembly of the methods. The output format is intended to mimic the "--dump-to" output format of dx.

"smali/baksmali" is an assembler/disassembler for Dalvik bytecode. It's open source, and is probably the most complete solution.

"dedexer" is a disassembler that produces Jasmin-like output. It's also open source.

As far as I know, nobody has written a program that attempts to convert Dalvik bytecode to Java bytecode or source code.

fadden
A: 

Actually there is a tool to convert dalvik bytecode to java one: dex2jar . For now it crashes on most real applications, but could convert simple apps properly, so after using dex2jar & jd combo we get really good Java code. Also dex2jar is rapidly developing, it supports more and more cases.

Brutall