On Mon, Aug 29, 2011 at 11:42 AM, Michael Schnell <mschn...@lumino.de> wrote:
> That is why I am astonished that converting Java-Bytecode to Dalvik code
> should be an easy task.

Sven is correct. I didn't know this until now, but all Android
applications are first compiled using javac and then dex converts the
bytecode. Usually you don't have to care about this, because the Java
part is provided in source code and native code is compiled
differently, but in any Android standard build log you will see:

compile:
    [javac] Compiling 1 source file to
/home/felipe/Programas/lazarus-ccr/examples/androidlcl/android/bin/classes

-dex:
     [echo] Converting compiled files and external libraries into
/home/felipe/Programas/lazarus-ccr/examples/androidlcl/android/bin/classes.dex...

(striped of some lines)
-- 
Felipe Monteiro de Carvalho
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to