saki4510t / UVCCamera

library and sample to access to UVC web camera on non-rooted Android device
2.96k stars 1.19k forks source link

mUsbManager.requestPermission() does not show the dialog if versionTarget= 28 #665

Open zipswich opened 1 year ago

zipswich commented 1 year ago

If versionTarget = 27, everything works fine. If versionTarget is set to 28, mUsbManager.requestPermission() never shows the dialog..

jiangdongguo commented 1 year ago

https://github.com/jiangdongguo/AndroidUSBCamera.git you can try.

Sumeyya-Eser commented 1 year ago

https://github.com/jiangdongguo/AndroidUSBCamera.git you can try.

This application also does not work above 27

a522510162 commented 11 months ago

Screenshot 2023-07-19 at 10 10 23 AM According to the document, If Target API>= 28, you need to grant Manifest.permission.CAMERA permission, after that you will see the permission dialog.

q84256948 commented 1 month ago

In Android 10, except for the version with internal version number R30, there is a bug that the uvc camera cannot obtain USB device permissions, and there is no permission application pop-up window. https://issuetracker.google.com/issues/145082934?pli=1