[fpc-pascal] FPC JVM Android more easy .so library calling command

Jonas Maebe jonas at freepascal.org
Tue Apr 16 22:52:10 CEST 2019


On 16/04/2019 22:41, Mgr. Janusz Chmiel wrote:
> Does somebody of you know about The possibility how to make call of 
> external .so libraries more easier? If developer will use ppcjvm, target 
> set to JVM and Android emulation?
> Java language have simple command for calling .so library. It would be 
> very very good, if it would be possible to add The similar simple usable 
> command to system unit or to some think similar.

It should work exactly the same as in Java, via 
JLSystem.loadLibrary('libraryname');

An overview of how the API has been imported (and other JVM-specific 
language features) can be found on 
http://wiki.freepascal.org/FPC_JVM/Language


Jonas



More information about the fpc-pascal mailing list