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

Tomas Hajny XHajT03 at hajny.biz
Mon Feb 3 11:32:53 CET 2025


Dear Janusz,

I'm not sure that your messages reached the right people. :-( First of 
all, they were all marked as "SPAM" in the Subject field (for some 
reason unclear to me), which might result in having them moved in the 
SPAM folder automatically in some cases. Second, I believe that messages 
directly related to programming in Pascal with FPC may be better suited 
to the fpc-pascal list and might find better/wider audience there. 
Unfortunately, I cannot help with your particular questions, because I 
have no experience with programming for Android.

Hope this helps

Tomas


-------- Original Message --------
Subject: Re: [fpc-other] *** SPAM *** please help Me to find android 
package building system for android apps created by using ppcjvm
Date: 2025-02-02 14:08
 From: "Mgr. Janusz Chmiel via fpc-other" 
<fpc-other at lists.freepascal.org>
To: Jean SUZINEAU via fpc-other <fpc-other at lists.freepascal.org>
Copy: "Mgr. Janusz Chmiel" <mgr.janusz.chmiel at gmail.com>
Reply-To: Other FPC related discussions <fpc-other at lists.freepascal.org>

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.

_______________________________________________
fpc-other maillist  -  fpc-other at lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-other


More information about the fpc-other mailing list