I have a problem of proper implementation of camera preview. I looked over many answers provided here on StackOverflow and many tutorials. I created my own project to have it properly done.
https://bitbucket.org/rdkit/cameratutorial
I thought it works ok, but it turned out after checking this code on Sony Xperia SP that unfortunately it doesn't.
Can anyone look at this code and help me?
Screenshot from Moto G
and Sony Xperia SP