[fpc-other] *** SPAM *** please help Me to find android package building system for android apps created by using ppcjvm

Mgr. Janusz Chmiel mgr.janusz.chmiel at gmail.com
Sun Feb 2 14:08:22 CET 2025


I have been really done my best to replace FPCJM and Pandroid by LAMW.
But unfortunately, I can not always move The component by using The 
component dialog window build in to Lazarus.
When I create new Lamv project when I do not want to modify or compile 
one of The previously created project by using older LAMW versions, I 
can build .apk packages without issues at all.
Problem is also, that If I want to make my GUI so it would be usable by 
a sighted person, I must manually add special series of lines to The 
unit1.pas source file, so my work is double.
More over, The cthreads unit causes crash when i have loaded libbas.so 
library. Older version of Lamv worked as it should, The newest one 
causes AN crash.
So in short, FPCJVM and Pandroid is still my preferred approach to make 
Pascal fully functional application with no need to make double work.
But I Am really helpless to generate Android 33 or Android34.inc and 
.pas files.
What did i do to success?

I have copyed libraryes from The JRE from The same Java version which is 
The part of Pandroid package for Windows to The same folder, where 
android.jar resides.
java version "1.7.0_79"
Java(TM) SE Runtime Environment (build 1.7.0_79-b15)
Java HotSpot(TM) Client VM (build 24.79-b02, mixed mode)

I have setup Path environment variable for user and also for system so 
it has pointed to The Bin directory with JRE, not with JDK.
But I Am getting The following error for now.

ERROR:Could not find com/touchgraph/graphlayout/GLPanel
  I have tried to generate Android 33 .pas and .inc header files.
I have used The javapp.jar which is The part of
laz4android3.4

If someone would have some spare time, I Am ready to learn to generate 
Pascal herader files if someone would have A good will to learn Me this 
complex task.

I have even found special Delphi commercial tool which is capable to 
generate JNI based Android API functions units. Unfortunately, Delphi 
want much Euros to use their generated header files, because it is 
necessary to call their special .pu unit which is very probably also 
commercial so it will never work free of charge.

FPCJVM and Pandroid allow users to use layouts with no need to specify 
every GUI element coordinates.
More over. Apache Ant is much more faster than Gradle.
I really want to generate header files myselves. The other problem with 
resources to allow Android 34 to work with pandroid is next complex 
task. But I must go step by step and slowly.
Thank you for your tips on professional articles or thank you for 
someone, who would try to learn Me to generate .pas and .inc header files.



More information about the fpc-other mailing list