Solved

Android Camera zooming

Posted on 2011-02-17
2
1,398 Views
Last Modified: 2012-05-11
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
Comment
Question by:jbajaj
2 Comments
 
LVL 17

Accepted Solution

by:
Dejan Pažin earned 500 total points
ID: 34925374
0
 

Author Comment

by:jbajaj
ID: 34998791
Thanks...I'll quickly check and get back
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this article we will discuss all things related to StageFright bug, the most vulnerable bug of android devices.
Once again I push the limits of my phone.  An introduction to the Android Google Now Launcher.
This video is in connection to the article "The case of a missing mobile phone (https://www.experts-exchange.com/articles/28474/The-Case-of-a-Missing-Mobile-Phone.html)". It will help one to understand clearly the steps to track a lost android phone.
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

789 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question