Sound sensor problem in Android 11

Hello.

In Android 7, the permission setting of the sound sensor works well.
However, it seems that the permission of the sound sensor is not available in Android 11.
How can I solve the permission problem of the sound sensor in Android 11?

per

Try to ask for permission
android.permission.RECORD_AUDIO
Taifun

1 Like

I tried. but It’s same.
thank you.

when will sound sensor be fixed now dont work on higher android version even with permission granted

this is not how bugs are reported…
please start a new thread in category feedback bugs including all required details

Describe your issue

Steps to reproduce the issue

Expected Behaviour

Actual Behaviour

Show your Blocks

Android version

Taifun

already reported here

I now moved your posts into that thread
up to now there was no bug report for this issue…

@LIFE_AI please provide a test project as small as possible, which elicits this issue and add it into this thread, so someone can take a look

Taifun

Describe your issue

sound sensor on android11+ cant get permission to work

Steps to reproduce the issue

install this test app below on android11+ device it will ask for permission but only allow while using the app option and then start listening the value is always 0
test(1).apk (4.4 MB)

Expected Behaviour

slider change to sound input

Actual Behaviour

value is always 0

Show your Blocks

test(2).aia (207.7 KB)

Android version

tested working on android 7,8,9,10
tested not working on android 11,12,13
test is performed on lineage os

1 Like

did you try an extension as workaround?
for example Sound Pressure Level Extension | extensions
other extensions you might find here App Inventor Extensions | Pura Vida Apps
Taifun

i have tried the extension you included it works as intendeed but not as well as i hoped
i want to make music reactive led basicly
and it wouldnt have helped anyways if i want to continue use kodular since my project is already very complex using 5 extension alr and ive red in another post it would be quite tricky to combine extension so i think the internal one will have to be fixed

update:it seems to work now on both a12 and a13

How did you solve it?

I have looked for several alternatives in other community posts and nothing.
Screenshot_2