2

I realize this question has been asked and answered several times in the past. Many of the answers were out dated and a bit nebulous, so I have decided to ask again. I am working on a project that requires me access both the front and the rear cameras on an android device simultaneously.

I have tried this using the deprecated CAMERA api using Jens Grubert's AndroidDualCameraCapture. I have also tried the using camera2 API and the Samsung SCamera api on Samsung devices. I have run test apps across multiple devices including Moto X, S5, S6, S6 Edge, S7, S8, Pixel, and Lenovo Tango. In all of my test cases, I have not been able to access both the front and rear camera simultaneously.

I have scoured many of the previous questions on this topic:

While many of these questions list older Phones that have been proven to work, such as the HTC M8, and Nexus 6, I'm wondering if anybody has successfully accessed both cameras on a modern Android Device. If you have, I would love to know the specific device that you have working and what API you are using.

  • Just a side note..its not a good idea to access them simultaneously.Your application should only have one Camera object active at a time for a particular hardware camera. says android dev docs – Akshay Aug 18 '17 at 15:28
  • A link would be nice if that is indeed the case. – bremen_matt Dec 01 '17 at 09:56
  • *if anybody has successfully accessed both cameras on a modern Android Device* — depends on your definition of "modern". Is Nexus 6 less modern than Galaxy S5? – Alex Cohn Dec 24 '17 at 07:52

2 Answers2

0

I own the LG V20...it allows up to 4 separate screens. 2 front and 2 back

0

that's something devices independent and "rom" independent, I got a vivo x20 with android 7.0 work, but android 8.0 no way

flankechen
  • 1,225
  • 16
  • 31