Recent

Author Topic: GetLazarus and Pandroid  (Read 6238 times)

zeljkoc

  • Full Member
  • ***
  • Posts: 100
    • Zeljko Cvijanovic
GetLazarus and Pandroid
« on: August 11, 2016, 02:13:58 pm »
GetLazarus and Pandroid work build android application

https://github.com/zeljkoc/pandroid/tree/master/FreePascal

DelphiFreak

  • Full Member
  • ***
  • Posts: 246
    • Fresh sound.
Re: GetLazarus and Pandroid
« Reply #1 on: August 12, 2016, 05:18:54 pm »
Hi,

I tried your installation on Linux Mint 18.

When I run "startlazarus" I get the error:  fpc.cfg is missing.
But if I look with the explorer into the folder /usr/local/pandroid/FreePascal/fpc/bin/ then I can see the file is really there.

Any idea what to do?

Btw:  On step: apt-get install gdb openjdk-7-jdk I had to change to openjdk-8-jdk. 7 seems not to be supported anymore on linux mint 18

And another question: do you know about laztoapk? https://sourceforge.net/projects/laztoapk/files/laztoapk_video.mp4/download

Regards,
Sam

Linux Mint 19.1, Lazarus 2.0, Windows 7&10, Delphi 7, Delphi 10.3 Rio

zeljkoc

  • Full Member
  • ***
  • Posts: 100
    • Zeljko Cvijanovic
Re: GetLazarus and Pandroid
« Reply #2 on: August 12, 2016, 06:38:23 pm »
start: /usr/local/pandroid/FreePascal/lazarus/lazarus.sh

1. linux Mint 18 I did not try.
my debian 8 32 bit and lxde to virtualbox
I'll try to install linux mint.

linux 32 work SDK


2. Not know about Laztoapk,  I think that could be put together


Pandroid :
1. Create All files to create apk
2. Compile file to apk
  - pandroid create targets and commpile : Pandroid (procedure Build_Apk(ACompPath, AProjPath, AJavaPackageName,  AProjFile, AFPCSrcDir: String);)

Hi,
My English Google translate

Compiler_Commands.png
and
Additions_and_Overrides.png


« Last Edit: August 12, 2016, 07:48:57 pm by zeljkoc »

zeljkoc

  • Full Member
  • ***
  • Posts: 100
    • Zeljko Cvijanovic
Re: GetLazarus and Pandroid
« Reply #3 on: August 14, 2016, 09:12:13 am »
Mint 18 32 bit compile apk.

Mint: linuxmint-18-mate-32bit.iso install to VirtualBox.

download pandroid and extracto to /usr/local

#: chmod 0777 -R /usr/local/pandroid

#: apt-get update
#: apt-get install openjdk-8-jdk
#: apt-get install gdb
#: apt-get install android-tools-adb
#: apt-get install ant
#: apt-get install mtp-tools

copy shorcut /usr/local/pandroid/FreePascal/lazarus.desktop to Desktop and start Lazarus


DelphiFreak

  • Full Member
  • ***
  • Posts: 246
    • Fresh sound.
Re: GetLazarus and Pandroid
« Reply #4 on: August 15, 2016, 07:56:11 pm »
Works! Great. Thank you.
Linux Mint 19.1, Lazarus 2.0, Windows 7&10, Delphi 7, Delphi 10.3 Rio