[fpc-pascal] bundle tool and app bundle

2021-07-27 Thread Mgr. Janusz Chmiel via fpc-pascal
It should be possible to create App bundle file by using instructions 
available here.



https://developer.android.com/studio/build/building-cmdline

In The article session formatted as Heading number 4 named Build your 
app bundle using bundletool


Sure, it would had to be necessary to automate some tasks by using .bat 
or Sh script related to file copy to specific new folder. But for my 
personal needs, .apk format is The best choice, since app bundle format 
is not suitable for installing apps on The Android devices. It is 
intermediate format used by Google so they can sign and create .apk 
themselves according to GOogle policy. So it is possible to 
automatically generate .apk files for various devices and Android versions.



___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal


[fpc-pascal] ppcjvm android30 target and recompilation of pascal units

2021-07-27 Thread Mgr. Janusz Chmiel via fpc-pascal

Dear specialists,

    Because Google  require that every developer, who would like to 
publish on Google Play store must build his apps by using Android 30 
target, there is A question. Is it necessary to build PPCJVM Android 
target units such as system.pu to use this newest Android target 30? Or 
it is not necessary? I have tried to use older generated units and there 
was no problem, when I have used Android 31 target, because 31 Android 
platform can be automatically downloaded by using latest Android studio 
when running it after installation.


Unfortunately, there is very big issue, which can prevent developers to 
use PPCJVM to create apps for Play store. Google also require, that 
programmer will publish app by using new format called Android App Bundle.


Thank you very much for yours questions related to recompilation of 
system unit and other.


I do not assume, that Android studio code will allow us to simply put 
.class files or other files somewhere generated by PPCJVM or Apache Ant 
and simply create app bundle for us from other code than The code, which 
have been created from Android Studio. May be, that there could be some 
work around, but I do not know about it.



___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal