MichaelMcCulloch / WhisperVoiceKeyboard

A voice to text keyboard based on OpenAI Whisper Model.
MIT License
45 stars 5 forks source link

Either Enable the app to run on android 9 or do not support android 9. #3

Closed MichaelMcCulloch closed 1 year ago

MichaelMcCulloch commented 1 year ago
java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "AAudioStreamBuilder_setAllowedCapturePolicy" referenced by "/data/app/com.mjm.WhisperVoiceKeyboard-a3E7sp5GnVQLFshcTaEkbA==/base.apk!/lib/x86_64/librust.so
no method named `allowed_capture_policy` found for struct `AudioStreamBuilder` in the current scope
method not found in `AudioStreamBuilder`

Evidently, in android 9 (api 28) and below, there's no API to set the value of this field. Setting this to false prevents system and third party apps from capturing the audio. This source indicates the default is true.

mcmaillet commented 1 year ago

Temporary branch that removes setting the "allowed capture policy" so it can work on Android 9. Ideally there would be a setting to control.

appsoft124 commented 1 year ago

Temporary branch that removes setting the "allowed capture policy" so it can work on Android 9. Ideally there would be a setting to control.

i need your help can you send me your email ?

appsoft124 commented 1 year ago

have u fixed this issue?

mcmaillet commented 1 year ago

Yeah it was fixed, it works on android 9

On Thu., May 11, 2023, 10:58 p.m. appsoft, @.***> wrote:

have u fixed this issue?

— Reply to this email directly, view it on GitHub https://github.com/MichaelMcCulloch/WhisperVoiceKeyboard/issues/3#issuecomment-1545136837, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFPL7UEHBWQZESDZGTC2KNLXFW7ODANCNFSM6AAAAAATI7YFUI . You are receiving this because you were assigned.Message ID: @.***>

appsoft124 commented 1 year ago

Yeah it was fixed, it works on android 9

and android 7 8 ? can you send me your email please ?

MichaelMcCulloch commented 1 year ago

Due to hardware and API limitations, this app will not function on android 7 or 8. You can reach me here easily enough.

Regards,

Michael McCulloch

On Fri, May 12, 2023, at 20:20, appsoft wrote:

Yeah it was fixed, it works on android 9

and android 7 8 ? can you send me your email please ?

— Reply to this email directly, view it on GitHub https://github.com/MichaelMcCulloch/WhisperVoiceKeyboard/issues/3#issuecomment-1546498916, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABWCAVI6WYS3GHGY5J6V24DXF3VXBANCNFSM6AAAAAATI7YFUI. You are receiving this because you authored the thread.Message ID: @.***>

MichaelMcCulloch commented 1 year ago

Temporary branch that removes setting the "allowed capture policy" so it can work on Android 9. Ideally there would be a setting to control.

Closing issue

mcmaillet commented 1 year ago

Don't know about 7 or 8. @.***

On Fri., May 12, 2023, 8:20 p.m. appsoft, @.***> wrote:

Yeah it was fixed, it works on android 9

and android 7 8 ? can you send me your email please ?

— Reply to this email directly, view it on GitHub https://github.com/MichaelMcCulloch/WhisperVoiceKeyboard/issues/3#issuecomment-1546498916, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFPL7UGK2NE345TKNJEPG3LXF3VXBANCNFSM6AAAAAATI7YFUI . You are receiving this because you were assigned.Message ID: @.***>