-
-
Notifications
You must be signed in to change notification settings - Fork 71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
lets try to build Pandroid projects #29
Comments
This sounds fantastic @JanuszChmiel; Please keep us updated of progress! |
Facinating!
|
These extra steps can save gigabites of data:
|
Unfortunately it will stay only my big dream.
Who would recode Java 6 to run with Termux with no Proot? Only in this case, if An app is directly executed without Proot app is fast enough. Like yours Build apk software, it very probably do not use Linux distro.
If Apache Ant would not be simply replaced by other commands or environment, it will be impossible to build on Termux.
I like Pascal so much because it is procedural language. Author of Pandroid has shown Me some commands how to create GUI without using number to specify object position values.
Produced code do not cause memory leaks.
|
These commands want a These commands want the Do you know where the |
Have you tried these commands? |
Please try
After using |
|
*Do you know where the |
Lib.jar is really not A part of Pandroid tree, I have downloaded whole tree.
I will install your build apk. And I will send a string, which Pandroid for Windows send to FPC compiler to generate .class file, I think, that it will be much easier to understand The compilation process from The perspective of Windows, and foldernames can be changed.
|
Here is template.zip. It is from Pandroid for Windows. But never mind, because Pandroid package master, Windows variant is easily to understand how are .pas sources compiled to .class and to .dex format. |
Sure. Normal users uses this package by using Lazarus. Some advanced would had to reprogram FPC latest stable to be compatible with Termux. Because to build sources it would be necessary to use FPC compatible with Termux. I will try to kindly ask MR Pliush for help. Deep libraries and C language knowledge is required for this task. |
These newly created scripts attempt to automate the build process:
Feedback regarding these newly created scripts is requested. |
It is interesting. It do not work. I AM doing something wrong. I have installed apk builds. Very interesting. I have typed curl -O https://raw.githubusercontent.com/SDRausty/buildAPKs/master/setup.buildAPKs.bash bash setup.buildAPKs.bash So what should I type now to continue please? I Am not so professional like you are, so thank you for your patience dear MR Rausty. |
Dear kind MR Rausty,
First of all, I would like to express to you The deepest respect possible. And my deepest possible appreciation to your programmer's knowledge.
Your project is revolutionary and really, it can build many Java-based repositories based on Apache ANT or Eclipse. The issue is, that Pandroid works differently.
It uses a special little app compiled by Pascal compiler which generates a special file with some Hexadecimal classes.
Then PPCJVm must translate .pas sources or .lpr and .inc Pascal sources to Java classes .class file. Then Jasmin.jar, an old but still fully functional Java assembler assembles those Java classes. Then Apache Ant builds those classes to .dex format.
The Advanced Free Pascal programmer has given The following instructions to Me related to PPCJVM for Android.
***@***.***/msg01659.html
|
I cannot get more than one of these APKs to build; How about you? |
Sure, because I have made big error. It was A wrong idea from Me to open this issue related to APK uilder. Because. Sample Projects are generated thanks to Lazarus, special pandroid Binary module and PPCJVM.
It is not clean Java project to build.
Try to imagine, that all files in classes folder will be removed. It is necessary to combine PPCJVM with Android building tools.
|
Stale issue message |
Pandroid is special Pascal language bundle available for Linux and Windows. The advanced programmer uses it to make special database application for his professional working. He has brought The possibility to code in Pascal programming language with no need to work with A separate .xml files to create GUI on The screen. I will upload A sample project, which will only create empty window. But it is A good Pandroid project template. My plan is very realistic. I would like to combine Bash script with special GTK based dialog system to create helper script which would combine yours apk builder with Pandroid.
The following experiment will begin on my flat now.
I will download Pandroid bundle for Linux not for Windows, since bitecode of SDK build tools is very probably different between SDK for Windows and Linux.
Issues are as follows.
Apache ant used to create .apk packages from Pandroid project do not support newer Java than version 7. It is known limitation of The Apache ant and can not be simply solved, because even core developers of Apache Ant do not try to solve this issue.
Unfortunately, it is very unlikely, that someone will obtain Openjdk 7.0 source and would try to make it so stable and reliable from Termux without Proot like todays Open jdk 11.0 is available. It seems to Me, that someone has made it very stable and that someone had to modify its source code.
So what about triing to replace Apache Ant by using APk builder script to build .dex and apk package?
Project is available here.
https://github.com/zeljkoc/Pandroid
git clone https://github.com/zeljkoc/pandroid.git
And I will upload shell script to build .apk as soon as possible. We need to find out how to replace Apache ant by routine used by MR Rausty build apk routines if it will be possible to achieve this goal.
I will be able to use standard Android text editors and I would build .apk by using build apk from Termux.
I Am attaching build.sh and .xml files related to Apache Ant. Author has used Java version 1.6.
build_debug_apk.sh.txt
Sure, remove .txt from The file extension. I need to bypass Github routines.
build.xml.txt
All example projects can be found in The Examples folder. Project as Scrollview is ideal for testing.
The text was updated successfully, but these errors were encountered: