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:
- Using both front and back cameras simultaneously android
- access both front and back camera simultaneously on samsung galaxy devices
- Is it possible to use front and back Camera at same time in Android
- Access both back and front cameras simultaneously
- Opening of Front Camera and Back Camera simultaneously?
- Are there any Android Devices or any method can open front and back camera at the same time?
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.