[fpc-other] Pascal equivalent to The wakeLock.acquire

Mgr. Janusz Chmiel janusz.chmiel at volny.cz
Fri May 22 14:34:18 CEST 2020


I Am wondering, how to construct The series of Pascal statements which will
have The same effect like in Java.
wakeLock.acquire ();


The command
wakeLock.newWakeLock (1, '"Migration');
Work perfectly.
But
        wakeLock.acquire (
                          );
Causes error when compiling.
I Am using AndroidR15
APi headers for Pascal.

Any advices will be welcomed. I do not know how to construct Pascal
equivalent of Java commands when intereacting with APi functions.



More information about the fpc-other mailing list