[fpc-devel] FPC-JVM: Status report on Android
Sven Barth
pascaldragon at googlemail.com
Mon Aug 29 10:09:13 CEST 2011
Am 29.08.2011 09:58, schrieb Michael Schnell:
> On 08/27/2011 05:43 PM, Sven Barth wrote:
>>
>> So it is definitely possible to run FPC JVM code on Dalvik, it's just
>> not working perfectly currently...
>>
> Sorry if this is a stupid question from still-JAVA-ignorant:
>
> How did you manage to move from the 8 bit SUN Java bytecode to the 16
> bit Android /Dalvik code ?
The same way as every other Android-JAVA developer does: Using the tool
supplied by the SDK.
The point is this: All available classes of the SDK are in the normal
bytecode format, so that you can use "javac" to compile your code. After
you've compiled everything you use the tool "dx" to convert all your
".class" files to one ".dex" file. It's part of the normal Android
development workflow. ;)
Regards,
Sven
More information about the fpc-devel
mailing list