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

2020-05-22 Thread Mgr. Janusz Chmiel via fpc-other
Oh yes. YOu aare really The expert. Constructing correct Android APi pascal headers is extremely complex work. And without work of MR Swianovicz there would not be new Android APi headers. Develop fully automated solution is rather extremely heavy programmers task. And using Borland Delphi equivale

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

2020-05-22 Thread Jonas Maebe
On 22/05/2020 14:34, Mgr. Janusz Chmiel via fpc-other wrote: > 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 > wake

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

2020-05-22 Thread Mgr. Janusz Chmiel via fpc-other
It seems to Me, that Android APi functions do not contain standalone procedure to activate Wakelock when other than Java or Kotlin language have been used. May be, that somebody very experienced would try to develop new function or command to PPCJVM or to The Android RTL. Thank you very much for y

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

2020-05-22 Thread Mgr. Janusz Chmiel via fpc-other
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 usi