[fpc-pascal] fpc code for Java class and Android.

fredvs fiens at hotmail.com
Sat Apr 15 21:14:31 CEST 2017

Jon Foster wrote
> The only thing that console apps need is a terminal emulator. 

Huh, yes, when I re-read my mail, I see directly that this will be the
The "One only library-method used by the Java Class" needs of course a
terminal to show his output.

Jon Foster wrote
> Linux (Android kernel) only runs executables from a file system that 
> allows you to set the "execute" permission

For Java-native libraries too ?

Jon Foster wrote
> Android *only* launches Dalvik (Java) based apps so if packaging you 
> have to provide some kind of Java based wrapper anyways.

Yes, of course the trick needs a Java main class app that will execute only
one main-method from the fpc-Java_Native library.

Jon Foster wrote
> Right now I'm looking over fpGUI with an eye to porting it to Android to
> make a 
> more sane environment.

Of course this is the solution who will make all others obsolete (even those
using Jni.pas).


Many thanks ;-)
View this message in context: http://free-pascal-general.1045716.n5.nabble.com/fpc-code-for-Java-class-and-Android-tp5728166p5728276.html
Sent from the Free Pascal - General mailing list archive at Nabble.com.

More information about the fpc-pascal mailing list