Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1422
  • Last Modified:

Android Camera zooming

Hello friend,

  I am working on one mobile camera application in which I need to handle some camera event like zooming, focusing etc. In my applications I able to capture photos but zooming will not work so please help me about how to zoom camera in android. I am use camera zoom functionality like

Camera.Parameters parameters=camera.getParameters();
parameters.setZoom(parameters.getZoom()+1);
camera.setParameters(parameters);
camera.startPreview();  

But this code not give any error work fine but zooming is not done. Is there any problem in my code or need to set any functionality to start zooming, please help me.

Thank you for help.
0
jbajaj
Asked:
jbajaj
1 Solution
 
Dejan PažinCommented:
0
 
jbajajAuthor Commented:
Thanks...I'll quickly check and get back
0

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now