FPCJVM Android JVM target and Android 23.inc issue

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

FPCJVM Android JVM target and Android 23.inc issue

Mgr. Janusz Chmiel
Dear specialists,
I have fallen in to complex issue and I do not know how to solve that. I
can make myself happy thanks to Pandroid and his author, because I can
create, modify some really functioning apps for myself. But when I will
create some app myself completely from scratch and if I would like to
publish it on Google Play, I have found out, that Google Play support
minimum Android APi for Android 6.0. But.
Latest available Android.pas and AndroidR.inc is only for Android APi
22. Does somebody of you know some server, where newer header files
could be downloaded, so I will be able to publish some apps on future?
Sure. I must learn very much about programming, but I have really found
out, that Pascal language, units based on adding GUI objects without
position values is my real chance to make some useful programs, which
will look acceptably, if not nice or very nice also for sighted users.
But how to find newer Android header files for Android APi 6.0. And I
will have to fight with other much more complex issue. If target Android
API for 6.0 will produce usable code. And if ANT older version and older
version of Java JDK and JRE will be able to build .dex files from those
newer classes.
If I set Android target to 15, Samsung Galaxy chat and build in google
Play protect gives Me warning, that I use too old Android which do not
contain security patches.
Generating Android header file is not fully automated process. It is
necessary to make many manual changes. Delphi tool create JNI based
headers, so it is totally unusable for JVM Android target compilation.
Does somebody of us know The solution?
How complex would be to develop fully automated tool for generating
Android.inc and Android.pas files?
Thank you very much for yours advices.

_______________________________________________
fpc-pascal maillist  -  [hidden email]
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal