Solved

Android Camera zooming

Posted on 2011-02-17
2
1,399 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

As the title indicates, I have done this before. It chills me everytime I update the OS on my phone, (http://www.experts-exchange.com/articles/18084/Upgrading-to-Android-5-0-Lollipop.html) because one time I did this and I essentially had a bricked …
A short article about a problem I had getting the GPS LocationListener working.
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.
This video demonstrates how to sync Microsoft Exchange Public Folders with smartphones using CodeTwo Exchange Sync and Exchange ActiveSync. To learn more about CodeTwo Exchange Sync and download the free trial, go to: http://www.codetwo.com/excha…

740 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