Solved

Android Camera zooming

Posted on 2011-02-17
2
1,370 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
Comment Utility
0
 

Author Comment

by:jbajaj
Comment Utility
Thanks...I'll quickly check and get back
0

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

I tend toward trying the newest hardware and software.  Thiss sometimes works out to my benefit, and sometimes not.  Because I downloaded and installed Android 5.x (http://www.experts-exchange.com/articles/18084/Upgrading-to-Android-5-0-Lollipop.htm…
If your app took Google’s lash recently, here are the 5 most likely reasons.
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.

744 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now