我在android中有一个用于捕获图像的应用程序。它在许多三星手机,平板电脑中正常工作,但在三星2 310(7英寸4.0.3)上,字节流被破坏。我在logcat中收到以下错误。
09-26 16:50:49.044: E/CameraHAL(99): (1494458) hardware/ti/omap4xxx/camera/BaseCameraAdapter.cpp:1703 setState - Adapter state switch INTIALIZED_STATE Invalid Op! event = 0x5
09-26 16:55:21.279: E/CameraHAL(99): (1494458) hardware/ti/omap4xxx/camera/BaseCameraAdapter.cpp:1786 setState - Adapter state switch PREVIEW_ACTIVE Invalid Op! event = 0x5
09-26 16:55:14.912: E/CameraHAL(99): (14e30e8) hardware/ti/omap4xxx/camera/OMXCameraAdapter/OMXFocus.cpp:209 doAutoFocus - Autofocus callback timeout expired
09-26 16:55:15.279: E/CameraHAL(99): (14e30e8) hardware/ti/omap4xxx/camera/BaseCameraAdapter.cpp:1059 notifyShutterSubscribers - Sending shutter callback
09-26 16:57:36.380: E/CameraHAL(99): (14d4c10) hardware/ti/omap4xxx/camera/OMXCameraAdapter/OMXFocus.cpp:209 doAutoFocus - Autofocus callback timeout expired.