[fpc-other] who of us could try to improve javcl project
Mgr. Janusz Chmiel
janusz.chmiel at volny.cz
Sun Aug 9 16:18:36 CEST 2020
Dear MR Barth,
Thank you for yours kind answer. I Am very sad, that you are not my
father. Because if you were my father, we could learn all secrets of PPCJVM
and Android API functions together. I have do my best to always appreciate
all authors of opensource software. Lamw have many advantages and it will be
very probably The most successfull Pascal bundle, because it uses attractive
visual designer for The sighted majority.
As A contrast, because not all Androoid API functions can be only accessed
by using JNI, because some Android API functions need to relay on some tasks
on The background, The Pandroid bundle is The most universal project
available.
I only have to learn several procedures names and those parameters and its
order to develop excellent apps. I only have to be patient and I must do my
best to not be lazy.
The reality is, that thanks to Pandroid, author MR swianovic, we have been
able to create simple but powerful radio player which even autodetect
incoming phone calls. I have tested it for Android 6, 8 and 9 operating
system. The excellent fact is, that GUI creation routines build in to
Pandroid units are really very universal. And that I can really code without
using number position values.
I have debated with MR Pessoa, with The main author of Lamw. Unfortunately,
his projects is strictly based on .lfm forms. I would had to code lfm forms
from head to have success. And atleast first GUI element must have all its
position numbers assigned.
But I will continue to use Pandroid packge for Windows. Because it work for
my personal needs. My most painful problems will be always with Android API
functions. Some of them may be not created correctly in Android Pascal
header units. Some of them require Java language knowledge to use them
correctly.
But since I do not see at all. What I will need mostly?
Android media player, Bass.so native library, and AndroidR25 APIS, which are
very robust. I can even use ignore battery ptimisation dialog. Sure. FInding
The code which will recal its simple form is not easy task, but I have
something to think about so I will not be sad because I have something
useful to think about.
So dear MR Barth, thank you again for yours time and for yours kind access
to all of my pleas.
Pascal language is making me really very big joy on my life. Because created
Classes code is reliable. If app gets unstable, it is always The bug of some
human being. But compiler produces really reliable Classes. Which are
compatible even with Android 9 and newer.
Unfortunately, there will come time, when it will be necessary to reprogram
RTL units to work with Android 10 or 11. For now, fortunately, GUI creation
routines work with ANdroidR25. And build in Android 9 warning about using
old Android targets is not making troubles, if I will use AndroidR25 target
APIS.
My mother have very big joy with my little radio player. Memory allocations
are also very good. App do not consume too much CPu time.
If I would want to save The future of Pascal programming for Android, I
would had to study hard to develop reliable Android APi headers generator,
which will really generate 100 % working Android Pi header files. I would
had to develop some automated testing tool for such purposes.
But it is far future for now.
More information about the fpc-other
mailing list