Solved

Android Camera zooming

Posted on 2011-02-17
2
1,395 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

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Godaddy Root Certificate 2 92
Auto-rotate google map 1 87
Measure and control tethering schedule 2 29
Current date-time from Available WiFi connections 10 31
This is an explanation of a simple data model to help parse a JSON feed
Displaying an arrayList in a listView using the default adapter is rarely the best solution. To get full control of your display data, and to be able to refresh it after editing, requires the use of a custom adapter.
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.
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…

777 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