[fpc-pascal] Working Free Pascal android JNI example
Reimar Grabowski
reimgrab at web.de
Fri Jul 2 02:11:05 CEST 2010
On Sun, 27 Jun 2010 09:50:35 +0200
Benjamin Jan Alexander Rosseaux <benjamin at rosseaux.com> wrote:
>
> Hello,
>
> I've done a working Free Pascal android JNI example (with working .apk
> for current ARM-based Android device of the second device generation
> (because with VFPv3, so Motorola Droid/Milestone, HTC Desire, Nexus One,
> Samsung Galaxy S, and so on) inside)
This sounds very interesting. I only played a little with FPC and Android, meaning I build the crosscompiler (which was quite easy) and tested some simple command line stuff. Of course I could not build .apks so my programs had to be uploaded and started via adb, but at least they worked fine.
Unfortunately I currently have no time to play around with your code, but I will as soon as I can.
From your mail it is not clear which ld and as you used. I just took them from the Android NDK, you too?
Did you try if gdb and gprof are working?
All in all great work and perhaps you can claim the bounty:
http://wiki.lazarus.freepascal.org/Bounties#Cross-Compile_to_Android_on_Ubuntu_X64
My compiler runs on Ubuntu64, so yours should too and with JNI you are able to build real .apks which I think is good enough to claim the bounty.
Thanks for showing us
R.
--
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
More information about the fpc-pascal
mailing list