I\'m trying to read the focus distance (distance of subject in a photo) from an Android camera. I keep getting 0 for all focus distances on my HTC Desire even when it correc
Probably its a bug in the camera driver you can only fix this if you set up you phone again, yes I know it really shitty, but I had exact the same problem too.
But i choosed to use a custom rom for my device. Atm im using Android Revolution HD 6.1.1 http://forum.xda-developers.com/showthread.php?t=840040
For your secound Question you can take out the source file for the camera app from the package you download with the rom. Probably if you change it, it will work.
Best Regards