Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make USB cameras work with Android pie #480

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

NolaDonato
Copy link

  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

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 <<usb-device class="14" subclass="2" />, this makes our camera work for Android pie
@toni1727
Copy link

toni1727 commented Jul 6, 2020

If you put target 28 it doesn't work!

@pcjiushizhu
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants