Hello guys,
Currently i'm writing an App that will gonna be used locally in a warehouse to move boxes and misc. products with QR Code.
So i bought 2 different android rugged phone.
Model1
Model2
The QRCode scanner put simply the data read in keyboard buffer. That's wonderful because you don't have to write anything strange in order to read data.
My question is this:
I have a view that, after scan a product, allow the device to take a photo and save to the warehouse database.
Now here's the problem.
With Rugged Model 2 i can scan, take photo, scan another time, take photo and go on.
With Rugged Model 1 i can scan, take photo and then i can't get the scan object another time (it doesn't work).
I read the unfiltered logs and i notice some big differences between the two devices.
It seems that the camera in the rugged model 1 can't be handled properly
Logs Rugged model 1
Logs Rugged model 2
I repeat: the app and the code is the same for both devices.
Does anyone had the same issue in the past?
Thanks in advance,
Marcello
Currently i'm writing an App that will gonna be used locally in a warehouse to move boxes and misc. products with QR Code.
So i bought 2 different android rugged phone.
Model1
Model2
The QRCode scanner put simply the data read in keyboard buffer. That's wonderful because you don't have to write anything strange in order to read data.
My question is this:
I have a view that, after scan a product, allow the device to take a photo and save to the warehouse database.
Now here's the problem.
With Rugged Model 2 i can scan, take photo, scan another time, take photo and go on.
With Rugged Model 1 i can scan, take photo and then i can't get the scan object another time (it doesn't work).
I read the unfiltered logs and i notice some big differences between the two devices.
It seems that the camera in the rugged model 1 can't be handled properly
Logs Rugged model 1
RUGGED 1:
Flushing all pending requests.
Repeating capture request cancelled.
Capture failed for request: 0
Legacy camera service transitioning to state IDLE
convertRequestMetadata - control.awbRegions setting is not supported, ignoring value
Only received metering rectangles with weight 0.
Only received metering rectangles with weight 0.
Legacy camera service transitioning to state CAPTURING
Received jpeg.
Producing jpeg buffer...
Legacy camera service transitioning to state IDLE
Repeating capture request set.
convertRequestMetadata - control.awbRegions setting is not supported, ignoring value
Only received metering rectangles with weight 0.
Only received metering rectangles with weight 0.
Picture taken: (Bitmap): 1080 x 1920, scale = 1,00
Skip the tag entry since tag number is not defined: 2
Stop reading file since a wrong offset may cause an infinite loop: 0
Stop reading file since a wrong offset may cause an infinite loop: 0
Stop reading file since a wrong offset may cause an infinite loop: 0
Flushing all pending requests.
Repeating capture request cancelled.
Capture failed for request: 2
Legacy camera service transitioning to state CAPTURING
Legacy camera service transitioning to state IDLE
[SurfaceTexture-1-3851-3] cancelBuffer: BufferQueue has been abandoned
uid=10102(com.mq.moli*******) Binder:3851_4 identical 1 line
[SurfaceTexture-1-3851-3] cancelBuffer: BufferQueue has been abandoned
[SurfaceTexture-1-3851-3] connect: BufferQueue has been abandoned
[SurfaceTexture-1-3851-3] setMaxDequeuedBufferCount: BufferQueue has been abandoned
Access denied finding property "vendor.camera.aux.packagelist"
Jpeg surface is invalid, skipping...
Access denied finding property "vendor.camera.aux.packagelist"
type=1400 audit(0.0:76): avc: denied { read } for name="u:object_r:vendor_camera_prop:s0" dev="tmpfs" ino=15079 scontext=u:r:untrusted_app:s0:c102,c256,c512,c768 tcontext=u:object_r:vendor_camera_prop:s0 tclass=file permissive=0
Logs Rugged model 2
RUGGED 2:
[sendCameraState]flashlightState=0,j=0
[sendCameraState]scannerState=1,j=0
[sendCameraState]scannerState=0,j=1
sendCameraState PackageName=com.mq.moli******
connectCameraServiceLocked,com.mq.moli*******
[sendCameraState]flashlightState=0,j=0
[sendCameraState]scannerState=0,j=0
sendCameraState PackageName=com.mq.moli******
type=1400 audit(0.0:13): avc: denied { search } for name="255" dev="proc" ino=224 scontext=u:r:untrusted_app:s0 tcontext=u:r:mediaserver:s0 tclass=dir permissive=0
jpeg_decoder mode 1, colorType 4, w 1008, h 1792, sample 1, bsLength 0!!
[SurfaceTexture-1-3446-1](this:0x7f84df6c00,id:2,api:4,p:255,c:-1) cancelBuffer: BufferQueue has been abandoned
[SurfaceTexture-1-3446-1](this:0x7f84df6c00,id:2,api:4,p:255,c:-1) cancelBuffer: BufferQueue has been abandoned
[SurfaceTexture-1-3446-1](this:0x7f84df6c00,id:2,api:4,p:255,c:-1) cancelBuffer: BufferQueue has been abandoned
[SurfaceTexture-1-3446-1](this:0x7f84df6c00,id:2,api:4,p:255,c:-1) cancelBuffer: BufferQueue has been abandoned
[SurfaceTexture-1-3446-1](this:0x7f84df6c00,id:2,api:4,p:255,c:-1) cancelBuffer: BufferQueue has been abandoned
[SurfaceTexture-1-3446-1](this:0x7f84df6c00,id:2,api:4,p:255,c:-1) cancelBuffer: BufferQueue has been abandoned
I repeat: the app and the code is the same for both devices.
Does anyone had the same issue in the past?
Thanks in advance,
Marcello
Last edited: