Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Catalog · How the catalog works

Random project

PandroidPackage

Package for Lazarus , Create android application

View on GitHub

Anyone may press Interesting, signed in or not. It helps others find this project.

Member rating

No ratings yet.

Sign in to rate this project.

README

Info

Configure ini file: pandroid.ini

Change keystore/zeljus.keystore and to correct template/ant.properties

You need to install

Exampl: (openjdk-8-jdk and apache ant)

Debiana buster lxde 64 bit

#: apt-get install wget

#: wget -qO - https://adoptopenjdk.jfrog.io/adoptopenjdk/api/gpg/key/public | sudo apt-key add -

#: nano /etc/apt/sources.list

deb https://adoptopenjdk.jfrog.io/adoptopenjdk/deb/ buster main

#: apt-get update

#: apt-get install libgtk2.0-dev gdb adoptopenjdk-8-jdk android-tools-adb ant mtp-tools aapt zip git

#: update-alternatives --config java

(set openjdk-8-jdk)

for lazarus cross compile (laz4android)

  • [x] jvm-android (android vizual create AWLinearLayout, AWButton, AWEditText, AWTextView, ...; include *.jar file)
  • [x] arm-android or aarch64-android (not vizual component, pascalscript, indy, ...)
  • [x] ndk for arm-android and aarch64-android

Pandroid exe or pandroid for linux compiled from PandroidTools

  • Lazarus compiler calls before pandorid.exe and creates R.java and Rjava.pas, necessary for compiling Pascal classes.
  • The second part compiles the classes from the paskal code
  • Lazarus compiler calls after pandorid.exe and makes a script to create apk, and create apk

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

Component overview

Screenshot

License

  • PandroidPackage is released under Mozilla Public License 2.0 (MPL-2.0)

Autor

  • Made by Željko Cvijanović and Miran Horjak

www.zeljus.com