Hi,

I'm trying to understand how to implement a solution for a two stage
camera key.  There is an "autoFocus()" call in the Java world which
translates down to an "autoFocus()" call CameraHardwareInterface.
This seems to be the proper place to direct the camera key half press
event, but how is the release event of camera key half press
communicated down to the CameraHardwareInterface?

A typical scenario for the camera key half press is that a number of
algorithms are kicked off and at the completion the results are locked
in until either a capture occurs or the user releases the camera key.
The case of a capture occuring is handled by the APIs, but again the
case where the user releases the camera key does not seems to be
considered, or I'm totally missing it :)

One of the more common, and obvious, examples of the use of a camera
key half press release event/call is the focus indication.  On many
cameras, and some mobile devices, when the user half presses the
camera key an indication of the focus state is shown in preview
window.  This indication will often be a small box in the center of
the window.  While the user continues to hold the camera key in the
half pressed state, this indication will stay on the screen.  When the
user releases the camera key, this indication will disappear.  In
order to allow this indication to be drawn within the
CameraHardwareInterface implementation, as well as to unlock the other
less obvious half press features, a half press release event/call is
needed.

Thoughts?

Steve.

--~--~---------~--~----~------------~-------~--~----~
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-porting
-~----------~----~----~----~------~----~------~--~---

Reply via email to