Closed abelatar closed 1 year ago
Bonjour, cette trace mentionne l'utilisation de la caméra... mais le TC27 est un device doté d'un laser. Que cherchais tu à faire ?
Si possible à retester avec la version 2.3.0
Bonjour Marc-Antoine, Oui cela existe toujours même avec la version 2.3.0 , je viens de tester sur un Xcover 4S et il y a le même problème, de plus en mode portrait c'est quasi impossible de scanner sur un Xcover (la prévisu de la camera semple compressé horizontalement)
Voici les traces sur Xcover :
createTrack_l(0): AUDIO_OUTPUT_FLAG_FAST successful; frameCount 960 -> 960
D setVolume(1.000000, 1.000000) pid : 9234
D stop(25): called with 1920 frames delivered
BARCODE D FPS: 19.802664 - Pool size: 8. Current analysis queue depth: 0. Current res: 3840*2160. Statistics are: {Point(3840, 2160)=1}
D barcode read: 90200371338350675999
CamBarcod...nVScanner V handleScanResult 90200371338350675999 - CODE128
Classific...nActivity I onData handled in ClassificationActivity
D first scan on batch mode
geodis.mobipre I Background concurrent copying GC freed 735(196KB) AllocSpace objects, 13(59MB) LOS objects, 15% free, 129MB/153MB, paused 4.905ms total 444.521ms
I WaitForGcToComplete blocked Alloc on HeapTrim for 342.573ms
I Starting a blocking GC Alloc
AudioTrack I createTrack_l(-1005584384): AUDIO_OUTPUT_FLAG_FAST successful; frameCount 960 -> 960
D setVolume(1.000000, 1.000000) pid : 9234
D stop(26): called with 1024 frames delivered
geodis.mobipre I Waiting for a blocking GC Alloc
I Background concurrent copying GC freed 1011(258KB) AllocSpace objects, 15(68MB) LOS objects, 16% free, 121MB/145MB, paused 205us total 205.411ms
I WaitForGcToComplete blocked Alloc on HeapTrim for 63.477ms
I Starting a blocking GC Alloc
I Waiting for a blocking GC Alloc
I Background concurrent copying GC freed 804(178KB) AllocSpace objects, 21(64MB) LOS objects, 16% free, 124MB/148MB, paused 1.535ms total 276.926ms
I WaitForGcToComplete blocked Alloc on HeapTrim for 71.910ms
I Starting a blocking GC Alloc
I Waiting for a blocking GC Alloc
I Background concurrent copying GC freed 981(181KB) AllocSpace objects, 12(66MB) LOS objects, 16% free, 117MB/141MB, paused 858us total 181.582ms
I WaitForGcToComplete blocked Alloc on HeapTrim for 34.025ms
I Starting a blocking GC Alloc
BARCODE D FPS: 20.238422 - Pool size: 8. Current analysis queue depth: 4. Current res: 3840*2160. Statistics are: {Point(3840, 2160)=2}
geodis.mobipre I Waiting for a blocking GC Alloc
I Background concurrent copying GC freed 685(193KB) AllocSpace objects, 13(52MB) LOS objects, 15% free, 133MB/157MB, paused 216us total 224.306ms
I WaitForGcToComplete blocked Alloc on HeapTrim for 15.964ms
I Starting a blocking GC Alloc
I Waiting for a blocking GC Alloc
I Background concurrent copying GC freed 728(176KB) AllocSpace objects, 10(50MB) LOS objects, 14% free, 136MB/160MB, paused 9.331ms total 206.732ms
I WaitForGcToComplete blocked Alloc on HeapTrim for 61.994ms
I Starting a blocking GC Alloc
I Waiting for a blocking GC Alloc
I Background concurrent copying GC freed 658(191KB) AllocSpace objects, 12(51MB) LOS objects, 14% free, 137MB/161MB, paused 3.202ms total 306.523ms
I WaitForGcToComplete blocked Alloc on HeapTrim for 185.525ms
I Starting a blocking GC Alloc
I Waiting for a blocking GC Alloc
I Background concurrent copying GC freed 876(191KB) AllocSpace objects, 15(75MB) LOS objects, 17% free, 113MB/137MB, paused 543us total 187.806ms
I WaitForGcToComplete blocked Alloc on HeapTrim for 52.551ms
I Starting a blocking GC Alloc
BARCODE D FPS: 25.74352 - Pool size: 8. Current analysis queue depth: 0. Current res: 3840*2160. Statistics are: {Point(3840, 2160)=3}
geodis.mobipre I Waiting for a blocking GC Alloc
I Background concurrent copying GC freed 679(177KB) AllocSpace objects, 18(55MB) LOS objects, 15% free, 135MB/159MB, paused 3.672ms total 287.187ms
I WaitForGcToComplete blocked Alloc on HeapTrim for 15.102ms
I Starting a blocking GC Alloc
I Waiting for a blocking GC Alloc
I Background concurrent copying GC freed 955(190KB) AllocSpace objects, 13(66MB) LOS objects, 16% free, 118MB/142MB, paused 3.057ms total 212.534ms
I WaitForGcToComplete blocked Alloc on HeapTrim for 87.613ms
I Starting a blocking GC Alloc
I Waiting for a blocking GC Alloc
I Background concurrent copying GC freed 635(191KB) AllocSpace objects, 11(43MB) LOS objects, 14% free, 145MB/169MB, paused 11.419ms total 250.404ms
I WaitForGcToComplete blocked Alloc on HeapTrim for 67.957ms
I Starting a blocking GC Alloc
I Waiting for a blocking GC Alloc
I Background concurrent copying GC freed 855(194KB) AllocSpace objects, 15(82MB) LOS objects, 18% free, 105MB/129MB, paused 274us total 231.549ms
I WaitForGcToComplete blocked Alloc on HeapTrim for 135.646ms
I Starting a blocking GC Alloc
I Background concurrent copying GC freed 654(191KB) AllocSpace objects, 15(46MB) LOS objects, 17% free, 110MB/134MB, paused 508us total 134.585ms
BARCODE D FPS: 27.778875 - Pool size: 8. Current analysis queue depth: 0. Current res: 3840*2160. Statistics are: {Point(3840, 2160)=4}
geodis.mobipre I Background concurrent copying GC freed 672(177KB) AllocSpace objects, 14(52MB) LOS objects, 16% free, 125MB/149MB, paused 704us total 176.853ms
I Waiting for a blocking GC Alloc
I Background concurrent copying GC freed 765(209KB) AllocSpace objects, 13(66MB) LOS objects, 16% free, 120MB/144MB, paused 2.898ms total 276.293ms
I WaitForGcToComplete blocked Alloc on HeapTrim for 106.341ms
I Starting a blocking GC Alloc
I Background concurrent copying GC freed 791(190KB) AllocSpace objects, 13(59MB) LOS objects, 16% free, 120MB/144MB, paused 262us total 139.269ms
I Background concurrent copying GC freed 724(192KB) AllocSpace objects, 19(70MB) LOS objects, 16% free, 117MB/141MB, paused 1.329ms total 201.104ms
BARCODE D FPS: 24.394356 - Pool size: 8. Current analysis queue depth: 1. Current res: 3840*2160. Statistics are: {Point(3840, 2160)=5}
geodis.mobipre I Waiting for a blocking GC Alloc
I Background concurrent copying GC freed 894(175KB) AllocSpace objects, 11(50MB) LOS objects, 14% free, 136MB/160MB, paused 1.269ms total 252.665ms
I WaitForGcToComplete blocked Alloc on HeapTrim for 45.964ms
I Starting a blocking GC Alloc
I Waiting for a blocking GC Alloc
I Background concurrent copying GC freed 715(208KB) AllocSpace objects, 13(66MB) LOS objects, 16% free, 121MB/145MB, paused 264us total 227.524ms
I WaitForGcToComplete blocked Alloc on HeapTrim for 99.796ms
I Starting a blocking GC Alloc
I Waiting for a blocking GC Alloc
I Background concurrent copying GC freed 721(176KB) AllocSpace objects, 15(60MB) LOS objects, 15% free, 127MB/151MB, paused 2.123ms total 203.810ms
I Starting a blocking GC Alloc
I Waiting for a blocking GC Alloc
BARCODE D FPS: 26.251047 - Pool size: 8. Current analysis queue depth: 2. Current res: 3840*2160. Statistics are: {Point(3840, 2160)=6}
I Changing preview resolution from 3840*2160 to 4608*2592
D New preview resolution set
D Image reader already created
D FPS: 27.044455 - Pool size: 8. Current analysis queue depth: 2. Current res: 4608*2592. Statistics are: {Point(3840, 2160)=7}
geodis.mobipre I Background concurrent copying GC freed 762(175KB) AllocSpace objects, 13(52MB) LOS objects, 14% free, 137MB/161MB, paused 915us total 267.676ms
I WaitForGcToComplete blocked Alloc on HeapTrim for 67.498ms
I Starting a blocking GC Alloc
I Waiting for a blocking GC Alloc
I Background concurrent copying GC freed 852(191KB) AllocSpace objects, 17(77MB) LOS objects, 17% free, 113MB/137MB, paused 1.284ms total 149.220ms
I WaitForGcToComplete blocked Alloc on HeapTrim for 26.510ms
I Starting a blocking GC Alloc
I Background concurrent copying GC freed 503(147KB) AllocSpace objects, 12(38MB) LOS objects, 20% free, 94MB/118MB, paused 145us total 110.535ms
ImageReader_JNI W Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
W Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
BARCODE W Too many images being borrowed from reader
java.lang.IllegalStateException: maxImages (16) has already been acquired, call #close before acquiring more.
at android.media.ImageReader.acquireNextImage(ImageReader.java:513)
at android.media.ImageReader.acquireLatestImage(ImageReader.java:397)
at com.enioka.scanner.camera.CameraBarcodeScanViewV2.lambda$new$0$CameraBarcodeScanViewV2(CameraBarcodeScanViewV2.java:636)
at com.enioka.scanner.camera.-$$Lambda$CameraBarcodeScanViewV2$VMyTEjvJxZ7LD_CakOd_WrWwxVc.onImageAvailable(Unknown Source:2)
at android.media.ImageReader$ListenerHandler.handleMessage(ImageReader.java:798)
at android.os.Handler.dispatchMessage(Handler.java:107)
at android.os.Looper.loop(Looper.java:237)
at android.os.HandlerThread.run(HandlerThread.java:67)
ImageReader_JNI W Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
BARCODE W Too many images being borrowed from reader
java.lang.IllegalStateException: maxImages (16) has already been acquired, call #close before acquiring more.
at android.media.ImageReader.acquireNextImage(ImageReader.java:513)
at android.media.ImageReader.acquireLatestImage(ImageReader.java:397)
at com.enioka.scanner.camera.CameraBarcodeScanViewV2.lambda$new$0$CameraBarcodeScanViewV2(CameraBarcodeScanViewV2.java:636)
at com.enioka.scanner.camera.-$$Lambda$CameraBarcodeScanViewV2$VMyTEjvJxZ7LD_CakOd_WrWwxVc.onImageAvailable(Unknown Source:2)
at android.media.ImageReader$ListenerHandler.handleMessage(ImageReader.java:798)
at android.os.Handler.dispatchMessage(Handler.java:107)
at android.os.Looper.loop(Looper.java:237)
at android.os.HandlerThread.run(HandlerThread.java:67)
ImageReader_JNI W Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
BARCODE W Too many images being borrowed from reader
java.lang.IllegalStateException: maxImages (16) has already been acquired, call #close before acquiring more.
at android.media.ImageReader.acquireNextImage(ImageReader.java:513)
at android.media.ImageReader.acquireLatestImage(ImageReader.java:397)
at com.enioka.scanner.camera.CameraBarcodeScanViewV2.lambda$new$0$CameraBarcodeScanViewV2(CameraBarcodeScanViewV2.java:636)
at com.enioka.scanner.camera.-$$Lambda$CameraBarcodeScanViewV2$VMyTEjvJxZ7LD_CakOd_WrWwxVc.onImageAvailable(Unknown Source:2)
at android.media.ImageReader$ListenerHandler.handleMessage(ImageReader.java:798)
at android.os.Handler.dispatchMessage(Handler.java:107)
at android.os.Looper.loop(Looper.java:237)
at android.os.HandlerThread.run(HandlerThread.java:67)
ImageReader_JNI W Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
BARCODE W Too many images being borrowed from reader
java.lang.IllegalStateException: maxImages (16) has already been acquired, call #close before acquiring more.
at android.media.ImageReader.acquireNextImage(ImageReader.java:513)
at android.media.ImageReader.acquireLatestImage(ImageReader.java:397)
at com.enioka.scanner.camera.CameraBarcodeScanViewV2.lambda$new$0$CameraBarcodeScanViewV2(CameraBarcodeScanViewV2.java:636)
at com.enioka.scanner.camera.-$$Lambda$CameraBarcodeScanViewV2$VMyTEjvJxZ7LD_CakOd_WrWwxVc.onImageAvailable(Unknown Source:2)
at android.media.ImageReader$ListenerHandler.handleMessage(ImageReader.java:798)
at android.os.Handler.dispatchMessage(Handler.java:107)
at android.os.Looper.loop(Looper.java:237)
at android.os.HandlerThread.run(HandlerThread.java:67)
ImageReader_JNI W Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
W Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
BARCODE W Too many images being borrowed from reader
java.lang.IllegalStateException: maxImages (16) has already been acquired, call #close before acquiring more.
at android.media.ImageReader.acquireNextImage(ImageReader.java:513)
at android.media.ImageReader.acquireLatestImage(ImageReader.java:397)
at com.enioka.scanner.camera.CameraBarcodeScanViewV2.lambda$new$0$CameraBarcodeScanViewV2(CameraBarcodeScanViewV2.java:636)
at com.enioka.scanner.camera.-$$Lambda$CameraBarcodeScanViewV2$VMyTEjvJxZ7LD_CakOd_WrWwxVc.onImageAvailable(Unknown Source:2)
at android.media.ImageReader$ListenerHandler.handleMessage(ImageReader.java:798)
at android.os.Handler.dispatchMessage(Handler.java:107)
at android.os.Looper.loop(Looper.java:237)
at android.os.HandlerThread.run(HandlerThread.java:67)
ImageReader_JNI W Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
BARCODE W Too many images being borrowed from reader
java.lang.IllegalStateException: maxImages (16) has already been acquired, call #close before acquiring more.
at android.media.ImageReader.acquireNextImage(ImageReader.java:513)
at android.media.ImageReader.acquireLatestImage(ImageReader.java:397)
at com.enioka.scanner.camera.CameraBarcodeScanViewV2.lambda$new$0$CameraBarcodeScanViewV2(CameraBarcodeScanViewV2.java:636)
at com.enioka.scanner.camera.-$$Lambda$CameraBarcodeScanViewV2$VMyTEjvJxZ7LD_CakOd_WrWwxVc.onImageAvailable(Unknown Source:2)
at android.media.ImageReader$ListenerHandler.handleMessage(ImageReader.java:798)
at android.os.Handler.dispatchMessage(Handler.java:107)
at android.os.Looper.loop(Looper.java:237)
at android.os.HandlerThread.run(HandlerThread.java:67)
ImageReader_JNI W Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
BARCODE W Too many images being borrowed from reader
java.lang.IllegalStateException: maxImages (16) has already been acquired, call #close before acquiring more.
at android.media.ImageReader.acquireNextImage(ImageReader.java:513)
at android.media.ImageReader.acquireLatestImage(ImageReader.java:397)
at com.enioka.scanner.camera.CameraBarcodeScanViewV2.lambda$new$0$CameraBarcodeScanViewV2(CameraBarcodeScanViewV2.java:636)
at com.enioka.scanner.camera.-$$Lambda$CameraBarcodeScanViewV2$VMyTEjvJxZ7LD_CakOd_WrWwxVc.onImageAvailable(Unknown Source:2)
at android.media.ImageReader$ListenerHandler.handleMessage(ImageReader.java:798)
at android.os.Handler.dispatchMessage(Handler.java:107)
at android.os.Looper.loop(Looper.java:237)
at android.os.HandlerThread.run(HandlerThread.java:67)
W Too many images being borrowed from reader
java.lang.IllegalStateException: maxImages (16) has already been acquired, call #close before acquiring more.
at android.media.ImageReader.acquireNextImage(ImageReader.java:513)
at android.media.ImageReader.acquireLatestImage(ImageReader.java:397)
at com.enioka.scanner.camera.CameraBarcodeScanViewV2.lambda$new$0$CameraBarcodeScanViewV2(CameraBarcodeScanViewV2.java:636)
at com.enioka.scanner.camera.-$$Lambda$CameraBarcodeScanViewV2$VMyTEjvJxZ7LD_CakOd_WrWwxVc.onImageAvailable(Unknown Source:2)
at android.media.ImageReader$ListenerHandler.handleMessage(ImageReader.java:798)
at android.os.Handler.dispatchMessage(Handler.java:107)
at android.os.Looper.loop(Looper.java:237)
at android.os.HandlerThread.run(HandlerThread.java:67)
J'ajoute encore ces traces qui bloquent la lecture par caméra :
Camera loop start has failed, this is usually due to changing resolution too fast. Error was: Session has been closed; further changes are illegal.
java.lang.IllegalStateException: Session has been closed; further changes are illegal.
at android.hardware.camera2.impl.CameraCaptureSessionImpl.checkNotClosed(CameraCaptureSessionImpl.java:834)
at android.hardware.camera2.impl.CameraCaptureSessionImpl.setRepeatingRequest(CameraCaptureSessionImpl.java:288)
at com.enioka.scanner.camera.CameraBarcodeScanViewV2$3.onConfigured(CameraBarcodeScanViewV2.java:586)
at android.hardware.camera2.impl.CallbackProxies$SessionStateCallbackProxy.lambda$onConfigured$0$CallbackProxies$SessionStateCallbackProxy(CallbackProxies.java:53)
at android.hardware.camera2.impl.-$$Lambda$CallbackProxies$SessionStateCallbackProxy$soW0qC12Osypoky6AfL3P2-TeDw.run(Unknown Source:4)
at android.os.Handler.handleCallback(Handler.java:883)
at android.os.Handler.dispatchMessage(Handler.java:100)
at android.os.Looper.loop(Looper.java:237)
at android.os.HandlerThread.run(HandlerThread.java:67)
2023-07-12 15:51:48.725 12826-31088 BARCODE com.geodis.mobicop D Starting camera release
2023-07-12 15:51:48.725 12826-31088 BARCODE com.geodis.mobicop D * Closing camera capture session
2023-07-12 15:51:48.725 12826-31088 BARCODE com.geodis.mobicop I Camera repeating capture request was set up
2023-07-12 15:51:48.725 12826-31088 BARCODE com.geodis.mobicop I Capture session is now configured and will start the capture request loop 248844473
2023-07-12 15:51:48.727 12826-31088 BARCODE com.geodis.mobicop D Using metering zone (670,490) (770,590)
2023-07-12 15:51:48.728 12826-31088 BARCODE com.geodis.mobicop D Setting AF mode to 4
2023-07-12 15:51:48.739 12826-31088 BARCODE com.geodis.mobicop I Camera repeating capture request was set up
2023-07-12 15:51:48.739 12826-31088 BARCODE com.geodis.mobicop D Capture session has nothing to process 248844473
2023-07-12 15:51:48.739 12826-31088 BARCODE com.geodis.mobicop I Capture session has closed 232552724
2023-07-12 15:51:48.739 12826-31088 BARCODE com.geodis.mobicop D * ImageReader closing
2023-07-12 15:51:48.739 12826-31088 BARCODE com.geodis.mobicop D * Camera device closing
2023-07-12 15:51:48.805 12826-12826 Dialog com.geodis.mobicop D mIsSamsungBasicInteraction = false
2023-07-12 15:51:48.805 12826-12826 Dialog com.geodis.mobicop D mIsSamsungBasicInteraction = false, isMetaDataInActivity = false
2023-07-12 15:51:48.818 12826-12826 MultiWindowDecorSupport com.geodis.mobicop I updateCaptionType >> DecorView@2de666a[Chargement], isFloating: true, isApplication: true, hasWindowDecorCaption: false, hasWindowControllerCallback: false
2023-07-12 15:51:48.818 12826-12826 MultiWindowDecorSupport com.geodis.mobicop D setCaptionType = 0, DecorView = DecorView@2de666a[Chargement]
2023-07-12 15:51:48.832 12826-12826 ScrollView com.geodis.mobicop D initGoToTop
2023-07-12 15:51:48.838 12826-12826 ScrollView com.geodis.mobicop D initGoToTop
2023-07-12 15:51:48.859 12826-12826 ViewRootIm...hargement] com.geodis.mobicop D setView = com.android.internal.policy.DecorView@2de666a TM=true MM=false
2023-07-12 15:51:48.875 12826-12826 ViewRootIm...sActivity] com.geodis.mobicop D setView = com.android.internal.policy.DecorView@5a1d67c TM=true MM=false
2023-07-12 15:51:48.881 12826-12826 ScannerActivity com.geodis.mobicop D Status changed: CONNECTED --- Scanner connecté
2023-07-12 15:51:48.882 12826-12826 Choreographer com.geodis.mobicop I Skipped 38 frames! The application may be doing too much work on its main thread.
2023-07-12 15:51:48.882 12826-12851 BufferQueueProducer com.geodis.mobicop E [ImageReader-1440x1080f23m16-12826-2] dequeueBuffer: BufferQueue has been abandoned
2023-07-12 15:51:48.885 12826-31077 WsClientAsync com.geodis.mobicop D Authentication-Login - a0b55c31d2f6c0f2
2023-07-12 15:51:48.890 12826-12826 ViewRootIm...eActivity] com.geodis.mobicop D Relayout returned: old=(0,0,720,1280) new=(0,0,720,1280) req=(720,1280)0 dur=6 res=0x1 s={true 534387859456} ch=false
2023-07-12 15:51:48.892 12826-12826 SurfaceView com.geodis.mobicop D surfaceChanged (1440,1080) 1 #5 android.view.SurfaceView{d520420 V.E...... ........ 0,0-720,952}
2023-07-12 15:51:48.892 12826-12826 BARCODE com.geodis.mobicop I surface changed
2023-07-12 15:51:48.892 12826-12826 BARCODE com.geodis.mobicop I Initializing or reinitializing preview analysis loop
2023-07-12 15:51:48.893 12826-12826 BARCODE com.geodis.mobicop D Capture session creation begins
2023-07-12 15:51:48.901 12826-31077 System.out com.geodis.mobicop I (HTTPLog)-Static: isSBSettingEnabled false
2023-07-12 15:51:48.902 12826-31077 System.out com.geodis.mobicop I (HTTPLog)-Static: isSBSettingEnabled false
2023-07-12 15:51:48.980 12826-31077 Mobicop Application com.geodis.mobicop V WIFI Usage are not measured
2023-07-12 15:51:48.981 12826-31077 WsClientAsync com.geodis.mobicop E JSONException = [ Value [{"title":"B2C","body":"<p style=\"text-align: left;\"><u><span style=\"font-size: x-large;\"><span style=\"font-size: large;\"><strong><span style=\"color: rgb(79, 129, 189);\"><span style=\"font-size: large;\">Rappel<\/span><\/span><\/strong><\/span><\/span><\/u><\/p><ul style=\"text-align: left;\"><li><span style=\"font-size: large;\"><strong>Merci de ne pas oublier d'appeler les destinataires 3 points avant votre passage <br><\/strong><\/span><\/li><\/ul><p><span style=\"font-size: x-large;\"><span style=\"font-size: x-large;\"><span style=\"font-size: small;\"><span style=\"font-size: medium;\"><span style=\"font-size: large;\"><span style=\"font-size: large;\"><strong>Bonne route !<\/strong><\/span><\/span><\/span><\/span><\/span><\/span><\/p>","page":2},{"title":"Bonne année","body":"<p style=\"text-align: center;\"><span style=\"font-size: x-large; font-family: Verdana, Geneva, sans-serif;\"><span style=\"color: rgb(227, 108, 9);\"><br><\/span><\/span><\/p><p style=\"text-align: center;\"><span style=\"font-size: x-large; font-family: Verdana, Geneva, sans-serif;\"><span style=\"color: rgb(227, 108, 9);\"><br><\/span><\/span><\/p><p style=\"text-align: center;\"><font color=\"#e36c09\" face=\"Verdana, Geneva, sans-serif\" size=\"5\">Bonjour<\/font><\/p>","page":1}] of type org.json.JSONArray cannot be converted to JSONObject ]
2023-07-12 15:51:49.270 12826-29009 CameraManagerGlobal com.geodis.mobicop I postSingleTorchUpdate device: camera id 0 status 1
2023-07-12 15:51:49.272 12826-29009 CameraManagerGlobal com.geodis.mobicop I postSingleTorchUpdate device: camera id 0 status 1
2023-07-12 15:51:49.272 12826-31088 BARCODE com.geodis.mobicop D Capture session has nothing to process 248844473
2023-07-12 15:51:49.273 12826-31088 BARCODE com.geodis.mobicop V CameraDevice.StateCallback.onClosed
2023-07-12 15:51:49.273 12826-31088 BARCODE com.geodis.mobicop D * Background camera thread is closing
2023-07-12 15:51:49.273 12826-31088 BARCODE com.geodis.mobicop D * Closing analyzers
2023-07-12 15:51:49.274 12826-31083 BARCODE com.geodis.mobicop I Frame analyser is closing
2023-07-12 15:51:49.272 12826-29009 CameraManagerGlobal com.geodis.mobicop I postSingleTorchUpdate device: camera id 0 status 1
2023-07-12 15:51:49.274 12826-31080 BARCODE com.geodis.mobicop I Frame analyser is closing
2023-07-12 15:51:49.275 12826-12826 SurfaceView com.geodis.mobicop E Exception configuring surface
java.lang.IllegalStateException: CameraDevice was already closed
at android.hardware.camera2.impl.CameraDeviceImpl.checkIfCameraClosedOrInError(CameraDeviceImpl.java:2550)
at android.hardware.camera2.impl.CameraDeviceImpl.createCaptureSessionInternal(CameraDeviceImpl.java:648)
at android.hardware.camera2.impl.CameraDeviceImpl.createCaptureSession(CameraDeviceImpl.java:517)
at com.enioka.scanner.camera.CameraBarcodeScanViewV2.startPreview(CameraBarcodeScanViewV2.java:506)
at com.enioka.scanner.camera.CameraBarcodeScanViewV2.surfaceChanged(CameraBarcodeScanViewV2.java:420)
at android.view.SurfaceView.updateSurface(SurfaceView.java:942)
at android.view.SurfaceView.setFrame(SurfaceView.java:470)
at android.view.View.layout(View.java:23751)
at android.widget.FrameLayout.layoutChildren(FrameLayout.java:332)
at android.widget.FrameLayout.onLayout(FrameLayout.java:270)
at android.view.View.layout(View.java:23754)
at android.view.ViewGroup.layout(ViewGroup.java:7277)
at android.widget.FrameLayout.layoutChildren(FrameLayout.java:332)
at android.widget.FrameLayout.onLayout(FrameLayout.java:270)
at android.view.View.layout(View.java:23754)
at android.view.ViewGroup.layout(ViewGroup.java:7277)
at android.widget.RelativeLayout.onLayout(RelativeLayout.java:1103)
at android.view.View.layout(View.java:23754)
at android.view.ViewGroup.layout(ViewGroup.java:7277)
at androidx.coordinatorlayout.widget.CoordinatorLayout.layoutChild(CoordinatorLayout.java:1213)
at androidx.coordinatorlayout.widget.CoordinatorLayout.onLayoutChild(CoordinatorLayout.java:899)
at com.google.android.material.appbar.ViewOffsetBehavior.layoutChild(ViewOffsetBehavior.java:66)
at com.google.android.material.appbar.HeaderScrollingViewBehavior.layoutChild(HeaderScrollingViewBehavior.java:152)
at com.google.android.material.appbar.ViewOffsetBehavior.onLayoutChild(ViewOffsetBehavior.java:43)
at com.google.android.material.appbar.AppBarLayout$ScrollingViewBehavior.onLayoutChild(AppBarLayout.java:2122)
at androidx.coordinatorlayout.widget.CoordinatorLayout.onLayout(CoordinatorLayout.java:918)
at android.view.View.layout(View.java:23754)
at android.view.ViewGroup.layout(ViewGroup.java:7277)
at android.widget.FrameLayout.layoutChildren(FrameLayout.java:332)
at android.widget.FrameLayout.onLayout(FrameLayout.java:270)
at android.view.View.layout(View.java:23754)
at android.view.ViewGroup.layout(ViewGroup.java:7277)
at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1829)
at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1673)
at android.widget.LinearLayout.onLayout(LinearLayout.java:1582)
at android.view.View.layout(View.java:23754)
at android.view.ViewGroup.layout(ViewGroup.java:7277)
at android.widget.FrameLayout.layoutChildren(FrameLayout.java:332)
at android.widget.FrameLayout.onLayout(FrameLayout.java:270)
at android.view.View.layout(View.java:23754)
at android.view.ViewGroup.layout(ViewGroup.java:7277)
at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1829)
at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1673)
at android.widget.LinearLayout.onLayout(LinearLayout.java:1582)
at android.view.View.layout(View.java:23754)
at android.view.ViewGroup.layout(ViewGroup.java:7277)
at android.widget.FrameLayout.layoutChildren(FrameLayout.java:332)
at android.widget.FrameLayout.onLayout(FrameLayout.java:270)
at com.android.internal.policy.DecorView.onLayout(DecorView.java:1059)
at android.view.View.layout(View.java:23754)
at android.view.ViewGroup.layout(ViewGroup.java:7277)
at android.view.ViewRootImpl.performLayout(ViewRootImpl.java:3679)
at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:3139)
at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:2200)
at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:8999)
at android.view.Choreographer$CallbackRecord.run(Choreographer.java:996)
2023-07-12 15:51:49.275 12826-12826 SurfaceView com.geodis.mobicop E at android.view.Choreographer.doCallbacks(Choreographer.java:794)
at android.view.Choreographer.doFrame(Choreographer.java:729)
at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:981)
at android.os.Handler.handleCallback(Handler.java:883)
at android.os.Handler.dispatchMessage(Handler.java:100)
at android.os.Looper.loop(Looper.java:237)
at android.app.ActivityThread.main(ActivityThread.java:7860)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1075)
Fixed in 59cac97313c52714eed49b0923469e8c2a7a756d
Hello @marcanpilami
Lors de l'utilisation de la bibliothèque mode Caméra sur le Xcover et TC27, un problème survient qui bloque l'écran de l'appareil et entraîne un retard dans la lecture des codes-barres. Après avoir effectué plusieurs scans, l'écran du Xcover se fige, empêchant toute interaction avec l'application. De plus, le délai entre la tentative de lecture d'un code-barres et la réaction de l'application pour confirmer la lecture est anormalement long. Ce dysfonctionnement rend l'utilisation de la bibliothèque difficile et impacte négativement l'efficacité de la lecture des codes-barres par caméra.
Voici les traces :