Closed heyheysay closed 11 years ago
B47 - Barcode API enabling the camera – crashes
When enabling the camera in the Barcode API causes Rho to crash. Below is the logcat of the crash
08-02 18:05:27.398: I/Web Console(5339): {"method":"take","params":[{}],"rhoClass":"Rho.Barcode","rhoID":"EMDK0","jsonrpc":"2.0","id":3,"rhoCallback":{"id":"rhoID#0","vmID":null,"optParams":null}} at http://192.168.2.14:8444/i25wagscan/rhoapi-modules.js:4 08-02 18:05:27.398: I/APP(5339): T 08/02/2013 18:05:27:401 000014db Rhodes| rho_cast<string, jstring>: {"method":"take","params":[{}],"rhoClass":"Rho.Barcode","rhoID":"EMDK0","jsonrpc":"2.0","id":3,"rhoCallback":{"id":"rhoID#0","vmID":null,"optParams":null}} 08-02 18:05:27.398: I/APP(5339): T 08/02/2013 18:05:27:402 000014db js_helper| {"method":"take","params":[{}],"rhoClass":"Rho.Barcode","rhoID":"EMDK0","jsonrpc":"2.0","id":3,"rhoCallback":{"id":"rhoID#0","vmID":null,"optParams":null}} 08-02 18:05:27.398: I/APP(5339): T 08/02/2013 18:05:27:402 000014db js_helper| Parsing module class 08-02 18:05:27.398: I/APP(5339): T 08/02/2013 18:05:27:402 000014db js_helper| Parsing callback 08-02 18:05:27.398: I/APP(5339): T 08/02/2013 18:05:27:402 000014db js_helper| Got rhoCallback JSON object 08-02 18:05:27.398: I/APP(5339): T 08/02/2013 18:05:27:403 000014db js_helper| Calling API: object: EMDK0, method: Rho:Barcode:take, callback id: __rhoID#0 08-02 18:05:27.398: I/APP(5339): T 08/02/2013 18:05:27:403 000014db BarcodeJS| js_Barcode_take(id=EMDK0) 08-02 18:05:27.398: I/APP(5339): T 08/02/2013 18:05:27:403 000014db MethodResultJNI| jniInit - env: 0x0000ac30, functions: 0x800a3d68 08-02 18:05:27.398: I/APP(5339): T 08/02/2013 18:05:27:403 000014db MethodResultJNI| jniInit - env: 0x0000ac30, functions: 0x800a3d68 08-02 18:05:27.398: I/APP(5339): T 08/02/2013 18:05:27:403 000014db Rhodes| rho_cast<jstring, string>: rhoID#0 08-02 18:05:27.398: I/APP(5339): T 08/02/2013 18:05:27:404 000014db Rhodes| rho_cast<jstring, string>: 08-02 18:05:27.398: I/APP(5339): T 08/02/2013 18:05:27:404 000014db MethodResultJNI| setCallback 08-02 18:05:27.398: I/APP(5339): T 08/02/2013 18:05:27:405 000014db MethodResultJNI| Callback has been set ^^^ 08-02 18:05:27.398: I/APP(5339): T 08/02/2013 18:05:27:405 000014db BarcodeJNI| take 08-02 18:05:27.398: I/APP(5339): T 08/02/2013 18:05:27:406 000014db Rhodes| rho_cast<jstring, string>: EMDK0 08-02 18:05:27.398: I/APP(5339): T 08/02/2013 18:05:27:406 000014db Rhodes| RhoJniConvertor::initConvertor 08-02 18:05:27.406: I/APP(5339): T 08/02/2013 18:05:27:406 000014db MethodExecutorJNI| Run in thread -----> 08-02 18:05:27.406: I/APP(5339): T 08/02/2013 18:05:27:407 000014db MethodExecutor| Run in new thread 08-02 18:05:27.406: I/APP(5339): T 08/02/2013 18:05:27:408 000014db MethodResultJNI| Disconnect from local JNI reference 08-02 18:05:27.406: I/APP(5339): T 08/02/2013 18:05:27:408 000014db MethodResultJNI| jniInit - env: 0x0000ac30, functions: 0x800a3d68 08-02 18:05:27.406: I/APP(5339): T 08/02/2013 18:05:27:408 000014db MethodResultJNI| getResultType 08-02 18:05:27.406: I/APP(5339): T 08/02/2013 18:05:27:408 000014db MethodResultJNI| Native result type: 0 08-02 18:05:27.406: I/APP(5339): T 08/02/2013 18:05:27:408 000014db MethodResultJNI| jniInit - env: 0x0000ac30, functions: 0x800a3d68 08-02 18:05:27.406: I/APP(5339): T 08/02/2013 18:05:27:408 000014db MethodResultJNI| getResultType 08-02 18:05:27.406: I/APP(5339): T 08/02/2013 18:05:27:409 000014db MethodResultJNI| Native result type: 0 08-02 18:05:27.406: I/APP(5339): T 08/02/2013 18:05:27:409 000014db MethodResultJNI| jniInit - env: 0x0000ac30, functions: 0x800a3d68 08-02 18:05:27.406: I/APP(5339): T 08/02/2013 18:05:27:409 000014db MethodResultJNI| getResultType 08-02 18:05:27.406: I/APP(5339): T 08/02/2013 18:05:27:409 000014db MethodResultJNI| Native result type: 0 08-02 18:05:27.406: I/APP(5339): T 08/02/2013 18:05:27:409 000014db MethodResultJNI| jniInit - env: 0x0000ac30, functions: 0x800a3d68 08-02 18:05:27.406: I/APP(5339): T 08/02/2013 18:05:27:409 000014db MethodResultJNI| getResultType 08-02 18:05:27.406: I/APP(5339): T 08/02/2013 18:05:27:409 000014db MethodResultJNI| Native result type: 0 08-02 18:05:27.406: I/APP(5339): T 08/02/2013 18:05:27:409 000014db MethodResultJNI| jniInit - env: 0x0000ac30, functions: 0x800a3d68 08-02 18:05:27.406: I/APP(5339): T 08/02/2013 18:05:27:409 000014db MethodResultJNI| getResultType 08-02 18:05:27.406: I/APP(5339): T 08/02/2013 18:05:27:409 000014db MethodResultJNI| Native result type: 0 08-02 18:05:27.406: I/APP(5339): T 08/02/2013 18:05:27:410 000014db BarcodeJS| "result":null 08-02 18:05:27.406: I/APP(5339): T 08/02/2013 18:05:27:410 000014db BarcodeJS| js_Barcode_take(id=EMDK0) end ^^^ 08-02 18:05:27.406: I/APP(5339): T 08/02/2013 18:05:27:410 000014db Rhodes| rho_cast<jstring, string>: {"jsonrpc": "2.0", "result":null, "id": 3} 08-02 18:05:27.414: I/APP(5339): T 08/02/2013 18:05:27:416 000014f4 MethodResult| set("") 08-02 18:05:27.414: I/APP(5339): T 08/02/2013 18:05:27:416 000014f4 MethodResult| Callback: , data: ; Tab id: -1; resultType: typeString; result: "" 08-02 18:05:27.414: I/APP(5339): T 08/02/2013 18:05:27:417 000014f4 MethodResult| set("250") 08-02 18:05:27.414: I/Web Console(5339): {"method":"friendlyName","params":[],"rhoClass":"Rho.Barcode","rhoID":"EMDK1","jsonrpc":"2.0","id":4} at http://192.168.2.14:8444/i25wagscan/rhoapi-modules.js:4 08-02 18:05:27.414: I/APP(5339): T 08/02/2013 18:05:27:417 000014db Rhodes| rho_cast<string, jstring>: {"method":"friendlyName","params":[],"rhoClass":"Rho.Barcode","rhoID":"EMDK1","jsonrpc":"2.0","id":4} 08-02 18:05:27.414: I/APP(5339): T 08/02/2013 18:05:27:417 000014db js_helper| {"method":"friendlyName","params":[],"rhoClass":"Rho.Barcode","rhoID":"EMDK1","jsonrpc":"2.0","id":4} 08-02 18:05:27.414: I/APP(5339): T 08/02/2013 18:05:27:417 000014f4 MethodResult| set(250) 08-02 18:05:27.414: I/APP(5339): T 08/02/2013 18:05:27:417 000014f4 MethodResult| Callback: , data: ; Tab id: -1; resultType: typeInteger; result: 250 08-02 18:05:27.414: I/APP(5339): T 08/02/2013 18:05:27:417 000014db js_helper| Parsing module class 08-02 18:05:27.414: I/APP(5339): T 08/02/2013 18:05:27:418 000014db js_helper| Calling API: object: EMDK1, method: Rho:Barcode:friendlyName, callback id: 08-02 18:05:27.414: I/APP(5339): T 08/02/2013 18:05:27:418 000014db BarcodeJS| js_Barcode_getFriendlyName(id=EMDK1) 08-02 18:05:27.414: I/APP(5339): T 08/02/2013 18:05:27:418 000014db MethodResultJNI| jniInit - env: 0x0000ac30, functions: 0x800a3d68 08-02 18:05:27.414: I/APP(5339): T 08/02/2013 18:05:27:418 000014db BarcodeJNI| getFriendlyName 08-02 18:05:27.414: I/APP(5339): T 08/02/2013 18:05:27:420 000014db Rhodes| rho_cast<jstring, string>: EMDK1 08-02 18:05:27.414: I/APP(5339): T 08/02/2013 18:05:27:418 000014f4 MethodResult| set("3000") 08-02 18:05:27.414: D/Scanner(5339): Scanner() SupportedScanners 3 08-02 18:05:27.414: I/APP(5339): T 08/02/2013 18:05:27:421 000014f4 MethodResult| set(3000) 08-02 18:05:27.414: I/APP(5339): T 08/02/2013 18:05:27:421 000014f4 MethodResult| Callback: , data: ; Tab id: -1; resultType: typeInteger; result: 3000 08-02 18:05:27.414: I/libimgkit(5339): Decoder library version is 327695 08-02 18:05:27.414: W/InputManagerService(1662): Window already focused, ignoring focus gain of: com.android.internal.view.IInputMethodClient$Stub$Proxy@408287a8 08-02 18:05:27.421: I/libimgkit(5339): Decoder library version is 327695 08-02 18:05:27.421: I/APP(5339): T 08/02/2013 18:05:27:421 000014f4 MethodResult| set("5") 08-02 18:05:27.445: D/dalvikvm(5339): GC_FOR_MALLOC freed 242K, 44% free 4198K/7431K, external 3588K/3999K, paused 27ms 08-02 18:05:27.445: I/APP(5339): T 08/02/2013 18:05:27:452 000014f4 MethodResult| set(5) 08-02 18:05:27.445: I/APP(5339): T 08/02/2013 18:05:27:452 000014f4 MethodResult| Callback: , data: ; Tab id: -1; resultType: typeInteger; result: 5 08-02 18:05:27.460: D/DecLib_SSI(5339): [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 555, 13, 14, 15, 17, 16, 19, 18, 21, 20, 23, 22, 575, 25, 574, 24, 573, 27, 26, 29, 28, 31, 30, 34, 35, 38, 39, 514, 36, 37, 313, 42, 43, 40, 314, 41, 46, 47, 44, 45, 51, 50, 290, 49, 291, 48, 292, 55, 293, 54, 294, 295, 52, 59, 58, 298, 537, 63, 62, 61, 60, 611, 342, 341, 340, 339, 64, 338, 65, 337, 618, 619, 77, 78, 617, 622, 623, 620, 621, 344, 326, 85, 84, 86, 80, 83, 82, 93, 92, 95, 89, 91, 90, 577, 578, 375, 374, 581, 371, 96, 583, 97, 584, 381, 377, 376, 595, 594, 597, 596, 599, 598, 601, 600, 603, 366, 602, 367, 123, 361, 410, 411, 408, 409, 414, 412, 413, 402, 673, 672, 397, 653, 652, 655, 654, 651, 656, 421, 657, 658, 659, 422, 207, 751, 750, 223, 208, 209, 210, 233, 718, 705, 231, 227, 728, 730, 727] 08-02 18:05:27.460: E/libimgkit(5339): DecParamSet failed to set 0x16b to 0x0. Error 11 08-02 18:05:27.468: D/CSP(5339): 53 Random Weight Check Digit not supported by DecoderLibrary 08-02 18:05:27.468: D/CSP(5339): 68 Linear Decode not supported by DecoderLibrary 08-02 18:05:27.476: D/CSP(5339): 576 Bookland Format not supported by DecoderLibrary 08-02 18:05:27.476: D/CSP(5339): 224 Convert EAN8 To EAN13 not supported by DecoderLibrary 08-02 18:05:27.476: D/DecLib_SSI(5339): Resyncing params: 08-02 18:05:27.492: I/StagefrightPlayer(1585): setDataSource('/mnt/sdcard/Android/data/com.rhomobile.walgreensmpos/cache/decodeWav.wav') 08-02 18:05:27.492: D/AwesomePlayer(1585): setDataSource_l(/mnt/sdcard/Android/data/com.rhomobile.walgreensmpos/cache/decodeWav.wav) 08-02 18:05:27.492: E/MPEG4Extractor(1585): both mdat,ftyp not found 08-02 18:05:27.500: D/ASFExtractor(1585): SniffASF Entered 08-02 18:05:27.500: D/ASFExtractor(1585): SniffASF ASF Header object not found 08-02 18:05:27.523: D/CSP(5339): 66 Redundancy not supported by DecoderLibrary 08-02 18:05:27.539: D/SPB(5339): Parsing DATACAPTURE_LED_ID and value is set to 8 08-02 18:05:27.562: I/StagefrightPlayer(1585): setDataSource('system/media/audio/notifications/decode.wav') 08-02 18:05:27.562: D/AwesomePlayer(1585): setDataSource_l(system/media/audio/notifications/decode.wav) 08-02 18:05:27.562: E/MPEG4Extractor(1585): both mdat,ftyp not found 08-02 18:05:27.570: D/ASFExtractor(1585): SniffASF Entered 08-02 18:05:27.570: D/ASFExtractor(1585): SniffASF ASF Header object not found 08-02 18:05:27.570: I/APP(5339): T 08/02/2013 18:05:27:577 000014db MethodExecutorJNI| Run in current thread -----> 08-02 18:05:27.570: I/APP(5339): T 08/02/2013 18:05:27:577 000014db MethodExecutor| Run in current thread 08-02 18:05:27.570: I/APP(5339): T 08/02/2013 18:05:27:578 000014db MethodResult| set("2D Imager") 08-02 18:05:27.578: I/APP(5339): T 08/02/2013 18:05:27:578 000014db MethodResult| Callback: , data: ; Tab id: -1; resultType: typeString; result: "2D Imager" 08-02 18:05:27.578: I/APP(5339): T 08/02/2013 18:05:27:578 000014db MethodResultJNI| jniInit - env: 0x0000ac30, functions: 0x800a3d68 08-02 18:05:27.578: I/APP(5339): T 08/02/2013 18:05:27:578 000014db MethodResultJNI| getResultType 08-02 18:05:27.578: I/APP(5339): T 08/02/2013 18:05:27:579 000014db MethodResult| getResultType: typeString - 4 08-02 18:05:27.578: I/APP(5339): T 08/02/2013 18:05:27:579 000014db MethodResultJNI| Java result type: 4 08-02 18:05:27.578: I/APP(5339): T 08/02/2013 18:05:27:579 000014db MethodResultJNI| jniInit - env: 0x0000ac30, functions: 0x800a3d68 08-02 18:05:27.578: I/APP(5339): T 08/02/2013 18:05:27:579 000014db MethodResultJNI| getStringResult 08-02 18:05:27.578: I/APP(5339): T 08/02/2013 18:05:27:579 000014db Rhodes| rho_cast<string, jstring>: 2D Imager 08-02 18:05:27.578: I/APP(5339): T 08/02/2013 18:05:27:580 000014db MethodResultJNI| jniInit - env: 0x0000ac30, functions: 0x800a3d68 08-02 18:05:27.578: I/APP(5339): T 08/02/2013 18:05:27:580 000014db MethodResultJNI| getObjectClassPath 08-02 18:05:27.578: I/APP(5339): T 08/02/2013 18:05:27:580 000014db Rhodes| rho_cast<string, jstring>: "" 08-02 18:05:27.578: I/APP(5339): T 08/02/2013 18:05:27:580 000014db BarcodeJS| "result":"2D Imager" 08-02 18:05:27.578: I/APP(5339): T 08/02/2013 18:05:27:580 000014db BarcodeJS| js_Barcode_getFriendlyName(id=EMDK1) end ^^^ 08-02 18:05:27.578: I/APP(5339): T 08/02/2013 18:05:27:581 000014db Rhodes| rhocast<jstring, string>: {"jsonrpc": "2.0", "result":"2D Imager", "id": 4} 08-02 18:05:27.695: E/OMXCameraAdapter(1585): hardware/ti/omap3/camera-omap4/src/OMXCameraAdapter/OMXCameraAdapter.cpp:256 initialize - Sensor 0 selected successfully 08-02 18:05:27.695: E/CameraHal(1585): hardware/ti/omap3/camera-omap4/src/CameraHal.cpp:3268 initDefaultParameters - width 640 height 480 08-02 18:05:27.703: E/CameraHal(1585): hardware/ti/omap3/camera-omap4/src/CameraHal.cpp:426 setParameters - AutoConvergence mode is 0 08-02 18:05:27.703: E/CameraHal(1585): hardware/ti/omap3/camera-omap4/src/CameraHal.cpp:490 setParameters - FRAMERATE 30 08-02 18:05:27.703: E/CameraHal(1585): hardware/ti/omap3/camera-omap4/src/CameraHal.cpp:500 setParameters - FPS Range [30, 30] 08-02 18:05:27.703: E/CameraHal(1585): hardware/ti/omap3/camera-omap4/src/CameraHal.cpp:874 setParameters - Positive bracketing range 1 08-02 18:05:27.703: E/CameraHal(1585): hardware/ti/omap3/camera-omap4/src/CameraHal.cpp:885 setParameters - Negative bracketing range 1 08-02 18:05:27.703: E/OMXCameraAdapter(1585): hardware/ti/omap3/camera-omap4/src/OMXCameraAdapter/OMXCameraAdapter.cpp:2201 setVFramerate - Error while setting VFR min = 30, max = 30, error = 0x80001005 08-02 18:05:27.703: D/OMXCameraAdapter(1585): *\ IMG Width = 3264 08-02 18:05:27.703: D/OMXCameraAdapter(1585): *IMG Height = 2448 08-02 18:05:27.703: D/OMXCameraAdapter(1585): IMG IMG FMT = 1b 08-02 18:05:27.703: D/OMXCameraAdapter(1585): *IMG portCheck.nBufferSize = 8388608 08-02 18:05:27.703: D/OMXCameraAdapter(1585): __IMG portCheck.nBufferCountMin = 1 08-02 18:05:27.703: D/OMXCameraAdapter(1585): _IMG portCheck.nBufferCountActual = 0 08-02 18:05:27.710: D/OMXCameraAdapter(1585): **IMG portCheck.format.image.nStride = 6528 08-02 18:05:27.710: E/OMXCameraAdapter(1585): hardware/ti/omap3/camera-omap4/src/OMXCameraAdapter/OMXCameraAdapter.cpp:715 setParameters - Contrast 0 08-02 18:05:27.710: E/OMXCameraAdapter(1585): hardware/ti/omap3/camera-omap4/src/OMXCameraAdapter/OMXCameraAdapter.cpp:725 setParameters - Sharpness 0 08-02 18:05:27.710: E/OMXCameraAdapter(1585): hardware/ti/omap3/camera-omap4/src/OMXCameraAdapter/OMXCameraAdapter.cpp:735 setParameters - Saturation 0 08-02 18:05:27.710: E/OMXCameraAdapter(1585): hardware/ti/omap3/camera-omap4/src/OMXCameraAdapter/OMXCameraAdapter.cpp:745 setParameters - Brightness 50 08-02 18:05:27.710: E/OMXCameraAdapter(1585): hardware/ti/omap3/camera-omap4/src/OMXCameraAdapter/OMXCameraAdapter.cpp:755 setParameters - Flicker 1 08-02 18:05:27.710: E/OMXCameraAdapter(1585): hardware/ti/omap3/camera-omap4/src/OMXCameraAdapter/OMXCameraAdapter.cpp:764 setParameters - ISO mode arrived in HAL : auto 08-02 18:05:27.710: E/OMXCameraAdapter(1585): hardware/ti/omap3/camera-omap4/src/OMXCameraAdapter/OMXCameraAdapter.cpp:768 setParameters - ISO 0 08-02 18:05:27.710: E/OMXCameraAdapter(1585): hardware/ti/omap3/camera-omap4/src/OMXCameraAdapter/OMXCameraAdapter.cpp:794 setParameters - Focus 2 08-02 18:05:27.710: E/OMXCameraAdapter(1585): hardware/ti/omap3/camera-omap4/src/OMXCameraAdapter/OMXCameraAdapter.cpp:814 setParameters - Setting EV Compensation to 0 08-02 18:05:27.710: E/OMXCameraAdapter(1585): hardware/ti/omap3/camera-omap4/src/OMXCameraAdapter/OMXCameraAdapter.cpp:839 setParameters - SceneMode 0 08-02 18:05:27.710: E/OMXCameraAdapter(1585): Flash Setting (null) 08-02 18:05:27.710: E/OMXCameraAdapter(1585): FlashMode 1 08-02 18:05:27.710: E/OMXCameraAdapter(1585): hardware/ti/omap3/camera-omap4/src/OMXCameraAdapter/OMXCameraAdapter.cpp:866 setParameters - Effect 0 08-02 18:05:27.710: E/OMXCameraAdapter(1585): hardware/ti/omap3/camera-omap4/src/OMXCameraAdapter/OMXCameraAdapter.cpp:934 setParameters - Sensor Orientation set : 0 08-02 18:05:27.710: E/OMXCameraAdapter(1585): hardware/ti/omap3/camera-omap4/src/OMXCameraAdapter/OMXCameraAdapter.cpp:968 setParameters - IPP Mode set 0 08-02 18:05:27.710: E/OMXCameraAdapter(1585): hardware/ti/omap3/camera-omap4/src/OMXCameraAdapter/OMXCameraAdapter.cpp:1236 setParameters - AutoConvergenceMode 0, value = -30 08-02 18:05:27.710: E/OMXCameraAdapter(1585): hardware/ti/omap3/camera-omap4/src/OMXCameraAdapter/OMXCameraAdapter.cpp:1427 setParameters - EXIF Model: default_model 08-02 18:05:27.710: E/OMXCameraAdapter(1585): hardware/ti/omap3/camera-omap4/src/OMXCameraAdapter/OMXCameraAdapter.cpp:1437 setParameters - EXIF Make: default_make 08-02 18:05:27.710: I/StagefrightPlayer(1585): setDataSource('/system/media/audio/ui/camera_click.ogg') 08-02 18:05:27.710: D/AwesomePlayer(1585): setDataSource_l(/system/media/audio/ui/camera_click.ogg) 08-02 18:05:27.710: E/MPEG4Extractor(1585): both mdat,ftyp not found 08-02 18:05:27.718: D/ASFExtractor(1585): SniffASF Entered 08-02 18:05:27.718: D/ASFExtractor(1585): SniffASF ASF Header object not found 08-02 18:05:27.718: I/StagefrightPlayer(1585): setDataSource('/system/media/audio/ui/VideoRecord.ogg') 08-02 18:05:27.718: D/AwesomePlayer(1585): setDataSource_l(/system/media/audio/ui/VideoRecord.ogg) 08-02 18:05:27.718: E/MPEG4Extractor(1585): both mdat,ftyp not found 08-02 18:05:27.726: D/ASFExtractor(1585): SniffASF Entered 08-02 18:05:27.726: D/ASFExtractor(1585): SniffASF ASF Header object not found 08-02 18:05:27.742: I/CameraScanner(5339): Preview size: 480 640 08-02 18:05:27.742: W/System.err(5339): com.motorolasolutions.emdk.scanning.Scanner$ScannerExceptions: lcd_mode param not found !! 08-02 18:05:27.742: W/System.err(5339): at com.motorolasolutions.emdk.scanning.Scanner$Parameters.getValue(Scanner.java:980) 08-02 18:05:27.742: W/System.err(5339): at com.motorolasolutions.emdk.scanning.camera.CameraScanner.setupCameraParams(CameraScanner.java:752) 08-02 18:05:27.742: W/System.err(5339): at com.motorolasolutions.emdk.scanning.camera.CameraScanner.lockCameraResource(CameraScanner.java:288) 08-02 18:05:27.742: W/System.err(5339): at com.motorolasolutions.emdk.scanning.camera.CameraScanner.startScanning(CameraScanner.java:437) 08-02 18:05:27.742: W/System.err(5339): at com.motorolasolutions.rho.barcode.EMDKScanner.startTask(EMDKScanner.java:250) 08-02 18:05:27.742: W/System.err(5339): at com.motorolasolutions.rho.barcode.EMDKScanner.access$900(EMDKScanner.java:41) 08-02 18:05:27.742: W/System.err(5339): at com.motorolasolutions.rho.barcode.EMDKScanner$StartStopQueue.runNextTask(EMDKScanner.java:1877) 08-02 18:05:27.742: W/System.err(5339): at com.motorolasolutions.rho.barcode.EMDKScanner$StartStopQueue.add(EMDKScanner.java:1806) 08-02 18:05:27.742: W/System.err(5339): at com.motorolasolutions.rho.barcode.EMDKScanner.start(EMDKScanner.java:226) 08-02 18:05:27.742: W/System.err(5339): at com.motorolasolutions.rho.barcode.EMDKScanner.take(EMDKScanner.java:549) 08-02 18:05:27.742: W/System.err(5339): at com.rho.barcode.BarcodeBase$takeTask.run(BarcodeBase.java:9927) 08-02 18:05:27.742: W/System.err(5339): at java.lang.Thread.run(Thread.java:1019) 08-02 18:05:27.742: E/CameraHal(1585): hardware/ti/omap3/camera-omap4/src/CameraHal.cpp:426 setParameters - AutoConvergence mode is 0 08-02 18:05:27.742: E/CameraHal(1585): hardware/ti/omap3/camera-omap4/src/CameraHal.cpp:490 setParameters - FRAMERATE 30 08-02 18:05:27.742: E/CameraHal(1585): hardware/ti/omap3/camera-omap4/src/CameraHal.cpp:507 setParameters - FPS Range = 20000,30000 08-02 18:05:27.742: E/CameraHal(1585): hardware/ti/omap3/camera-omap4/src/CameraHal.cpp:537 setParameters - FPS Range [20, 30] 08-02 18:05:27.750: E/CameraHal(1585): hardware/ti/omap3/camera-omap4/src/CameraHal.cpp:874 setParameters - Positive bracketing range 1 08-02 18:05:27.750: E/CameraHal(1585): hardware/ti/omap3/camera-omap4/src/CameraHal.cpp:885 setParameters - Negative bracketing range 1 08-02 18:05:27.750: E/OMXCameraAdapter(1585): hardware/ti/omap3/camera-omap4/src/OMXCameraAdapter/OMXCameraAdapter.cpp:2201 setVFramerate - Error while setting VFR min = 20, max = 30, error = 0x80001005 08-02 18:05:27.750: E/OMXCameraAdapter(1585): hardware/ti/omap3/camera-omap4/src/OMXCameraAdapter/OMXCameraAdapter.cpp:764 setParameters - ISO mode arrived in HAL : auto 08-02 18:05:27.750: E/OMXCameraAdapter(1585): Flash Setting (null) 08-02 18:05:27.750: E/OMXCameraAdapter(1585): FlashMode 1 08-02 18:05:27.750: E/OMXCameraAdapter(1585): hardware/ti/omap3/camera-omap4/src/OMXCameraAdapter/OMXCameraAdapter.cpp:934 setParameters - Sensor Orientation set : 0 08-02 18:05:27.750: E/OMXCameraAdapter(1585): hardware/ti/omap3/camera-omap4/src/OMXCameraAdapter/OMXCameraAdapter.cpp:968 setParameters - IPP Mode set 0 08-02 18:05:27.750: E/OMXCameraAdapter(1585): hardware/ti/omap3/camera-omap4/src/OMXCameraAdapter/OMXCameraAdapter.cpp:1236 setParameters - AutoConvergenceMode 0, value = -30 08-02 18:05:27.750: E/OMXCameraAdapter(1585): hardware/ti/omap3/camera-omap4/src/OMXCameraAdapter/OMXCameraAdapter.cpp:1427 setParameters - EXIF Model: default_model 08-02 18:05:27.750: E/OMXCameraAdapter(1585): hardware/ti/omap3/camera-omap4/src/OMXCameraAdapter/OMXCameraAdapter.cpp:1437 setParameters - EXIF Make: default_make 08-02 18:05:27.757: D/CameraScanner(5339): waiting for result com.motorolasolutions.emdk.scanning.camera.CameraScanner$StateHandler@40599948 08-02 18:05:27.773: D/CameraScanner(5339): Exiting AF thread... nothing to do 08-02 18:05:27.781: W/dalvikvm(5339): threadid=18: thread exiting with uncaught exception (group=0x40015560) 08-02 18:05:27.781: E/AndroidRuntime(5339): FATAL EXCEPTION: CameraWorkerThread 08-02 18:05:27.781: E/AndroidRuntime(5339): android.view.WindowManager$BadTokenException: Unable to add window android.view.ViewRoot$W@4052e290 -- permission denied for this window type 08-02 18:05:27.781: E/AndroidRuntime(5339): at android.view.ViewRoot.setView(ViewRoot.java:551) 08-02 18:05:27.781: E/AndroidRuntime(5339): at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:177) 08-02 18:05:27.781: E/AndroidRuntime(5339): at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:91) 08-02 18:05:27.781: E/AndroidRuntime(5339): at android.view.Window$LocalWindowManager.addView(Window.java:424) 08-02 18:05:27.781: E/AndroidRuntime(5339): at android.app.Dialog.show(Dialog.java:241) 08-02 18:05:27.781: E/AndroidRuntime(5339): at com.motorolasolutions.emdk.scanning.camera.CameraScanner$WorkerThread$1.handleMessage(CameraScanner.java:1041) 08-02 18:05:27.781: E/AndroidRuntime(5339): at android.os.Handler.dispatchMessage(Handler.java:95) 08-02 18:05:27.781: E/AndroidRuntime(5339): at android.os.Looper.loop(Looper.java:130) 08-02 18:05:27.781: E/AndroidRuntime(5339): at android.os.HandlerThread.run(HandlerThread.java:60) 08-02 18:05:27.789: W/ActivityManager(1662): Force finishing activity com.rhomobile.walgreensmpos/com.rhomobile.rhodes.RhodesActivity 08-02 18:05:28.289: W/ActivityManager(1662): Activity pause timeout for HistoryRecord{408e5088 com.rhomobile.walgreensmpos/com.rhomobile.rhodes.RhodesActivity} 08-02 18:05:32.757: D/CameraScanner(5339): waiting for result com.motorolasolutions.emdk.scanning.camera.CameraScanner$StateHandler@40599948
rebuilt the rhoapi-modules.js file and the issue went away.
B47 - Barcode API enabling the camera – crashes
When enabling the camera in the Barcode API causes Rho to crash. Below is the logcat of the crash
08-02 18:05:27.398: I/Web Console(5339): {"method":"take","params":[{}],"rhoClass":"Rho.Barcode","rhoID":"EMDK0","jsonrpc":"2.0","id":3,"rhoCallback":{"id":"rhoID#0","vmID":null,"optParams":null}} at http://192.168.2.14:8444/i25wagscan/rhoapi-modules.js:4 08-02 18:05:27.398: I/APP(5339): T 08/02/2013 18:05:27:401 000014db Rhodes| rho_cast<string, jstring>: {"method":"take","params":[{}],"rhoClass":"Rho.Barcode","rhoID":"EMDK0","jsonrpc":"2.0","id":3,"rhoCallback":{"id":"rhoID#0","vmID":null,"optParams":null}} 08-02 18:05:27.398: I/APP(5339): T 08/02/2013 18:05:27:402 000014db js_helper| {"method":"take","params":[{}],"rhoClass":"Rho.Barcode","rhoID":"EMDK0","jsonrpc":"2.0","id":3,"rhoCallback":{"id":"rhoID#0","vmID":null,"optParams":null}} 08-02 18:05:27.398: I/APP(5339): T 08/02/2013 18:05:27:402 000014db js_helper| Parsing module class 08-02 18:05:27.398: I/APP(5339): T 08/02/2013 18:05:27:402 000014db js_helper| Parsing callback 08-02 18:05:27.398: I/APP(5339): T 08/02/2013 18:05:27:402 000014db js_helper| Got rhoCallback JSON object 08-02 18:05:27.398: I/APP(5339): T 08/02/2013 18:05:27:403 000014db js_helper| Calling API: object: EMDK0, method: Rho:Barcode:take, callback id: __rhoID#0 08-02 18:05:27.398: I/APP(5339): T 08/02/2013 18:05:27:403 000014db BarcodeJS| js_Barcode_take(id=EMDK0) 08-02 18:05:27.398: I/APP(5339): T 08/02/2013 18:05:27:403 000014db MethodResultJNI| jniInit - env: 0x0000ac30, functions: 0x800a3d68 08-02 18:05:27.398: I/APP(5339): T 08/02/2013 18:05:27:403 000014db MethodResultJNI| jniInit - env: 0x0000ac30, functions: 0x800a3d68 08-02 18:05:27.398: I/APP(5339): T 08/02/2013 18:05:27:403 000014db Rhodes| rho_cast<jstring, string>: rhoID#0 08-02 18:05:27.398: I/APP(5339): T 08/02/2013 18:05:27:404 000014db Rhodes| rho_cast<jstring, string>: 08-02 18:05:27.398: I/APP(5339): T 08/02/2013 18:05:27:404 000014db MethodResultJNI| setCallback 08-02 18:05:27.398: I/APP(5339): T 08/02/2013 18:05:27:405 000014db MethodResultJNI| Callback has been set ^^^ 08-02 18:05:27.398: I/APP(5339): T 08/02/2013 18:05:27:405 000014db BarcodeJNI| take 08-02 18:05:27.398: I/APP(5339): T 08/02/2013 18:05:27:406 000014db Rhodes| rho_cast<jstring, string>: EMDK0 08-02 18:05:27.398: I/APP(5339): T 08/02/2013 18:05:27:406 000014db Rhodes| RhoJniConvertor::initConvertor 08-02 18:05:27.406: I/APP(5339): T 08/02/2013 18:05:27:406 000014db MethodExecutorJNI| Run in thread -----> 08-02 18:05:27.406: I/APP(5339): T 08/02/2013 18:05:27:407 000014db MethodExecutor| Run in new thread 08-02 18:05:27.406: I/APP(5339): T 08/02/2013 18:05:27:408 000014db MethodResultJNI| Disconnect from local JNI reference 08-02 18:05:27.406: I/APP(5339): T 08/02/2013 18:05:27:408 000014db MethodResultJNI| jniInit - env: 0x0000ac30, functions: 0x800a3d68 08-02 18:05:27.406: I/APP(5339): T 08/02/2013 18:05:27:408 000014db MethodResultJNI| getResultType 08-02 18:05:27.406: I/APP(5339): T 08/02/2013 18:05:27:408 000014db MethodResultJNI| Native result type: 0 08-02 18:05:27.406: I/APP(5339): T 08/02/2013 18:05:27:408 000014db MethodResultJNI| jniInit - env: 0x0000ac30, functions: 0x800a3d68 08-02 18:05:27.406: I/APP(5339): T 08/02/2013 18:05:27:408 000014db MethodResultJNI| getResultType 08-02 18:05:27.406: I/APP(5339): T 08/02/2013 18:05:27:409 000014db MethodResultJNI| Native result type: 0 08-02 18:05:27.406: I/APP(5339): T 08/02/2013 18:05:27:409 000014db MethodResultJNI| jniInit - env: 0x0000ac30, functions: 0x800a3d68 08-02 18:05:27.406: I/APP(5339): T 08/02/2013 18:05:27:409 000014db MethodResultJNI| getResultType 08-02 18:05:27.406: I/APP(5339): T 08/02/2013 18:05:27:409 000014db MethodResultJNI| Native result type: 0 08-02 18:05:27.406: I/APP(5339): T 08/02/2013 18:05:27:409 000014db MethodResultJNI| jniInit - env: 0x0000ac30, functions: 0x800a3d68 08-02 18:05:27.406: I/APP(5339): T 08/02/2013 18:05:27:409 000014db MethodResultJNI| getResultType 08-02 18:05:27.406: I/APP(5339): T 08/02/2013 18:05:27:409 000014db MethodResultJNI| Native result type: 0 08-02 18:05:27.406: I/APP(5339): T 08/02/2013 18:05:27:409 000014db MethodResultJNI| jniInit - env: 0x0000ac30, functions: 0x800a3d68 08-02 18:05:27.406: I/APP(5339): T 08/02/2013 18:05:27:409 000014db MethodResultJNI| getResultType 08-02 18:05:27.406: I/APP(5339): T 08/02/2013 18:05:27:409 000014db MethodResultJNI| Native result type: 0 08-02 18:05:27.406: I/APP(5339): T 08/02/2013 18:05:27:410 000014db BarcodeJS| "result":null 08-02 18:05:27.406: I/APP(5339): T 08/02/2013 18:05:27:410 000014db BarcodeJS| js_Barcode_take(id=EMDK0) end ^^^ 08-02 18:05:27.406: I/APP(5339): T 08/02/2013 18:05:27:410 000014db Rhodes| rho_cast<jstring, string>: {"jsonrpc": "2.0", "result":null, "id": 3} 08-02 18:05:27.414: I/APP(5339): T 08/02/2013 18:05:27:416 000014f4 MethodResult| set("") 08-02 18:05:27.414: I/APP(5339): T 08/02/2013 18:05:27:416 000014f4 MethodResult| Callback: , data: ; Tab id: -1; resultType: typeString; result: "" 08-02 18:05:27.414: I/APP(5339): T 08/02/2013 18:05:27:417 000014f4 MethodResult| set("250") 08-02 18:05:27.414: I/Web Console(5339): {"method":"friendlyName","params":[],"rhoClass":"Rho.Barcode","rhoID":"EMDK1","jsonrpc":"2.0","id":4} at http://192.168.2.14:8444/i25wagscan/rhoapi-modules.js:4 08-02 18:05:27.414: I/APP(5339): T 08/02/2013 18:05:27:417 000014db Rhodes| rho_cast<string, jstring>: {"method":"friendlyName","params":[],"rhoClass":"Rho.Barcode","rhoID":"EMDK1","jsonrpc":"2.0","id":4} 08-02 18:05:27.414: I/APP(5339): T 08/02/2013 18:05:27:417 000014db js_helper| {"method":"friendlyName","params":[],"rhoClass":"Rho.Barcode","rhoID":"EMDK1","jsonrpc":"2.0","id":4} 08-02 18:05:27.414: I/APP(5339): T 08/02/2013 18:05:27:417 000014f4 MethodResult| set(250) 08-02 18:05:27.414: I/APP(5339): T 08/02/2013 18:05:27:417 000014f4 MethodResult| Callback: , data: ; Tab id: -1; resultType: typeInteger; result: 250 08-02 18:05:27.414: I/APP(5339): T 08/02/2013 18:05:27:417 000014db js_helper| Parsing module class 08-02 18:05:27.414: I/APP(5339): T 08/02/2013 18:05:27:418 000014db js_helper| Calling API: object: EMDK1, method: Rho:Barcode:friendlyName, callback id: 08-02 18:05:27.414: I/APP(5339): T 08/02/2013 18:05:27:418 000014db BarcodeJS| js_Barcode_getFriendlyName(id=EMDK1) 08-02 18:05:27.414: I/APP(5339): T 08/02/2013 18:05:27:418 000014db MethodResultJNI| jniInit - env: 0x0000ac30, functions: 0x800a3d68 08-02 18:05:27.414: I/APP(5339): T 08/02/2013 18:05:27:418 000014db BarcodeJNI| getFriendlyName 08-02 18:05:27.414: I/APP(5339): T 08/02/2013 18:05:27:420 000014db Rhodes| rho_cast<jstring, string>: EMDK1 08-02 18:05:27.414: I/APP(5339): T 08/02/2013 18:05:27:418 000014f4 MethodResult| set("3000") 08-02 18:05:27.414: D/Scanner(5339): Scanner() SupportedScanners 3 08-02 18:05:27.414: I/APP(5339): T 08/02/2013 18:05:27:421 000014f4 MethodResult| set(3000) 08-02 18:05:27.414: I/APP(5339): T 08/02/2013 18:05:27:421 000014f4 MethodResult| Callback: , data: ; Tab id: -1; resultType: typeInteger; result: 3000 08-02 18:05:27.414: I/libimgkit(5339): Decoder library version is 327695 08-02 18:05:27.414: W/InputManagerService(1662): Window already focused, ignoring focus gain of: com.android.internal.view.IInputMethodClient$Stub$Proxy@408287a8 08-02 18:05:27.421: I/libimgkit(5339): Decoder library version is 327695 08-02 18:05:27.421: I/APP(5339): T 08/02/2013 18:05:27:421 000014f4 MethodResult| set("5") 08-02 18:05:27.445: D/dalvikvm(5339): GC_FOR_MALLOC freed 242K, 44% free 4198K/7431K, external 3588K/3999K, paused 27ms 08-02 18:05:27.445: I/APP(5339): T 08/02/2013 18:05:27:452 000014f4 MethodResult| set(5) 08-02 18:05:27.445: I/APP(5339): T 08/02/2013 18:05:27:452 000014f4 MethodResult| Callback: , data: ; Tab id: -1; resultType: typeInteger; result: 5 08-02 18:05:27.460: D/DecLib_SSI(5339): [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 555, 13, 14, 15, 17, 16, 19, 18, 21, 20, 23, 22, 575, 25, 574, 24, 573, 27, 26, 29, 28, 31, 30, 34, 35, 38, 39, 514, 36, 37, 313, 42, 43, 40, 314, 41, 46, 47, 44, 45, 51, 50, 290, 49, 291, 48, 292, 55, 293, 54, 294, 295, 52, 59, 58, 298, 537, 63, 62, 61, 60, 611, 342, 341, 340, 339, 64, 338, 65, 337, 618, 619, 77, 78, 617, 622, 623, 620, 621, 344, 326, 85, 84, 86, 80, 83, 82, 93, 92, 95, 89, 91, 90, 577, 578, 375, 374, 581, 371, 96, 583, 97, 584, 381, 377, 376, 595, 594, 597, 596, 599, 598, 601, 600, 603, 366, 602, 367, 123, 361, 410, 411, 408, 409, 414, 412, 413, 402, 673, 672, 397, 653, 652, 655, 654, 651, 656, 421, 657, 658, 659, 422, 207, 751, 750, 223, 208, 209, 210, 233, 718, 705, 231, 227, 728, 730, 727] 08-02 18:05:27.460: E/libimgkit(5339): DecParamSet failed to set 0x16b to 0x0. Error 11 08-02 18:05:27.468: D/CSP(5339): 53 Random Weight Check Digit not supported by DecoderLibrary 08-02 18:05:27.468: D/CSP(5339): 68 Linear Decode not supported by DecoderLibrary 08-02 18:05:27.476: D/CSP(5339): 576 Bookland Format not supported by DecoderLibrary 08-02 18:05:27.476: D/CSP(5339): 224 Convert EAN8 To EAN13 not supported by DecoderLibrary 08-02 18:05:27.476: D/DecLib_SSI(5339): Resyncing params: 08-02 18:05:27.492: I/StagefrightPlayer(1585): setDataSource('/mnt/sdcard/Android/data/com.rhomobile.walgreensmpos/cache/decodeWav.wav') 08-02 18:05:27.492: D/AwesomePlayer(1585): setDataSource_l(/mnt/sdcard/Android/data/com.rhomobile.walgreensmpos/cache/decodeWav.wav) 08-02 18:05:27.492: E/MPEG4Extractor(1585): both mdat,ftyp not found 08-02 18:05:27.500: D/ASFExtractor(1585): SniffASF Entered 08-02 18:05:27.500: D/ASFExtractor(1585): SniffASF ASF Header object not found 08-02 18:05:27.523: D/CSP(5339): 66 Redundancy not supported by DecoderLibrary 08-02 18:05:27.539: D/SPB(5339): Parsing DATACAPTURE_LED_ID and value is set to 8 08-02 18:05:27.562: I/StagefrightPlayer(1585): setDataSource('system/media/audio/notifications/decode.wav') 08-02 18:05:27.562: D/AwesomePlayer(1585): setDataSource_l(system/media/audio/notifications/decode.wav) 08-02 18:05:27.562: E/MPEG4Extractor(1585): both mdat,ftyp not found 08-02 18:05:27.570: D/ASFExtractor(1585): SniffASF Entered 08-02 18:05:27.570: D/ASFExtractor(1585): SniffASF ASF Header object not found 08-02 18:05:27.570: I/APP(5339): T 08/02/2013 18:05:27:577 000014db MethodExecutorJNI| Run in current thread -----> 08-02 18:05:27.570: I/APP(5339): T 08/02/2013 18:05:27:577 000014db MethodExecutor| Run in current thread 08-02 18:05:27.570: I/APP(5339): T 08/02/2013 18:05:27:578 000014db MethodResult| set("2D Imager") 08-02 18:05:27.578: I/APP(5339): T 08/02/2013 18:05:27:578 000014db MethodResult| Callback: , data: ; Tab id: -1; resultType: typeString; result: "2D Imager" 08-02 18:05:27.578: I/APP(5339): T 08/02/2013 18:05:27:578 000014db MethodResultJNI| jniInit - env: 0x0000ac30, functions: 0x800a3d68 08-02 18:05:27.578: I/APP(5339): T 08/02/2013 18:05:27:578 000014db MethodResultJNI| getResultType 08-02 18:05:27.578: I/APP(5339): T 08/02/2013 18:05:27:579 000014db MethodResult| getResultType: typeString - 4 08-02 18:05:27.578: I/APP(5339): T 08/02/2013 18:05:27:579 000014db MethodResultJNI| Java result type: 4 08-02 18:05:27.578: I/APP(5339): T 08/02/2013 18:05:27:579 000014db MethodResultJNI| jniInit - env: 0x0000ac30, functions: 0x800a3d68 08-02 18:05:27.578: I/APP(5339): T 08/02/2013 18:05:27:579 000014db MethodResultJNI| getStringResult 08-02 18:05:27.578: I/APP(5339): T 08/02/2013 18:05:27:579 000014db Rhodes| rho_cast<string, jstring>: 2D Imager 08-02 18:05:27.578: I/APP(5339): T 08/02/2013 18:05:27:580 000014db MethodResultJNI| jniInit - env: 0x0000ac30, functions: 0x800a3d68 08-02 18:05:27.578: I/APP(5339): T 08/02/2013 18:05:27:580 000014db MethodResultJNI| getObjectClassPath 08-02 18:05:27.578: I/APP(5339): T 08/02/2013 18:05:27:580 000014db Rhodes| rho_cast<string, jstring>: "" 08-02 18:05:27.578: I/APP(5339): T 08/02/2013 18:05:27:580 000014db BarcodeJS| "result":"2D Imager" 08-02 18:05:27.578: I/APP(5339): T 08/02/2013 18:05:27:580 000014db BarcodeJS| js_Barcode_getFriendlyName(id=EMDK1) end ^^^ 08-02 18:05:27.578: I/APP(5339): T 08/02/2013 18:05:27:581 000014db Rhodes| rhocast<jstring, string>: {"jsonrpc": "2.0", "result":"2D Imager", "id": 4} 08-02 18:05:27.695: E/OMXCameraAdapter(1585): hardware/ti/omap3/camera-omap4/src/OMXCameraAdapter/OMXCameraAdapter.cpp:256 initialize - Sensor 0 selected successfully 08-02 18:05:27.695: E/CameraHal(1585): hardware/ti/omap3/camera-omap4/src/CameraHal.cpp:3268 initDefaultParameters - width 640 height 480 08-02 18:05:27.703: E/CameraHal(1585): hardware/ti/omap3/camera-omap4/src/CameraHal.cpp:426 setParameters - AutoConvergence mode is 0 08-02 18:05:27.703: E/CameraHal(1585): hardware/ti/omap3/camera-omap4/src/CameraHal.cpp:490 setParameters - FRAMERATE 30 08-02 18:05:27.703: E/CameraHal(1585): hardware/ti/omap3/camera-omap4/src/CameraHal.cpp:500 setParameters - FPS Range [30, 30] 08-02 18:05:27.703: E/CameraHal(1585): hardware/ti/omap3/camera-omap4/src/CameraHal.cpp:874 setParameters - Positive bracketing range 1 08-02 18:05:27.703: E/CameraHal(1585): hardware/ti/omap3/camera-omap4/src/CameraHal.cpp:885 setParameters - Negative bracketing range 1 08-02 18:05:27.703: E/OMXCameraAdapter(1585): hardware/ti/omap3/camera-omap4/src/OMXCameraAdapter/OMXCameraAdapter.cpp:2201 setVFramerate - Error while setting VFR min = 30, max = 30, error = 0x80001005 08-02 18:05:27.703: D/OMXCameraAdapter(1585): *\ IMG Width = 3264 08-02 18:05:27.703: D/OMXCameraAdapter(1585): *IMG Height = 2448 08-02 18:05:27.703: D/OMXCameraAdapter(1585): IMG IMG FMT = 1b 08-02 18:05:27.703: D/OMXCameraAdapter(1585): *IMG portCheck.nBufferSize = 8388608 08-02 18:05:27.703: D/OMXCameraAdapter(1585): __IMG portCheck.nBufferCountMin = 1 08-02 18:05:27.703: D/OMXCameraAdapter(1585): _IMG portCheck.nBufferCountActual = 0 08-02 18:05:27.710: D/OMXCameraAdapter(1585): **IMG portCheck.format.image.nStride = 6528 08-02 18:05:27.710: E/OMXCameraAdapter(1585): hardware/ti/omap3/camera-omap4/src/OMXCameraAdapter/OMXCameraAdapter.cpp:715 setParameters - Contrast 0 08-02 18:05:27.710: E/OMXCameraAdapter(1585): hardware/ti/omap3/camera-omap4/src/OMXCameraAdapter/OMXCameraAdapter.cpp:725 setParameters - Sharpness 0 08-02 18:05:27.710: E/OMXCameraAdapter(1585): hardware/ti/omap3/camera-omap4/src/OMXCameraAdapter/OMXCameraAdapter.cpp:735 setParameters - Saturation 0 08-02 18:05:27.710: E/OMXCameraAdapter(1585): hardware/ti/omap3/camera-omap4/src/OMXCameraAdapter/OMXCameraAdapter.cpp:745 setParameters - Brightness 50 08-02 18:05:27.710: E/OMXCameraAdapter(1585): hardware/ti/omap3/camera-omap4/src/OMXCameraAdapter/OMXCameraAdapter.cpp:755 setParameters - Flicker 1 08-02 18:05:27.710: E/OMXCameraAdapter(1585): hardware/ti/omap3/camera-omap4/src/OMXCameraAdapter/OMXCameraAdapter.cpp:764 setParameters - ISO mode arrived in HAL : auto 08-02 18:05:27.710: E/OMXCameraAdapter(1585): hardware/ti/omap3/camera-omap4/src/OMXCameraAdapter/OMXCameraAdapter.cpp:768 setParameters - ISO 0 08-02 18:05:27.710: E/OMXCameraAdapter(1585): hardware/ti/omap3/camera-omap4/src/OMXCameraAdapter/OMXCameraAdapter.cpp:794 setParameters - Focus 2 08-02 18:05:27.710: E/OMXCameraAdapter(1585): hardware/ti/omap3/camera-omap4/src/OMXCameraAdapter/OMXCameraAdapter.cpp:814 setParameters - Setting EV Compensation to 0 08-02 18:05:27.710: E/OMXCameraAdapter(1585): hardware/ti/omap3/camera-omap4/src/OMXCameraAdapter/OMXCameraAdapter.cpp:839 setParameters - SceneMode 0 08-02 18:05:27.710: E/OMXCameraAdapter(1585): Flash Setting (null) 08-02 18:05:27.710: E/OMXCameraAdapter(1585): FlashMode 1 08-02 18:05:27.710: E/OMXCameraAdapter(1585): hardware/ti/omap3/camera-omap4/src/OMXCameraAdapter/OMXCameraAdapter.cpp:866 setParameters - Effect 0 08-02 18:05:27.710: E/OMXCameraAdapter(1585): hardware/ti/omap3/camera-omap4/src/OMXCameraAdapter/OMXCameraAdapter.cpp:934 setParameters - Sensor Orientation set : 0 08-02 18:05:27.710: E/OMXCameraAdapter(1585): hardware/ti/omap3/camera-omap4/src/OMXCameraAdapter/OMXCameraAdapter.cpp:968 setParameters - IPP Mode set 0 08-02 18:05:27.710: E/OMXCameraAdapter(1585): hardware/ti/omap3/camera-omap4/src/OMXCameraAdapter/OMXCameraAdapter.cpp:1236 setParameters - AutoConvergenceMode 0, value = -30 08-02 18:05:27.710: E/OMXCameraAdapter(1585): hardware/ti/omap3/camera-omap4/src/OMXCameraAdapter/OMXCameraAdapter.cpp:1427 setParameters - EXIF Model: default_model 08-02 18:05:27.710: E/OMXCameraAdapter(1585): hardware/ti/omap3/camera-omap4/src/OMXCameraAdapter/OMXCameraAdapter.cpp:1437 setParameters - EXIF Make: default_make 08-02 18:05:27.710: I/StagefrightPlayer(1585): setDataSource('/system/media/audio/ui/camera_click.ogg') 08-02 18:05:27.710: D/AwesomePlayer(1585): setDataSource_l(/system/media/audio/ui/camera_click.ogg) 08-02 18:05:27.710: E/MPEG4Extractor(1585): both mdat,ftyp not found 08-02 18:05:27.718: D/ASFExtractor(1585): SniffASF Entered 08-02 18:05:27.718: D/ASFExtractor(1585): SniffASF ASF Header object not found 08-02 18:05:27.718: I/StagefrightPlayer(1585): setDataSource('/system/media/audio/ui/VideoRecord.ogg') 08-02 18:05:27.718: D/AwesomePlayer(1585): setDataSource_l(/system/media/audio/ui/VideoRecord.ogg) 08-02 18:05:27.718: E/MPEG4Extractor(1585): both mdat,ftyp not found 08-02 18:05:27.726: D/ASFExtractor(1585): SniffASF Entered 08-02 18:05:27.726: D/ASFExtractor(1585): SniffASF ASF Header object not found 08-02 18:05:27.742: I/CameraScanner(5339): Preview size: 480 640 08-02 18:05:27.742: W/System.err(5339): com.motorolasolutions.emdk.scanning.Scanner$ScannerExceptions: lcd_mode param not found !! 08-02 18:05:27.742: W/System.err(5339): at com.motorolasolutions.emdk.scanning.Scanner$Parameters.getValue(Scanner.java:980) 08-02 18:05:27.742: W/System.err(5339): at com.motorolasolutions.emdk.scanning.camera.CameraScanner.setupCameraParams(CameraScanner.java:752) 08-02 18:05:27.742: W/System.err(5339): at com.motorolasolutions.emdk.scanning.camera.CameraScanner.lockCameraResource(CameraScanner.java:288) 08-02 18:05:27.742: W/System.err(5339): at com.motorolasolutions.emdk.scanning.camera.CameraScanner.startScanning(CameraScanner.java:437) 08-02 18:05:27.742: W/System.err(5339): at com.motorolasolutions.rho.barcode.EMDKScanner.startTask(EMDKScanner.java:250) 08-02 18:05:27.742: W/System.err(5339): at com.motorolasolutions.rho.barcode.EMDKScanner.access$900(EMDKScanner.java:41) 08-02 18:05:27.742: W/System.err(5339): at com.motorolasolutions.rho.barcode.EMDKScanner$StartStopQueue.runNextTask(EMDKScanner.java:1877) 08-02 18:05:27.742: W/System.err(5339): at com.motorolasolutions.rho.barcode.EMDKScanner$StartStopQueue.add(EMDKScanner.java:1806) 08-02 18:05:27.742: W/System.err(5339): at com.motorolasolutions.rho.barcode.EMDKScanner.start(EMDKScanner.java:226) 08-02 18:05:27.742: W/System.err(5339): at com.motorolasolutions.rho.barcode.EMDKScanner.take(EMDKScanner.java:549) 08-02 18:05:27.742: W/System.err(5339): at com.rho.barcode.BarcodeBase$takeTask.run(BarcodeBase.java:9927) 08-02 18:05:27.742: W/System.err(5339): at java.lang.Thread.run(Thread.java:1019) 08-02 18:05:27.742: E/CameraHal(1585): hardware/ti/omap3/camera-omap4/src/CameraHal.cpp:426 setParameters - AutoConvergence mode is 0 08-02 18:05:27.742: E/CameraHal(1585): hardware/ti/omap3/camera-omap4/src/CameraHal.cpp:490 setParameters - FRAMERATE 30 08-02 18:05:27.742: E/CameraHal(1585): hardware/ti/omap3/camera-omap4/src/CameraHal.cpp:507 setParameters - FPS Range = 20000,30000 08-02 18:05:27.742: E/CameraHal(1585): hardware/ti/omap3/camera-omap4/src/CameraHal.cpp:537 setParameters - FPS Range [20, 30] 08-02 18:05:27.750: E/CameraHal(1585): hardware/ti/omap3/camera-omap4/src/CameraHal.cpp:874 setParameters - Positive bracketing range 1 08-02 18:05:27.750: E/CameraHal(1585): hardware/ti/omap3/camera-omap4/src/CameraHal.cpp:885 setParameters - Negative bracketing range 1 08-02 18:05:27.750: E/OMXCameraAdapter(1585): hardware/ti/omap3/camera-omap4/src/OMXCameraAdapter/OMXCameraAdapter.cpp:2201 setVFramerate - Error while setting VFR min = 20, max = 30, error = 0x80001005 08-02 18:05:27.750: E/OMXCameraAdapter(1585): hardware/ti/omap3/camera-omap4/src/OMXCameraAdapter/OMXCameraAdapter.cpp:764 setParameters - ISO mode arrived in HAL : auto 08-02 18:05:27.750: E/OMXCameraAdapter(1585): Flash Setting (null) 08-02 18:05:27.750: E/OMXCameraAdapter(1585): FlashMode 1 08-02 18:05:27.750: E/OMXCameraAdapter(1585): hardware/ti/omap3/camera-omap4/src/OMXCameraAdapter/OMXCameraAdapter.cpp:934 setParameters - Sensor Orientation set : 0 08-02 18:05:27.750: E/OMXCameraAdapter(1585): hardware/ti/omap3/camera-omap4/src/OMXCameraAdapter/OMXCameraAdapter.cpp:968 setParameters - IPP Mode set 0 08-02 18:05:27.750: E/OMXCameraAdapter(1585): hardware/ti/omap3/camera-omap4/src/OMXCameraAdapter/OMXCameraAdapter.cpp:1236 setParameters - AutoConvergenceMode 0, value = -30 08-02 18:05:27.750: E/OMXCameraAdapter(1585): hardware/ti/omap3/camera-omap4/src/OMXCameraAdapter/OMXCameraAdapter.cpp:1427 setParameters - EXIF Model: default_model 08-02 18:05:27.750: E/OMXCameraAdapter(1585): hardware/ti/omap3/camera-omap4/src/OMXCameraAdapter/OMXCameraAdapter.cpp:1437 setParameters - EXIF Make: default_make 08-02 18:05:27.757: D/CameraScanner(5339): waiting for result com.motorolasolutions.emdk.scanning.camera.CameraScanner$StateHandler@40599948 08-02 18:05:27.773: D/CameraScanner(5339): Exiting AF thread... nothing to do 08-02 18:05:27.781: W/dalvikvm(5339): threadid=18: thread exiting with uncaught exception (group=0x40015560) 08-02 18:05:27.781: E/AndroidRuntime(5339): FATAL EXCEPTION: CameraWorkerThread 08-02 18:05:27.781: E/AndroidRuntime(5339): android.view.WindowManager$BadTokenException: Unable to add window android.view.ViewRoot$W@4052e290 -- permission denied for this window type 08-02 18:05:27.781: E/AndroidRuntime(5339): at android.view.ViewRoot.setView(ViewRoot.java:551) 08-02 18:05:27.781: E/AndroidRuntime(5339): at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:177) 08-02 18:05:27.781: E/AndroidRuntime(5339): at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:91) 08-02 18:05:27.781: E/AndroidRuntime(5339): at android.view.Window$LocalWindowManager.addView(Window.java:424) 08-02 18:05:27.781: E/AndroidRuntime(5339): at android.app.Dialog.show(Dialog.java:241) 08-02 18:05:27.781: E/AndroidRuntime(5339): at com.motorolasolutions.emdk.scanning.camera.CameraScanner$WorkerThread$1.handleMessage(CameraScanner.java:1041) 08-02 18:05:27.781: E/AndroidRuntime(5339): at android.os.Handler.dispatchMessage(Handler.java:95) 08-02 18:05:27.781: E/AndroidRuntime(5339): at android.os.Looper.loop(Looper.java:130) 08-02 18:05:27.781: E/AndroidRuntime(5339): at android.os.HandlerThread.run(HandlerThread.java:60) 08-02 18:05:27.789: W/ActivityManager(1662): Force finishing activity com.rhomobile.walgreensmpos/com.rhomobile.rhodes.RhodesActivity 08-02 18:05:28.289: W/ActivityManager(1662): Activity pause timeout for HistoryRecord{408e5088 com.rhomobile.walgreensmpos/com.rhomobile.rhodes.RhodesActivity} 08-02 18:05:32.757: D/CameraScanner(5339): waiting for result com.motorolasolutions.emdk.scanning.camera.CameraScanner$StateHandler@40599948