saki4510t / UVCCamera

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

how to add the function of manually selecting the resolution? #203

Open kingjie0210 opened 7 years ago

kingjie0210 commented 7 years ago

Hi ,

I am relatively new to Android programming (about 1 months). I am working on an application in which I have a USB camera always connected to Android device. I need the following functions: recording videos, supporting manual selection of resolution. I found that usbCameraTest8 can record video, modify the brightness, contrast. I want to know how to add the function of manually selecting the resolution? or somebody has any suggestions on how to add the function of manually selecting the resolution?

with best regards, Super King

jp1017 commented 7 years ago

Yes, you can try Seekbar

sappho192 commented 7 years ago

Refer this code changes https://github.com/saki4510t/UVCCamera/pull/175/files and try it.