Hello,
regarding this problem i set up the permission in
def build(self):
request_permissions([Permission.INTERNET,Permission.RECORD_AUDIO])
self.title = 'Recording Application'
This time the error on permission went away but there is always the following exception the destroy the recognition service
Someone can help me?
Noting op not finished: uid 10125 pkg com.google.android.googlequicksearchbox code 27 time=1616153654077 duration=0
03-19 12:34:31.933 4384 4384 I A : RecognitionService#onStartListening
03-19 12:34:31.933 4384 4384 W Bundle : Key calling_package expected String but value was a [C. The default value <null> was returned.
03-19 12:34:31.934 4384 4384 W Bundle : Attempt to cast generated internal exception:
03-19 12:34:31.934 4384 4384 W Bundle : java.lang.ClassCastException: char[] cannot be cast to java.lang.String
03-19 12:34:31.934 4384 4384 W Bundle : at android.os.BaseBundle.getString(BaseBundle.java:1167)
03-19 12:34:31.934 4384 4384 W Bundle : at android.content.Intent.getStringExtra(Intent.java:8058)
03-19 12:34:31.934 4384 4384 W Bundle : at com.google.android.apps.search.transcription.g.e.j.a(SourceFile:3)
03-19 12:34:31.934 4384 4384 W Bundle : at com.google.android.apps.search.transcription.g.e.i.a(SourceFile:3)
03-19 12:34:31.934 4384 4384 W Bundle : at com.google.android.voicesearch.serviceapi.GoogleRecognitionService.onStartListening(SourceFile:7)
03-19 12:34:31.934 4384 4384 W Bundle : at android.speech.RecognitionService.dispatchStartListening(RecognitionService.java:113)
03-19 12:34:31.934 4384 4384 W Bundle : at android.speech.RecognitionService.access$000(RecognitionService.java:39)
03-19 12:34:31.934 4384 4384 W Bundle : at android.speech.RecognitionService$1.handleMessage(RecognitionService.java:82)
03-19 12:34:31.934 4384 4384 W Bundle : at android.os.Handler.dispatchMessage(Handler.java:107)
03-19 12:34:31.934 4384 4384 W Bundle : at android.os.Looper.loop(Looper.java:213)
03-19 12:34:31.934 4384 4384 W Bundle : at android.app.ActivityThread.main(ActivityThread.java:8178)
03-19 12:34:31.934 4384 4384 W Bundle : at java.lang.reflect.Method.invoke(Native Method)
03-19 12:34:31.934 4384 4384 W Bundle : at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:513)
03-19 12:34:31.934 4384 4384 W Bundle : at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1101)
03-19 12:34:31.934 4384 4384 I A : Using Locale.getDefault() for recognition: null