Camera Preview showing black screen in few devices but working fine on others
<p>I'm showing camera preview in my application it works fine on number of devices but it shows completely black screen on few devices like Samsung galaxy duos.</p>

<p>I calculate the preview size according to the size of surface view and use the largest area which I can to display the preview.</p>
