Android logcat无限消息

时间:2013-03-01 20:11:56

标签: android error-handling android-camera surfaceview logcat

当我尝试执行我的应用程序时,我会收到无数个不包含我的包名称的消息。我无法理解他们的意思,问题是什么。 logcat中的一些消息如下:

03-01 21:51:21.980: I/SecCameraCoreManager(1555): SecCameraCoreManager created: pid=1555, cameraId=0
03-01 21:51:21.980: D/SteExtIspCamera(1555): > android::SteExtIspCamera::SteExtIspCamera(int) 
03-01 21:51:21.980: D/SteExtIspCamera(1555): < android::SteExtIspCamera::SteExtIspCamera(int)  
03-01 21:51:21.980: D/SteExtIspCamera(1555): > OMX_ERRORTYPE android::SteExtIspCamera::init() 
03-01 21:51:21.980: I/SteExtIspCamera(1555): debug.libcamera.level = 255
03-01 21:51:21.980: D/SteExtIspCamera(1555): > OMX_ERRORTYPE   android::SteExtIspCamera::initPrimaryDefaultParameters() 
03-01 21:51:21.980: D/SteExtIspCamera(1555):    Default preview Witdh: 640 Height: 480 framerate 30
03-01 21:51:21.980: D/SteExtIspCamera(1555):    Default preview framerate: 30
03-01 21:51:21.980: D/SteExtIspCamera(1555):    Default picture Width: 2560 Height: 1920 quality; 100 
03-01 21:51:21.980: D/SteExtIspCamera(1555): > virtual android::status_t android::SteExtIspCamera::setParameters(const android::CameraParameters&) 
03-01 21:51:21.980: D/SteExtIspCamera(1555):    Preview Width: 640 Height: 480  Format : yuv420sp
03-01 21:51:21.980: D/SteExtIspCamera(1555):    Record Width: 640 Height: 480
03-01 21:51:21.980: D/SteExtIspCamera(1555):    VPB0 Width: 640 Height: 480
03-01 21:51:21.980: D/SteExtIspCamera(1555):    Picture Width: 2560 Height: 1920 Format : jpeg Quality: 100
03-01 21:51:21.980: D/SteExtIspCamera(1555):    Thumbnail Width: 320 Height: 240 Quality: 70
03-01 21:51:21.980: D/SteExtIspCamera(1555):    Rotation: (null) WhiteBalance: auto Effect: none Antibanding: 50hz
03-01 21:51:21.980: D/SteExtIspCamera(1555):    SceneMode: auto Flash: off Focus: auto
03-01 21:51:21.980: D/SteExtIspCamera(1555): < virtual android::status_t android::SteExtIspCamera::setParameters(const android::CameraParameters&) 
03-01 21:51:21.980: D/SteExtIspCamera(1555): < OMX_ERRORTYPE android::SteExtIspCamera::initPrimaryDefaultParameters() 
03-01 21:51:21.980: I/ENSLoader(1555): CreateComponent OMX.ST.ExtHSMCamera
03-01 21:51:21.990: D/dalvikvm(17529): GC_EXTERNAL_ALLOC freed 22K, 45% free 3521K/6343K, external 0K/0K, paused 77ms
03-01 21:51:22.000: I/OSI-Trace(1555): =========== persist.debug.extcamera.level enabled with level 777 =======
03-01 21:51:22.000: D/OSI-Trace(1555): EXTCAMERA > Camera 
03-01 21:51:22.000: D/OSI-Trace(1555):   > setDefaultFormatInPortDefinition 
03-01 21:51:22.000: I/OSI-Trace(1555):   PortIndex = 0
03-01 21:51:22.000: I/OSI-Trace(1555):   mParamPortDefinition.format.video.xFramerate         = 10
03-01 21:51:22.000: I/OSI-Trace(1555):   mParamPortDefinition.format.video.nFrameWidth        = 320
03-01 21:51:22.000: I/OSI-Trace(1555):   mParamPortDefinition.format.video.nFrameHeight       = 240 
03-01 21:51:22.000: I/OSI-Trace(1555):   mParamPortDefinition.format.video.eCompressionFormat = 0
03-01 21:51:22.000: I/OSI-Trace(1555):   mParamPortDefinition.format.video.eColorFormat       = 27
03-01 21:51:22.000: I/OSI-Trace(1555):   mParamPortDefinition.format.video.nStride            = 320
03-01 21:51:22.000: I/OSI-Trace(1555):   mParamPortDefinition.format.video.nSliceHeight       = 1
03-01 21:51:22.000: I/OSI-Trace(1555):   mParamPortDefinition.nBufferSize                     = 153600
03-01 21:51:22.000: D/OSI-Trace(1555):   > setDefaultFormatInPortDefinition 
03-01 21:51:22.000: I/OSI-Trace(1555):   PortIndex = 2
03-01 21:51:22.000: I/OSI-Trace(1555):   mParamPortDefinition.format.video.xFramerate         = 10
03-01 21:51:22.000: I/OSI-Trace(1555):   mParamPortDefinition.format.video.nFrameWidth        = 320
03-01 21:51:22.000: I/OSI-Trace(1555):   mParamPortDefinition.format.video.nFrameHeight       = 240 
03-01 21:51:22.000: I/OSI-Trace(1555):   mParamPortDefinition.format.video.eCompressionFormat = 0
出了什么问题?
编辑:我唯一的想法是,在我的centerLayout这是一个cameraPreview(SurfaceView)我有很多相对布局覆盖cameraPreview,也许这会计算每个布局的尺寸和距离

1 个答案:

答案 0 :(得分:0)

整个设备只有一个Logcat-Log - 设备上运行的每个线程都会在其中放置日志语句。在logcat窗口的左侧(Eclipse DDMS透视图),您可以定义过滤器以过滤输出到应用程序的语句。