From mgr.janusz.chmiel at gmail.com Sun Feb 2 14:08:22 2025 From: mgr.janusz.chmiel at gmail.com (Mgr. Janusz Chmiel) Date: Sun, 2 Feb 2025 14:08:22 +0100 Subject: [fpc-other] *** SPAM *** please help Me to find android package building system for android apps created by using ppcjvm In-Reply-To: References: Message-ID: 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. From XHajT03 at hajny.biz Mon Feb 3 11:32:53 2025 From: XHajT03 at hajny.biz (Tomas Hajny) Date: Mon, 03 Feb 2025 11:32:53 +0100 Subject: [fpc-other] please help Me to find android package building system for android apps created by using ppcjvm In-Reply-To: References: Message-ID: 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" To: Jean SUZINEAU via fpc-other Copy: "Mgr. Janusz Chmiel" Reply-To: Other FPC related discussions 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 From jean.suzineau at wanadoo.fr Mon Feb 3 13:16:40 2025 From: jean.suzineau at wanadoo.fr (Jean SUZINEAU) Date: Mon, 3 Feb 2025 13:16:40 +0100 Subject: [fpc-other] *** SPAM *** Re: please help Me to find android package building system for android apps created by using ppcjvm In-Reply-To: References: Message-ID: I think it's my fault. When i replied, I did'nt saw that my email provider added ***SPAM*** in the subject, i think it polluted all the subsequent remplies Le 03/02/2025 ? 11:32, Tomas Hajny via fpc-other a ?crit?: > they were all marked as "SPAM" in the Subject field (for some reason > unclear to me) From jean.suzineau at wanadoo.fr Mon Feb 3 13:18:59 2025 From: jean.suzineau at wanadoo.fr (Jean SUZINEAU) Date: Mon, 3 Feb 2025 13:18:59 +0100 Subject: [fpc-other] please help Me to find android package building system for android apps created by using ppcjvm In-Reply-To: References: Message-ID: <5ea1ffe8-f2cb-4afe-8122-b6f05bb92039@wanadoo.fr> I think it's my fault. When i replied, I did'nt saw that my email provider added ***SPAM*** in the subject, i think it polluted all the subsequent remplies. I have to manually remove *** SPAM *** in the subject for some messages on the freepascal lists Le 03/02/2025 ? 11:32, Tomas Hajny via fpc-other a ?crit?: > they were all marked as "SPAM" in the Subject field (for some reason > unclear to me)