android camera

Android SDK 的一个bug ------ parameters.getFocusDistances 无法使用(被拍摄物体和摄像头之间的距离无法测量)

这是很早之前我发现的一个问题,当时想利用“焦距”来定位被拍摄物体和手机摄像头之间的距离,注意不是摄像头预览画面里两个点之间的距离,这是个平面距离。本文所说的距离是垂直距离。最终失败,原因是parameters.getFocusDistances返回的值永远是inifinte。手机型号是华为U9200.

下面是测试核心代码:

<SPAN style="FONT-SIZE: 18px">@Override

    public void onAutoFocus(boolean success, Camera camera) {

        //READ FOCUS DISTANCES HERE

        Camera.Parameters parameters = camera.getParameters();

        float[] distances = new float[3];

        if (success) {

Jumping for Intel's Burst-mode Camera on Intel Android Devices

[This post is a short version  of a blog wrote by Eric Adam, Android Product Technical Marketing Engineer (TME) with Intel]

I’ve been working on Android for a year now and I can see a dramatic shift in the attitude of people towards Intel’s work on Android.  Now that Intel have actual products shipping with competitive power, I can see the momentum and excitement building around Android on x86.  There is so much Intel is doing which includes:

Iscriversi a android camera