USB camera support for Android?

Hello aol. First of all let me thank you for the great software, I'm enjoing it since 2010 (on Win Mobile those days) during russian ice and snow racing events.

I do have an idea how to improve RC Pro version. These days the number of Android based car audio devices increasing, especially with the great help from our Chineese friends. I also purchased such device (2 DIN, as a replacemet for original Subaru car audio) for myself, it has all typical Android (6.0.1) smartphone functionality (even three USB OTG ports) except... build-in camera.

I've already tested RС Pro on this device and it works perfect together with Qstarz 10Hz BT GPS and ELM27 OBD Adapter - everything like on my Xiaomi, but with 7'' screen firmly installed inside the car dashboard.

Would you mind to check if this is possible to add USB camera support for RC Pro? I checked a number of USB cameras - it's possible to watch and record the video using special software (like this one: https://play.google.com/store/apps/details?id=infinitegra.app.usbcamera).

If it's not too difficult to implement I guess it can be a good improvement for Race Chrono application.

Thank you,
ALkes

Comments

  • Hi, I agree those are interesting, but most people buy action cameras instead, so that's where most of my development effort is too. I think it would be the natural route for you too...

    That said, if USB-cameras turn out to be very easy (or alternatively fun to do) addition, then I might do it anyways. Any suggestions on the cameras?
  • Thank you. Speaking about camera models - I have no particular model in mind but it should definetelу be UVC compliant Full HD (as most of modern USB cameras).

    Here is the one of many topics on StackOveflow (with code samples) about it:
    https://stackoverflow.com/questions/37828376/android-open-external-uvc-camera-instead-hardware-camera
  • Hi AOL,
    Since I am in the house for some time, I am trying to use a Logotitech QuickCam for notebooks Pro. I can use an OTG adapter and view the video with an app called cameraFi, but some searching says, "webcams using the standard Android Camera2 API and the camera HIDL interface. " Would that help you?
  • @DonC, which Android version do you have? Camera2 API is used as default on Android 8.0 and later, and you can switch to it from expert settings in older versions too. I haven't tested USB cameras, but it might already work, or at least it should not be lot of programming to make it work.
  • edited April 10
    Mine is Android 9.0 I set it to Prefer api VE(BETA) But when you view the camera screen the option is set to Internal camera. Should you change that as well?
  • After trying the API v1, I tried both v2 settings: Prefer API v2, and forced. The Compatibility modes are all Automatic, and no rotation. There is n setting for external camera?
Sign In or Register to comment.