How To Open Both Front And Back Camera At The Same Time On Samsung Galaxy Devices?
Solution 1:
I managed to unlock this feature only on Samsung galaxy S8, S8+ and Note 8 devices, using their internal library SemCamera.jar and OpenGL with glsl shaders. However it is not compatible with older Samsung devices nor with the newest S9 devices. After reverse engineering their stock camera app to see if the feature exists, i saw that it was erased completely from their code. So their framework blocks 3rd party apps from using this feature and clearly not for security reasons. We hope that in the near future they will share the dual camera feature in the next Camera SDK.
Solution 2:
I had similar problems to access the camera sensor (in my case I want to have maximum exposure time of 10 sec in my app). This is only provided by SemCam, the Samsung specific library which is secret and deeply hidden in their Android. According to my tests SemCam works until S8. With S9 and Note 9 Samsung switched completely to Camera2API. But they are Samsung: they've extended lots of Java classes of Camera2API which are only present on Samsung S9 and Note 9 devices, e.g. the Java class CameraDevice has new methods (setParameters()). I can't understand why Samsung is doing that. Their camera app is not the best and they are not the leader anymore. When you take a look at Huawei P devices or LG G/V and OnePLus or Xiaomi mi 8 /Pocophone they are working with Camera2API ONLY - without any extensions.
Post a Comment for "How To Open Both Front And Back Camera At The Same Time On Samsung Galaxy Devices?"