saki4510t / UVCCamera

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

Make USB cameras work with Android pie #480

Open NolaDonato opened 5 years ago

NolaDonato commented 5 years ago
  1. BaseActivity inherits from AppCompatActivity. Changed all the styles to use AppCompat themes. Included appcompat-v7 in build files.
  2. Made the build work with proguard by keeping all the USB classes
  3. Modified device_filter.xml files to include <, this makes our camera work for Android pie

This work includes PR #454. That was not enough to make our camera work under Android pie. These other changes were needed. Apparently under Android pie not all UVC camera are of class 239. Some are class 14.

Nola Donato Samsung Research VR / AR team

toni1727 commented 4 years ago

If you put target 28 it doesn't work!

pcjiushizhu commented 4 years ago

小米6怎么不能用》???