即时通讯尝试在此处找到的CameraParameters中输入默认的OMAP 4相机参数http://code.metager.de/source/xref/android/4.0.3/hardware-ti-omap4xxx/camera/CameraParameters.cpp
const char CameraProperties::CAMERA_NAME[]="prop-camera-name";
const char CameraProperties::CAMERA_SENSOR_INDEX[]="prop-sensor-index";
const char CameraProperties::CAMERA_SENSOR_ID[] = "prop-sensor-id";
不确定我应该如何输入这些
例如像这样
const char CameraProperties::CAMERA_SENSOR_INDEX[2]="prop-sensor-index";
或
const char CameraProperties::CAMERA_SENSOR_INDEX[]="prop-sensor-index,2";
或
const char CameraProperties :: CAMERA_SENSOR_INDEX [] =“prop-sensor-index”{2};
原始的Logcat看起来像这样
CameraHal [D](1ccbs18) hardware / ti / omap4xxx / camera / CameraParameters.cpp:202转储 - prop-sensor-index = 2