[fpc-pascal] VCL4J and its future

2021-07-31 Thread Mgr. Janusz Chmiel via fpc-pascal
Dear advanced professionals here, There are currently two big projects which empowering PPCJVM Android JVM target. It is Pandroid and VCL4J. While Pandroid is professionally finished project, which do its best to give programmers possibility to create Pascal apps which are able to communicate

[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

[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?

Re: [fpc-pascal] gritwiev layout issue

2021-07-23 Thread Mgr. Janusz Chmiel via fpc-pascal
Dear specialists,     I AM very sorry that I have spammed this mailing list by using my messages on HTMl format. Unfortunately, I can not find out, how to setup Microsoft E-mail Windows 10 app available on Windows store to send messages in plain text. So I have decided to communicate by using

[fpc-pascal] ppcjvm and android applications development

2021-07-21 Thread Mgr. Janusz Chmiel via fpc-pascal
The majority of Lazarus developers will very probably prefer Android apps development by using LAMW for many reasons. Core elite programmers, who are concentrated around this project are doing their best to bring their own high wquality form designer. Android APIS are specially called by using

[fpc-pascal] request ignore battery optimisation simple dialog recall plea

2021-07-21 Thread Mgr. Janusz Chmiel via fpc-pascal
I can not find out, how to recall simple form of ignore battery optimisation Android build in dialog. I do not want The complex dialog which consistsof many items such as list of allowed apps. Java developers of Termux Android application have made The following code to recall simple form of

[fpc-pascal] gritwiev layout issue

2021-07-21 Thread Mgr. Janusz Chmiel via fpc-pascal
I AM using Pandroid for Windows package available here.https://github.com/zeljkoc/PandroidPackageI need to setup The following XMl attributes to make Gritwiev to look more attractively.    android:layout_width="match_parent"    android:layout_height="match_parent"    android:gravity="center"   

[fpc-pascal] please where is fpc-3.2.0rc1.arm64-linux

2020-05-17 Thread Mgr. Janusz Chmiel via fpc-pascal
Dear specialists, Please is there some precompiled Linux ARM64 Binary of fpc-3.2.0rc1? Because I can only find ARM not ARM64 Bit precompiled binary. May be, that compiler is stored on some FTP site, but I have analysed ftp.freepascal.org and I did not found. Thank you for yours advice.

Re: [fpc-pascal] PPCJVM and Android Bionic compatibility question

2020-02-02 Thread Mgr. Janusz Chmiel via fpc-pascal
I Am very sorry. I have thought, that when I only change The subject of The message, so that it will start new thread. I will be careful on this. So instead pressinf reply to all on other thread, I will always type A new message. I Am very sorry, some times I forget on The mailing list techniques

[fpc-pascal] PPCJVM and Android Bionic compatibility question

2020-02-02 Thread Mgr. Janusz Chmiel via fpc-pascal
Dear specialists here, How complex would be to recode Free Pascal compiler for ARM and ARM64 Bit so it would be fully compatible with Android Bionic library, so it would be executed as A external app from some Android app which have GUI? Sure. There is even Termux which can run many Linux

[fpc-pascal] would be possible to create .dex file from PPCJVM .class files with no depend on App compat library

2020-01-29 Thread Mgr. Janusz Chmiel via fpc-pascal
Dear specialists, Does somebody of you know, if it would be possible to build functional Android app from PPCJVM created .class files which will not depend on App compat jar library? I have found two fully functional solutions, which do not used appcompat library. Scatter on GOogle Play named

[fpc-pascal] Talkback and detecting touch events

2019-09-17 Thread Mgr. Janusz Chmiel
Please would somebody of us try to tell Me, if Android API functions can detect how many fingers have been used to touch The display even while Talkback screen reader work ane Explore by touch service is communicating with display? I do not want to use graphical mode, since it require that

Re: [fpc-pascal] how to convert JNByteBuffer variable type to type usable by fw.write

2019-08-27 Thread Mgr. Janusz Chmiel
Thank you very much for yours kind acces to my plea. The question is, if compiled Android app by using FPCJVM Android target mode will be able to communicate with .so library with bass.so which will receive The stream from The internet and record received live stream input and store it to The

[fpc-pascal] how to convert JNByteBuffer variable type to type usable by fw.write

2019-08-26 Thread Mgr. Janusz Chmiel
Please, does somebody of us know how to write file by using binary mode and writing data from The variable which have JNByteBuffer variable type? What do I had to do so I would be able to write data to The output file in binary mode from The variable which have JNByteBuffer variable type? Thank

Re: [fpc-pascal] fpcjvm code for examination

2019-08-23 Thread Mgr. Janusz Chmiel
So I have found out my bug. Why WIFIlock did not work as expected. I have put wrong number. So The right lines are:   WifiManager := ANWWifiManager(getSystemService(ACContext.WIFI_SERVICE)); WifiManager.createWifiLock (3,'WIFI_MODE_FULL'); Wakelock number is correct.

[fpc-pascal] fpcjvm code for examination

2019-08-23 Thread Mgr. Janusz Chmiel
Because my Java knowledge are very very very weak my attempts to call new Android API functions consists of GOogle search engine which shows Me some code examples from various WEB pages. And after that, I do my best to adapt those samples so it would be compatible with FPCJVM Android target. I

[fpc-pascal] bug while generating androidR25.pas and Androidr25.inc

2019-08-21 Thread Mgr. Janusz Chmiel
I know, that this task is heavy and should be only performed by The elites among Pascal programmers not by users of this programming language. But I Am sure, that if somebody experienced will answer. on my question, it would increase The number of volunteers, who would be ready to generate

[fpc-pascal] FPCJVM Android JVM target and Android 23.inc issue

2019-08-17 Thread 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

Re: [fpc-pascal] where to find materials about MP3 file format

2019-08-16 Thread Mgr. Janusz Chmiel
Lets try to gues how MP3directcut work. The right is, that I can remove and move block of MP3 files when it is loaded. For example, I can copy part of MP3 audio data to clipboard and paste it to other part of loaded other MP3 file. And there is no long time while working by this way. So MR

[fpc-pascal] PPCJVM Android JVM target and 64 bit native libraries calling

2019-08-16 Thread Mgr. Janusz Chmiel
Please does somebody of you know, if is it possible to call 64 Bit native .so libraries when user uses PPCJVM and Android JVM target and system produces .dex file from The Java classes? If it is possible to call only 32 BIt code, please how complex would be to allow developers to call also 64

[fpc-pascal] PPCJVM Android JVM target speed of compiled classes measurement

2019-08-14 Thread Mgr. Janusz Chmiel
Please, does somebod of us know, if it would be possible to create some scientific measurement of The speed of compiled classes which have been produced by PPCJCM Android JVM target mode? Or it is rather impossible to create valid test, since there are too many different devices? I would like

[fpc-pascal] where to find materials about MP3 file format

2019-08-14 Thread Mgr. Janusz Chmiel
I have A very big and non easy dream. Making similar MP3 editor like MP3 direct cut for Windows is. But sure! I would like to develop it for Android. And I want to support keyboard letter commands such as inside MP3 directcut for Windows. Sure. I Am not so expert like MR Martin Pesh is. So I

Re: [fpc-pascal] PPCJVM Android target and bass library function call issue

2019-08-12 Thread Mgr. Janusz Chmiel
Yes, Raspberry Pi  is very interesting device. It is possible to run Linux distributions by using it, it have several USB ports, BLuetooth. In fact, here is a solution for Android, but it is interpreter language. RFO Basic. If user uses Gw library, which uses Basic commands in conjunction with

Re: [fpc-pascal] Pandroid bundle some useful information about it

2019-08-11 Thread Mgr. Janusz Chmiel
Project build resulting Android app by using obfuscation. This create much smaller .dex file. And application decompilation is harder. Sure, very advanced programmer can easily decompile even apps which have been produced by Free Pascal compiler, but I think, that obfuscated code is really not

[fpc-pascal] Pandroid bundle some useful information about it

2019-08-11 Thread Mgr. Janusz Chmiel
Pandroid is bundle, which have been prepared so Linux user can program Android apps with no need to manually install Android SSDK, required platform tools or build tools. Pandroid contain all required versions which have been tested, so developer must only install a few dependencies and

Re: [fpc-pascal] PPCJVM Android target and bass library function call issue

2019-08-11 Thread Mgr. Janusz Chmiel
Dear MR Maebe,     You are always ready to help Me efficiently. I have special .jar file with compiled java .class files, inc and .pas file and bass.so is build inside .jar file. So I think, that it should work. Line   bass:= CUBBASS.create(); bass.BASS_Init(-1, 44100, 0); Cause no problems.

[fpc-pascal] PPCJVM Android target and bass library function call issue

2019-08-10 Thread Mgr. Janusz Chmiel
I Am very sad, that I do not know, how to correctly call The following function from bass.so when running apps produced by FPCJVM Android target mode.     class function BASS_StreamCreateURL(para1: JLString; para2: jint; para3: jint; para4: CUBBASS.InnerDOWNLOADPROC; para5: JLObject): jint;

Re: [fpc-pascal] unit GUi creation also usable for visually impaired developers with no sight at all

2019-08-09 Thread Mgr. Janusz Chmiel
Oh it is very promising programmers approach. I Am even dreaming about live Internet radio player written by using Pas2JS. I have analysed included units and I have found Webaudio unit. BUt I Am afraid, that opening live stream with .MP3 live stream and play it from Pascal source by using

[fpc-pascal] unit GUi creation also usable for visually impaired developers with no sight at all

2019-08-09 Thread Mgr. Janusz Chmiel
Does somebody of you know about Lazarus compatible Unit, which is able to create Windows GUi with no need to specify object position values in points or in Pixels? Something similar like VCL units have for commercial BOrland Delphi. Or unfortunately, there is no such unit available for Free

[fpc-pascal] PPCJVM Android JVM target and building to dex

2019-08-03 Thread Mgr. Janusz Chmiel
Many of advanced users and developers have tried PPCJVM. It is really possible to create fully functioning Android applications. And because it is even possible to access methods from previously compiled .jar files including Mysql.jar and others, Pascal language have very big potential. But

Re: [fpc-pascal] PPCJVM Android JVM target technical questions

2019-07-26 Thread Mgr. Janusz Chmiel
Please, how I could generate Android.pas and android.inc from The newest Android Platformtools? I think that android.jar is being used for this purposes. But. Is it possible to use newer Platform tools such as Android 22? Or unfortunately, Google have made some restrictions so it is not

[fpc-pascal] PPCJVM Android JVM target technical questions

2019-07-26 Thread Mgr. Janusz Chmiel
Dear developers, Because my apps will be longer and longer, I have some special technical question to you. How many lines can PPCJVM compile while using one source file without units? How many values can be processed by using Case block? For example max 200 or similar value? How to manage

[fpc-pascal] I need some working Pascal examples for android

2019-07-18 Thread Mgr. Janusz Chmiel
Please, does somebody of us know about some functioning examples which are utilising PPCJVM, android target and Android operating system? Not Lamw or similar environments, which uses FPC and ARMHF targets. MR Bart have done very good example. May be, that somebody of us would send some links to

Re: [fpc-pascal] how to customize so Pandroid would be usable from Lazarus for windows

2019-04-21 Thread Mgr. Janusz Chmiel
Thank you very much for yours help. Yours advice helped Me. And I have finally downloaded really whole source code of Free Pascal including compiler and with The utils/fpcm folders. But I Am getting error from make about system unit, so I do not know where to set The path. To The units from

Re: [fpc-pascal] how to customize so Pandroid would be usable from Lazarus for windows

2019-04-20 Thread Mgr. Janusz Chmiel
Dear specialists, Who of you know The command which will allow Me to download source code of Free Pascal compiler 3.0.0 Does somebody of you know The link for downloading this specific version? I AM using Pandroid and compiled classes can not be converted to .dex format by none of The

[fpc-pascal] demonstration of bug which do not allow javavcl users to call Android API functions

2019-04-18 Thread Mgr. Janusz Chmiel
Here is little example, which indicates why is it not possible to call Android API functions while using Java FVCL bundle unit MainForm; {$mode objfpc} {$H+} interface uses _System, Classes, Controls, Dialogs, Forms, GenChars, LCLIntf, Menus, StdCtrls, SysUtils, androidr22; type TFormMain =

Re: [fpc-pascal] how to customize so Pandroid would be usable from Lazarus for windows

2019-04-18 Thread Mgr. Janusz Chmiel
Thank you very much for yours good advice. First part of .bat file is allready usable, it produces functioning signed debug .apk packages with The previously generated Java classes, which is The part of Pandroid.zip downloaded from Github. Now I must solve JVM part and The most complex

[fpc-pascal] how to customize so Pandroid would be usable from Lazarus for windows

2019-04-18 Thread Mgr. Janusz Chmiel
I have found out that Pandroid bundle is The onlyone project which is able to call .so libraryes in JVM mode and is also able to support all Android API functions call, I have big plea to you. I have started to transform this big bundle from Linux mode to Windows. Project is available here:

Re: [fpc-pascal] FPCJVM Android and libbass.so calling issue

2019-04-17 Thread Mgr. Janusz Chmiel
Thank you very much for yours professional advices. So really, if I want to call native .so libraryes, I have to use Lamw or Pandroid. Lamw uses JNI interface perfectly. And t is only sad for Me, that it is not easily possible to create stdcontrols.pas unit, which would be compatible with

Re: [fpc-pascal] FPCJVM Android and libbass.so calling issue

2019-04-17 Thread Mgr. Janusz Chmiel
I have decided to join my second question to this thread, because it is also related to problem with libbass.so PPCJVM have problem to compile The following line of code from bass.pas Delphi unit and also from newest bass.pas which is The part of bass zip archive for Windows.

[fpc-pascal] FPCJVM Android and libbass.so calling issue

2019-04-17 Thread Mgr. Janusz Chmiel
Dear specialists, Please does somebody of you know, why is it impossible to call libbass.so in JVM Android mode if external command is being used for this task? Because I Am getting run-time error: error Failed resolution of libbass.so OK I have analysed bass.pas unit and I have found that The

[fpc-pascal] problems while compiling androidr14.inc

2019-04-17 Thread Mgr. Janusz Chmiel
Please do you think, that this Free Pascal compiler error indicates, that some part of androidR14.inc unit have been compiled incorrectly? C:\javavcl-code-1007\fpc\units\jvm-android\rtl\androidr14.inc(2750,15) Hint: (3274) Inherited methods can only be overridden in Objective-C and Java, add

[fpc-pascal] FPC JVM Android more easy .so library calling command

2019-04-16 Thread Mgr. Janusz Chmiel
Dear specialists, Does somebody of you know about The possibility how to make call of external .so libraries more easier? If developer will use ppcjvm, target set to JVM and Android emulation? Java language have simple command for calling .so library. It would be very very good, if it would be

Re: [fpc-pascal] Lazarus Release 2.0.2 - suggestions

2019-04-16 Thread Mgr. Janusz Chmiel
Because I do not see at all and I Am using screen reader NVDA, it would be ideal, if so much of Lazarus GUI would be 100 % accessible. But I know, that it is very complex to retain screen readers accessibility, friendly look for sighted users and fast IDE responsiveness. For now, I would like

[fpc-pascal] how to call .so library while using FREE Pascal JVM and Android target

2019-04-14 Thread Mgr. Janusz Chmiel
Dear specialists, Is it possible to call .so library when I have used Free Pascal compiler and I have set JVM target and option to create Android compatible Java classes? Because when ever I want to call some .so library I Am getting The following error. Failed resolution of: .so OK Sure,

[fpc-pascal] javavcl and why I AM using it

2019-03-27 Thread Mgr. Janusz Chmiel
Dear users and developers, The reason why I AM using javavcl  units is simple. Many modern development environment based on Free Pascal and Android target are using visual designers. It is fantastic fact for sighted developers, but not for people with no sight at all. Because pixel positions

[fpc-pascal] Free Pascal JVM And Android APIS issue

2019-03-27 Thread Mgr. Janusz Chmiel
Dear users and developers, Who of us know, why The following source code, which uses The following modules https://­sourceforge.net/p/­javavcl/code/HEAD/­tree/ Do not play live stream after user compile it to Android and when user press play button?         unit MainForm; {$mode objfpc}