[fpc-pascal] Re: Android JNI failing in Galaxy S4

md at rpzdesign.com md at rpzdesign.com
Wed May 22 13:50:00 CEST 2013

Are you saying that you are writing JNI routines in Pascal for android?

If so, can you post some of the things like the pascal header files you 
use to allow for the creation of the .so files
so that Java can call into pascal across the JNI interface.

I have 2 projects that I need Pascal talking across the JNI interface.  
1 for Mac OSX where I need pascal to call a JNI library
and another Android where I need Java to call freepascal library (NDK)

Thanks for any information you can share,


On 5/21/2013 12:52 PM, Felipe Monteiro de Carvalho wrote:
> Oh, forget it. Someone answered in android-ndk group: I had a typo in
> another JNI routine which caused the problem.
> It seams that the new Android checks all JNI routines at startup.
> Older ones checked the routines only when they were utilized, so would
> only crash when it was utilized.

More information about the fpc-pascal mailing list