Dear friends, please,
I am fighting with situation which is for me confused.
But I must try to ask you.
I am playing with VOSK offline speech to text and if I have my phone locked (it does it mean display is OFF),
then I get after short time this:
if this error is because of Android. I mean - if Android kill the STT recognition or if the mistake is in my code.
If I run the app with mobile phone which is active (display ON), then I dont get this this error.
I am using in servicestart and servicecreate:
Please, is somebody who have same behavior or can somebody give me some advice, please,
p4ppc
I am fighting with situation which is for me confused.
But I must try to ask you.
I am playing with VOSK offline speech to text and if I have my phone locked (it does it mean display is OFF),
then I get after short time this:
before I put here code (I must edit the code for easy interpretation here) I want ask,Context.startForegroundService() did not then call Service.startForeground(): ServiceRecord
if this error is because of Android. I mean - if Android kill the STT recognition or if the mistake is in my code.
If I run the app with mobile phone which is active (display ON), then I dont get this this error.
I am using in servicestart and servicecreate:
B4X:
Service.AutomaticForegroundMode = Service.AUTOMATIC_FOREGROUND_NEVER
lock.PartialLock
Please, is somebody who have same behavior or can somebody give me some advice, please,
p4ppc