Lazarus

Programming => Operating Systems => Android-JVM => Topic started by: zeljkoc on May 02, 2020, 03:02:41 pm

Title: Package Pandroid for Lazarus
Post by: zeljkoc on May 02, 2020, 03:02:41 pm
Package Pandroid for Lazarus
https://github.com/zeljkoc/PandroidPackage

Create Application for Android
fpc jvm
Linux and Windows
Title: Re: Package Pandroid for Lazarus
Post by: Leledumbo on May 02, 2020, 09:47:47 pm
I see you commited the compiled .exe, why? And don't you think you need to explain the keystore folder? Or do you deliberately let everybody uses your key?
Title: Re: Package Pandroid for Lazarus
Post by: zeljkoc on May 02, 2020, 10:25:05 pm
My exe is for compiling apk and creating script (source to PandroidTools - https://github.com/zeljkoc/PandroidPackage/tree/master/zc_Pandroid/PandroidTools)
You can assemble the key yourself, I don't use it

https://github.com/zeljkoc/PandroidPackage/blob/master/zc_Pandroid/template/ant.properties
ant.properites change password new key
Title: Re: Package Pandroid for Lazarus
Post by: zeljkoc on May 03, 2020, 01:30:34 pm
I added template pandroidmodule
Bridge Activity and  arm-android
function and procedure
https://github.com/zeljkoc/PandroidPackage/tree/master/zc_Pandroid/template
Title: Re: Package Pandroid for Lazarus
Post by: PeterEvans on May 05, 2020, 01:16:11 am
I would like to know more about 'Package Pandroid for Lazarus'.
Is it possible to have some further information?
Perhaps point me in the direction of documentation?
Title: Re: Package Pandroid for Lazarus
Post by: zeljkoc on May 05, 2020, 06:47:59 am
My problem is writing documentation,
My english is google translate

The whole project has the source code.

Pandroid exe or pandroid for linux compiled from PandroidTools
1. Lazarus compiler calls before pandorid.exe and creates R.java and Rjava.pas, necessary for compiling Pascal classes.
2. The second part compiles the classes from the paskal code
3.  Lazarus compiler calls after pandorid.exe and makes a script to create apk, and create apk

"On linux it works fine and waits for compilation, which on windows i failed but make apk
If you do not compile the apk on Windows, they can be run android\BuildApk.bat , and see the compilation."
(Now it should work nicely on windows as well changed 09.05.2020)

Attached is the possibility of a template more for arm-android compilation, such as pandroidmodule,
making * .so then making  PandroidModule.jar and finally making PandroidModule.pas PandroidModule.inc for the compiler

The code from the pandroid example is the same, you can see in the example
https://github.com/zeljkoc/pandroid/tree/master/example
but cannot be directly loaded due to modified compiler paths

Title: Re: Package Pandroid for Lazarus
Post by: JiaXing on May 05, 2020, 08:15:28 am
My problem is writing documentation,
My english is google translate

Your English is perfectly understandable, though  :)
Title: Re: Package Pandroid for Lazarus
Post by: zeljkoc on May 05, 2020, 08:59:01 am
Thank you, JiaXing.

Glad to help with pandroid
Title: Re: Package Pandroid for Lazarus
Post by: PeterEvans on May 06, 2020, 01:52:09 am
Thank you zeljkoc for your reply.
Title: Re: Package Pandroid for Lazarus
Post by: zeljkoc on May 07, 2020, 06:35:40 am
add DemoSQLite
https://github.com/zeljkoc/PandroidPackage/tree/master/Demos/DemoSQLite

DemoSQLite shows automatic list creation, input forms, modification forms and deletion forms! The list can be scrolled, changing the color of the column, the size of the letters, etc. ...
Title: Re: Package Pandroid for Lazarus
Post by: zeljkoc on May 10, 2020, 08:27:56 pm
add
DemoFirebirdClient
https://github.com/zeljkoc/PandroidPackage/tree/master/Demos/DemoFirebirdClient

PandroidModule - arm-android
DemoFirebird - jvm-android
TinyPortal © 2005-2018