Using both cameras on android: “Fail to connect to camera service”

后端 未结 3 1028
野的像风
野的像风 2020-12-14 11:58

I\'m having troubles in accessing both (front and rear cameras at the same time). When turn on one camera it works. When i turn off first and turn on second it works. It g

3条回答
  •  不思量自难忘°
    2020-12-14 12:31

    Both cameras can be launched together as long as the hardware supports it. First you need to find the specific SoC used by your phone. You can find this by using the command

    $ adb shell getprop
    

    Chech the field [ro.board.platform], For Nexus 6 it returns

    [ro.board.platform]: [msm8084]
    

    Now you would need to check if this chipset has dual-ISP capability in hardware. For Qualcomm snapdragon chipsets you can find it here. For Samsung Exynos you can find it here. Now if your device supports dual camera and has latest OS installed in it, then you can use this application (ref) developed by Jens to verify if the dual camera works. It should probably work, it does work on my Nexus 6. Video: http://youtu.be/lt8N1Lpa9Zw

    Thanks, Jai

提交回复
热议问题