Re: [fpc-other] target Android 10 (API level 29) and ppcjvm classescompatibility

2021-08-01 Thread Jonas Maebe via fpc-other
On 11/07/2021 16:30, Mgr. Janusz Chmiel via fpc-other wrote:
> I Am using Android25 Pascal header files, because Android29 Api headers
> do not support some Pascal source code lines when overide word is being
> used.
> 
> Sure, I know, that Pascal systém libraryes are still generated by using
> Android 15 Pascal header files. But formally, The Google Play
> requirements are satisfied. Because I have used android29 target APIS to
> build classes.

Indeed, that should be fine. The FPC run time library only uses very
basic Java APIs, which normally will not change between different
Android versions. So you should always be able to use the standard FPC
run time library in combination with newer versions of the Android API
headers without any problems.


Jonas
___
fpc-other maillist  -  [email protected]
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-other


Re: [fpc-other] target Android 10 (API level 29) and ppcjvm classescompatibility

2021-07-11 Thread Mgr. Janusz Chmiel via fpc-other
I have A good news. For all of us who would like to code in Pascal by using 
Pandroid for Windows package available on Github here.

https://github.com/zeljkoc/PandroidPackage


By default, Android 15 target is being used as a target. It is not very 
pleasant, if you plan to publish on Google Play. It is necessary to compile by 
using Android 29 API target as a minimum target Android API.
Fortunately for Me, complex issue did not occur. So you only have to modify 
pandroid.ini. And You must specify Android 29 target by editing this .ini file. 
You must add Android29 folder content from predownloaded Android SDK folder 
tree to The
\pandroid\sdk\platforms

I Am using Android25 Pascal header files, because Android29 Api headers do not 
support some Pascal source code lines when overide word is being used.
Sure, I know, that Pascal systém libraryes are still generated by using Android 
15 Pascal header files. But formally, The Google Play requirements are 
satisfied. Because I have used android29 target APIS to build classes.
___
fpc-other maillist  -  [email protected]
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-other