- Jun 6, 2020
- 11,593
- 4,508
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:
B4X:
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
Click to expand...
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:
کد:
محتوای بلوک کدها در دسترس شما نیست. برای مشاهده بلوک کدها، وارد انجمن شوید یاثبت نام کنید
Please, is somebody who have same behavior or can somebody give me some advice, please,
p4ppc
برای دیدن لینک ها باید ثبت نام کنید