I am building a Camera APP and my code works every single device i've tested (even Samsung S3) but Samsung S4 is keep crashing on setParameters for Camera.
I have tested many codes i found from different resources but non of them solved problem.
this is my code block
if i put setParameters inside a try block then camera works but this time, picture size is toooooo small, if i remove try block then Samsung fails. I really don't know what to do. Why am i trying specific device?
I need that code works on S4 because most of people in Japan use it.