Recent

Author Topic: Package Pandroid for Lazarus  (Read 1367 times)

zeljkoc

  • Full Member
  • ***
  • Posts: 127
    • Zeljko Cvijanovic
Package Pandroid for Lazarus
« 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

Leledumbo

  • Hero Member
  • *****
  • Posts: 8279
  • Programming + Glam Metal + Tae Kwon Do = Me
Re: Package Pandroid for Lazarus
« Reply #1 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?

zeljkoc

  • Full Member
  • ***
  • Posts: 127
    • Zeljko Cvijanovic
Re: Package Pandroid for Lazarus
« Reply #2 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
« Last Edit: May 03, 2020, 10:58:37 am by zeljkoc »

zeljkoc

  • Full Member
  • ***
  • Posts: 127
    • Zeljko Cvijanovic
Re: Package Pandroid for Lazarus
« Reply #3 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

PeterEvans

  • New Member
  • *
  • Posts: 14
Re: Package Pandroid for Lazarus
« Reply #4 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?

zeljkoc

  • Full Member
  • ***
  • Posts: 127
    • Zeljko Cvijanovic
Re: Package Pandroid for Lazarus
« Reply #5 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

« Last Edit: May 09, 2020, 07:12:33 pm by zeljkoc »

JiaXing

  • Jr. Member
  • **
  • Posts: 75
Re: Package Pandroid for Lazarus
« Reply #6 on: May 05, 2020, 08:15:28 am »
My problem is writing documentation,
My english is google translate

Your English is perfectly understandable, though  :)
« Last Edit: May 05, 2020, 08:44:12 am by JiaXing »
I'm subscribed to the church of 440bx. Say no to OOP  :P

zeljkoc

  • Full Member
  • ***
  • Posts: 127
    • Zeljko Cvijanovic
Re: Package Pandroid for Lazarus
« Reply #7 on: May 05, 2020, 08:59:01 am »
Thank you, JiaXing.

Glad to help with pandroid

PeterEvans

  • New Member
  • *
  • Posts: 14
Re: Package Pandroid for Lazarus
« Reply #8 on: May 06, 2020, 01:52:09 am »
Thank you zeljkoc for your reply.

zeljkoc

  • Full Member
  • ***
  • Posts: 127
    • Zeljko Cvijanovic
Re: Package Pandroid for Lazarus
« Reply #9 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. ...

zeljkoc

  • Full Member
  • ***
  • Posts: 127
    • Zeljko Cvijanovic
Re: Package Pandroid for Lazarus
« Reply #10 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