• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Samsung S4 Camera.setParameter fail

 
ibrahim yener
Ranch Hand
Posts: 202
Android Java PHP
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello to all.

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.

Thanks for any advice and help

Regards
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic