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
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