Android Question PERMISISON_RECORD_AUDIO NOT WORKING AT ANDROID 12

Hi, i have a request from a customer, him tell me that when update android to 12 version so, not appear the "permission of audio" but the other appear, how it possibile? the code was the:

rp.CheckAndRequest(rp.PERMISSION_RECORD_AUDIO)
Wait For Activity_PermissionResult (permission As String, Result As Boolean) 'not appear at 12 android
If Result Then
Log($"${permission} Audio Autorizzato..."$)
End If
rp.CheckAndRequest(rp.PERMISSION_CAMERA)
Wait For Activity_PermissionResult (permission As String, Result As Boolean)
If Result Then
Log($"${permission} Camera Autorizzato..."$)
End If
rp.CheckAndRequest(rp.PERMISSION_WRITE_EXTERNAL_STORAGE)
Wait For Activity_PermissionResult (permission As String, Result As Boolean)
If Result Then
Log($"${permission} WRITE_EXTERNAL Autorizzato..."$)
End If
 

Erel

B4X founder
Staff member
Licensed User
Longtime User
1. Please use [code]code here...[/code] tags when posting code.

2. The external storage permission should be removed. You should switch to ContentChooser or one of the other similar features.

3. Reasons for the permission dialog to not show:
a. The permission isn't declared in the manifest.
b. The user has already approved or declined the permission.

Ask the user to check the permissions in the device settings. Or to uninstall the app and install again.
 
Upvote 0
[RESOLVE] the problem was the setting android:maxSdkVersion="30" that i change to android:maxSdkVersion="31" that i find on the manifest
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…