Closed abelatar closed 1 year ago
Hello @DaSpood , In version 2.3.9, the camera mode is activated on the TC27, even though it should operate in laser mode.
Bonjour @abelatar , aurais-tu des traces d’exécution de l'application ? Le provider se base désormais sur l'existence du package datawedge (com.symbol.datawedge
) pour détecter son existence et son activation.
Re @DaSpood
Voici les traces :
Provider BluebirdProvider was successfully instantiated
11:48:21.547 D Trying to instantiate provider com.enioka.scanner.sdk.honeywelloss.integrated.HoneywellOssIntegratedScannerProvider - not BT - 0
11:48:21.547 D Provider HoneywellOssIntegratedProvider was successfully instantiated
11:48:21.547 D Trying to instantiate provider com.enioka.scanner.sdk.proglove.ProgloveProvider - BT - 0
11:48:21.547 D Provider ProgloveProvider was successfully instantiated
11:48:21.547 D Trying to instantiate provider com.enioka.scanner.bt.manager.SerialBtScannerProvider - BT - 0
11:48:21.549 D Provider BtSppSdk was successfully instantiated
11:48:21.551 BtSppSdk D Skipping duplicate provider com.enioka.scanner.sdk.generalscan.GsSppScannerProvider : does not match application UID (Service=10270 | Application=10271)
11:48:21.551 D Skipping duplicate provider com.enioka.scanner.sdk.zebraoss.ZebraOssSppScannerProvider : does not match application UID (Service=10270 | Application=10271)
11:48:21.551 D Skipping duplicate provider com.enioka.scanner.sdk.zebraoss.ZebraOssAttScannerProvider : does not match application UID (Service=10270 | Application=10271)
11:48:21.551 D Skipping duplicate provider com.enioka.scanner.sdk.honeywelloss.spp.HoneywellOssSppScannerProvider : does not match application UID (Service=10270 | Application=10271)
11:48:21.552 I SPP SDK compatible provider found: com.enioka.scanner.sdk.generalscan.GsSppScannerProvider
11:48:21.552 I SPP SDK compatible provider found: com.enioka.scanner.sdk.zebraoss.ZebraOssSppScannerProvider
11:48:21.552 I SPP SDK compatible provider found: com.enioka.scanner.sdk.zebraoss.ZebraOssAttScannerProvider
11:48:21.553 I SPP SDK compatible provider found: com.enioka.scanner.sdk.honeywelloss.spp.HoneywellOssSppScannerProvider
11:48:21.553 LaserScanner I Provider discovery done
11:48:21.568 ScannerService D Status changed: SERVICE_PROVIDER_SEARCH_OVER --- ScannerService finished discovering scanner providers
11:48:21.568 I (re)starting scanner search!
11:48:21.568 LaserScanner I Starting scanner search
11:48:21.574 D Provider ProgloveProvider skipped because bluetooth option is disabled
11:48:21.574 D Provider ZebraDwProvider accepted
11:48:21.574 D Provider BluebirdProvider accepted
11:48:21.574 D Provider AthesiHHTProvider accepted
11:48:21.574 D Provider AthesiE5LProvider accepted
11:48:21.574 D Provider HoneywellOssIntegratedProvider accepted
11:48:21.574 D Provider BtSppSdk skipped because bluetooth option is disabled
11:48:21.574 I There are 5 providers which are going to be invoked for fresh laser scanners
11:48:21.574 I ZebraDwProvider
11:48:21.574 I HoneywellOssIntegratedProvider
11:48:21.574 I BluebirdProvider
11:48:21.574 I AthesiHHTProvider
11:48:21.574 I AthesiE5LProvider
11:48:21.575 I Starting search on provider ZebraDwProvider
11:48:21.575 IntentProvider D Provider ZebraDwProvider: Checking appPackage `com.symbol.datawedge`
11:48:21.576 LaserScanner I Starting search on provider BluebirdProvider
11:48:21.577 IntentProvider D Provider BluebirdProvider: Checking intent `kr.co.bluebird.android.bbapi.action.BARCODE_OPEN`
11:48:21.577 D Provider ZebraDwProvider: AppPackage `com.symbol.datawedge` not found
11:48:21.577 LaserScanner I Starting search on provider HoneywellOssIntegratedProvider
11:48:21.578 IntentProvider D Provider ZebraDwProvider not compatible
11:48:21.578 D Provider HoneywellOssIntegratedProvider: Checking intent `com.honeywell.decode.DecodeService`
11:48:21.578 LaserScanner I Scanner provider ZebraDwProvider reports it is not compatible with the device and will be disabled
11:48:21.579 IntentProvider D Provider HoneywellOssIntegratedProvider: Intent `com.honeywell.decode.DecodeService` not found
11:48:21.580 LaserScanner I Starting search on provider AthesiE5LProvider
11:48:21.580 IntentProvider D Provider AthesiE5LProvider: Checking specific devices `[RD50TE]`
11:48:21.580 D Provider AthesiE5LProvider not compatible
11:48:21.580 LaserScanner I Scanner provider AthesiE5LProvider reports it is not compatible with the device and will be disabled
11:48:21.580 I Starting search on provider AthesiHHTProvider
11:48:21.580 IntentProvider D Provider AthesiHHTProvider: Checking specific devices `[SPA43LTE]`
11:48:21.580 D Provider AthesiHHTProvider not compatible
11:48:21.580 LaserScanner I Scanner provider AthesiHHTProvider reports it is not compatible with the device and will be disabled
11:48:21.580 IntentProvider D Provider BluebirdProvider: Intent `kr.co.bluebird.android.bbapi.action.BARCODE_OPEN` not found
11:48:21.580 D Provider BluebirdProvider not compatible
11:48:21.581 LaserScanner I Scanner provider BluebirdProvider reports it is not compatible with the device and will be disabled
11:48:21.582 IntentProvider D Provider HoneywellOssIntegratedProvider not compatible
11:48:21.582 LaserScanner I Scanner provider HoneywellOssIntegratedProvider reports it is not compatible with the device and will be disabled
11:48:21.591 ScannerActivity D Scanner activity is created 122404906
11:48:21.613 CompatibilityChangeReporter D Compat change id reported: 171228096; UID 10271; state: ENABLED
11:48:21.631 ScannerActivity D Scanner activity is starting 122404906
11:48:21.632 I Scanner activity is resuming 122404906
11:48:21.632 I Resuming scanner activity with all scanning modes disabled
11:48:21.636 MobiprepActivity I Wifi is enabled
11:48:21.639 MainLoadingActivity D fillListView
11:48:21.647 I new position 0
11:48:21.648 I New selected consignment : 80200171338943382995
11:48:21.648 I new position 1
11:48:21.665 ScannerService D Status changed: CONNECTING --- Scanner is in the process of connecting
11:48:21.665 D Progress on connection of scanner null from ZebraDwProvider: No ZebraDwProvider scanners available.
11:48:21.665 D Status changed: CONNECTING --- Scanner is in the process of connecting
11:48:21.665 D Progress on connection of scanner null from AthesiE5LProvider: No AthesiE5LProvider scanners available.
11:48:21.665 D Status changed: CONNECTING --- Scanner is in the process of connecting
11:48:21.665 D Progress on connection of scanner null from AthesiHHTProvider: No AthesiHHTProvider scanners available.
11:48:21.666 D Status changed: CONNECTING --- Scanner is in the process of connecting
11:48:21.666 D Progress on connection of scanner null from BluebirdProvider: No BluebirdProvider scanners available.
11:48:21.666 D Status changed: CONNECTING --- Scanner is in the process of connecting
11:48:21.666 D Progress on connection of scanner null from HoneywellOssIntegratedProvider: No HoneywellOssIntegratedProvider scanners available.
11:48:21.666 I 0 scanners from the different SDKs have reported for duty. Waiting for the initialization of 0 scanners.
11:48:21.666 I All found scanners have now ended their initialization (or failed to do so)
11:48:21.666 D Status changed: SERVICE_SDK_SEARCH_OVER --- All hardware scanner providers have reported for duty
11:48:21.690 AdrenoGLES-0 I QUALCOMM build : a3cdec2236, Ief33eea0db
Build Date : 08/23/22
OpenGL ES Shader Compiler Version: EV031.35.01.12
Local Branch :
Remote Branch :
Remote Branch :
Reconstruct Branch :
11:48:21.690 I Build Config : S P 10.0.7 AArch64
11:48:21.691 I Driver Path : /vendor/lib64/egl/libGLESv2_adreno.so
11:48:21.694 I PFP: 0x016dc094, ME: 0x00000000
11:48:21.728 OpenGLRenderer E Unable to match the desired swap behavior.
11:48:21.856 Parcel W Expecting binder but got null!
11:48:21.925 ScannerActivity I Scanner activity is being destroyed 204669791
11:48:50.823 geodis.mobiprep W Cleared Reference was only reachable from finalizer (only reported once)
11:48:50.831 System W A resource failed to call close.
12:12:45.713 geodis.mobiprep I Compiler allocated 4579KB to compile void android.view.ViewRootImpl.performTraversals()
12:12:46.369 MainLoadingActivity I Consignment position has changed ? true
12:12:46.371 I New selected consignment : 90200173002746816999
12:12:46.372 I new position 0
12:12:47.660 I Action scan
12:12:47.680 ScannerActivity I Scanner activity is being paused 122404906
12:12:47.702 D Scanner activity is created 150536209
12:12:47.730 CameraManagerGlobal I Connecting to camera service
12:12:47.733 libc W Access denied finding property "vendor.camera.aux.packagelist"
12:12:47.733 W Access denied finding property "vendor.camera.aux.packagelist"
12:12:47.734 W Access denied finding property "vendor.camera.aux.packagelist"
12:12:47.734 W Access denied finding property "vendor.camera.aux.packagelist"
12:12:47.739 BARCODE D Creating camera view layout
12:12:47.743 I Analyser (ZBar) is ready inside pool
12:12:47.743 I Analyser (ZBar) is ready inside pool
12:12:47.743 I Analyser (ZBar) is ready inside pool
12:12:47.744 I Analyser (ZBar) is ready inside pool
12:12:47.744 I Analyser (ZBar) is ready inside pool
12:12:47.744 I Analyser (ZBar) is ready inside pool
12:12:47.744 I Analyser pool initialized with 6 threads
12:12:47.746 D Camera2 specific initialization start
12:12:47.746 D Starting background thread handler 106633254
12:12:47.747 ScannerActivity I Using camera version: com.enioka.scanner.camera.CameraBarcodeScanViewV2
12:12:47.775 D Scanner activity is starting 150536209
12:12:47.780 I Scanner activity is resuming 150536209
12:12:47.780 I Resuming scanner activity - scanners will be (re)connected
12:12:47.782 MobiprepActivity I Wifi is enabled
12:12:47.785 ParcelLoadingActivity D should dispay header : true
12:12:47.791 I original :1 - reduced : 1
12:12:47.800 ScannerActivity D Service is connected to activity
12:12:47.800 ScannerService D Registering new client: com.geodis.mobiprep.ParcelLoadingActivity@8f90011 150536209
12:12:47.800 D Notifying late clients that providers are already discovered
12:12:47.800 D Notifying late clients that scanners are already connected
12:12:47.800 ScannerActivity I Activity can now use all received scanners (0)
12:12:47.800 I Giving up on laser, going to camera
12:12:47.808 libc W Access denied finding property "vendor.camera.aux.packagelist"
12:12:47.811 BARCODE D Creating camera view layout
12:12:47.811 I Analyser (ZBar) is ready inside pool
12:12:47.812 I Analyser (ZBar) is ready inside pool
12:12:47.812 I Analyser (ZBar) is ready inside pool
12:12:47.812 I Analyser (ZBar) is ready inside pool
12:12:47.812 I Analyser (ZBar) is ready inside pool
12:12:47.812 I Analyser (ZBar) is ready inside pool
12:12:47.812 I Analyser pool initialized with 6 threads
12:12:47.813 D Camera2 specific initialization start
12:12:47.813 D Starting background thread handler 146149111
12:12:47.817 ScannerActivity I Using camera version: com.enioka.scanner.camera.CameraBarcodeScanViewV2
12:12:47.840 geodis.mobiprep W Reducing the number of considered missed Gc histogram windows from 144 to 100
12:12:47.869 OpenGLRenderer E Unable to match the desired swap behavior.
12:12:47.882 BARCODE I Setting targeting rect at (left,top - right,bottom) Rect(108, 475 - 972, 664)
12:12:47.882 I Targeting view is positioned inside a w*h 1080*1140 view
12:12:47.882 I The preview surface view is at (top, left, bottom, right) 0,0 - 1140,1080
12:12:47.883 I Targeting overlay added
12:12:47.883 D Preview surface created, camera will be initialized soon 146149111
12:12:47.883 libc W Access denied finding property "vendor.camera.aux.packagelist"
12:12:47.886 BARCODE D INFO_SUPPORTED_HARDWARE_LEVEL UNKNOWN
12:12:47.886 I Camera supports flash: true
12:12:47.887 I Using memory limit (MB): 256
12:12:47.887 I Looking for the ideal preview resolution. View ratio is 1.0555556. (view is h*w 1140*1080)
12:12:47.887 D supports preview resolution 4608*2592 - 1.7777778
12:12:47.887 D Resolution is removed - it is higher than the maximum resolution configured in the view (1080)
12:12:47.887 D supports preview resolution 3840*2160 - 1.7777778
12:12:47.888 D Resolution is removed - it is higher than the maximum resolution configured in the view (1080)
12:12:47.888 D supports preview resolution 3264*2448 - 1.3333334
12:12:47.888 D Resolution is removed - it is higher than the maximum resolution configured in the view (1080)
12:12:47.888 D supports preview resolution 2560*1920 - 1.3333334
12:12:47.888 D Resolution is removed - it is higher than the maximum resolution configured in the view (1080)
12:12:47.888 D supports preview resolution 2304*1728 - 1.3333334
12:12:47.888 D Resolution is removed - it is higher than the maximum resolution configured in the view (1080)
12:12:47.888 D supports preview resolution 2304*1296 - 1.7777778
12:12:47.888 D Resolution is removed - it is higher than the maximum resolution configured in the view (1080)
12:12:47.888 D supports preview resolution 2048*1536 - 1.3333334
12:12:47.888 D Resolution is removed - it is higher than the maximum resolution configured in the view (1080)
12:12:47.888 D supports preview resolution 1920*1080 - 1.7777778
12:12:47.888 D Resolution is removed - ratio is distant from ideal ratio by 0.72 which is more than parameter 0.3
12:12:47.888 D supports preview resolution 1600*1200 - 1.3333334
12:12:47.888 D Resolution is removed - it is higher than the maximum resolution configured in the view (1080)
12:12:47.888 D supports preview resolution 1440*1080 - 1.3333334
12:12:47.888 D supports preview resolution 1280*960 - 1.3333334
12:12:47.888 D supports preview resolution 1280*768 - 1.6666666
12:12:47.888 D Resolution is removed - ratio is distant from ideal ratio by 0.61 which is more than parameter 0.3
12:12:47.888 D supports preview resolution 1280*720 - 1.7777778
12:12:47.888 D Resolution is removed - ratio is distant from ideal ratio by 0.72 which is more than parameter 0.3
12:12:47.889 D supports preview resolution 864*480 - 1.8
12:12:47.889 D Resolution is removed - ratio is distant from ideal ratio by 0.74 which is more than parameter 0.3
12:12:47.889 D supports preview resolution 800*600 - 1.3333334
12:12:47.889 D supports preview resolution 800*480 - 1.6666666
12:12:47.889 D Resolution is removed - ratio is distant from ideal ratio by 0.61 which is more than parameter 0.3
12:12:47.889 D supports preview resolution 720*480 - 1.5
12:12:47.889 D Resolution is removed - ratio is distant from ideal ratio by 0.44 which is more than parameter 0.3
12:12:47.889 D supports preview resolution 640*480 - 1.3333334
12:12:47.889 D supports preview resolution 640*400 - 1.6
12:12:47.889 D Resolution is removed - ratio is distant from ideal ratio by 0.54 which is more than parameter 0.3
12:12:47.889 D supports preview resolution 640*360 - 1.7777778
12:12:47.889 D Resolution is removed - ratio is distant from ideal ratio by 0.72 which is more than parameter 0.3
12:12:47.889 D supports preview resolution 352*288 - 1.2222222
12:12:47.889 D supports preview resolution 320*240 - 1.3333334
12:12:47.889 D supports preview resolution 240*320 - 0.75
12:12:47.889 D Resolution is removed - ratio is distant from ideal ratio by 0.31 which is more than parameter 0.3
12:12:47.889 D supports preview resolution 176*144 - 1.2222222
12:12:47.890 V Allowed preview sizes (acceptable ratio):
12:12:47.890 V 176*144 - 1.2222222
12:12:47.890 V 320*240 - 1.3333334
12:12:47.890 V 352*288 - 1.2222222
12:12:47.890 V 640*480 - 1.3333334
12:12:47.890 V 800*600 - 1.3333334
12:12:47.890 V 1280*960 - 1.3333334
12:12:47.890 V 1440*1080 - 1.3333334
12:12:47.890 I Camera uses preview resolution: 1440*1080
12:12:47.891 I Camera uses FPS range: [10, 30]
12:12:47.891 I Using AF mode: CONTROL_AF_MODE_CONTINUOUS_PICTURE
12:12:47.892 I Supported autofocus zones: 1
12:12:47.892 I Using AB mode: CONTROL_AE_ANTIBANDING_MODE_AUTO
12:12:47.892 I Selected camera id: 0
12:12:47.893 I surface changed 146149111
12:12:47.894 SurfaceSyncer E Failed to find sync for id=0
12:12:47.903 Parcel W Expecting binder but got null!
12:12:47.907 BARCODE I Left: 0 - Top : 475 - Right: 1080 - bottom: 664
12:12:47.907 I target was laid out
12:12:47.921 D Torch status has changed to: false
12:12:47.921 D Trying to open camera from CameraManager 146149111
12:12:47.923 libc W Access denied finding property "persist.vendor.camera.privapp.list"
12:12:47.927 W Access denied finding property "vendor.camera.aux.packagelist"
12:12:47.927 W Access denied finding property "vendor.camera.aux.packagelist"
12:12:47.934 BARCODE D Camera device not ready yet
12:12:47.934 V CameraDevice.StateCallback.onOpened 146149111
12:12:47.934 I Initializing or reinitializing preview analysis loop
12:12:47.935 D Capture session creation begins
12:12:47.939 I surface changed 146149111
12:12:48.011 D Configuration request sent
12:12:48.011 D Preview analysis loop start method done
12:12:48.011 D Image reader already created
12:12:48.011 I Capture session is now configured and will start the capture request loop 146149111
12:12:48.012 D Using metering zone (670,490) (770,590)
12:12:48.013 D Setting AF mode to 4
12:12:48.015 I Camera repeating capture request was set up 146149111
12:12:48.015 D Capture session has nothing to process 146149111
12:12:48.015 D Capture session is getting active 146149111
12:12:48.341 D Creating new buffer (MB) 1 count is 1
12:12:48.404 D FPS: 1.0031678E-4 - Pool size: 6. Current analysis queue depth: 0. Current res: 1440*1080. Statistics are: {}
12:12:48.475 ScannerActivity I Scanner activity is
This is weird. We have tested on a TC27 without issue. Are you sure you have not disabled to DW service between tests?
If it is enabled, can you list the installed packages on your TC27 device?
./adb shell pm list packages -u symbol
should work
Also of interest to us: ./adb shell pm dump com.symbol.datawedge
Finally: what is the target SDK version of your app?
Forget about it. It's a permission issue for 33+ apps. You could add an entry to the query section of your manifest, or simply upgrade to version 2.3.10, incoming in a few minutes.
Lors du démarrage de Mobicop sur un Samsung Xcover 4, la bibliothèque démarre en mode scanner, bien que cet appareil ne devrait pas prendre en charge ce mode.
Comportement attendu : L'application devrait reconnaître que l'appareil ne prend pas en charge le mode scanner et ne pas essayer de l'initialiser.
Traces :