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) 硬件/ti/omap4xxx/camera/CameraParameters.cpp:202 转储-prop-sensor-index = 2