Configure ini file: pandroid.ini
Change keystore/zeljus.keystore and to correct template/ant.properties
You need to install
for lazarus cross compile (laz4android)
- jvm-android (android vizual create AWLinearLayout, AWButton, AWEditText, AWTextView, ...; include *.jar file)
- arm-android or aarch64-android (not vizual component, pascalscript, indy, ...)
- 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
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.
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
TTextView, TLabelTextView, TEditText, TLabelEditText, TButton, TLabelEditTextButton, TLabelButton, TButtonLabel, TButtonEditText, TImageButton, TCheckBox, TRadioGroup, TGridViewLayout
TValue, TField, TFieldDef, TCursorDataSet, TDataSetAddapter, TDBEditText, TDBTextView, TDBDialog, TDBGridViewLayout, TDBFindDialog, TDBLookupComboBox, TDBGridViewCheckedLayout
TDialog, TTimePickerDialog, TDatePickerDialog, TUserNamePasswordDialog, TEditFileDialog, TTextEditDialog, TYesNoDialog
AZCForm, AZCHorizontalForm, THederForms
- pandroid is released under Mozilla Public License 2.0 (MPL-2.0)
- Made by Željko Cvijanović and Miran Horjak