Android Question [SOLVED] Problem with Barcode reader based on Google Play Services Vision

makis_best

Well-Known Member
Licensed User
Longtime User
Hi.

I execute the example as is from here in two different tablets.
One LG and one SAMSUNG.

The example run perfect on LG but when I run it on SAMSUNG
I get only a Gray frame doing nothing.

On the log when I run it on SAMSUNG I get

** Activity (egm_camera) Resume **
Skipped 30 frames! The application may be doing too much work on its main thread.
Class anywheresoftware.b4a.objects.CameraW failed lock verification and will run slower.
findCamera
null
2
facing: 0, 0
Class anywheresoftware.b4a.objects.CameraW$2 failed lock verification and will run slower.
Class anywheresoftware.b4a.B4AThreadPool failed lock verification and will run slower.
Class anywheresoftware.b4a.objects.CameraW$CloseCamera failed lock verification and will run slower.
Local module descriptor class for com.google.android.gms.vision.dynamite.barcode not found.
Considering local module com.google.android.gms.vision.dynamite.barcode:0 and remote module com.google.android.gms.vision.dynamite.barcode:0
Cannot load feature, fall back to load whole module.
Local module descriptor class for com.google.android.gms.vision.dynamite not found.
Considering local module com.google.android.gms.vision.dynamite:0 and remote module com.google.android.gms.vision.dynamite:2702
Selected remote version of com.google.android.gms.vision.dynamite, version >= 2702
Dynamite loader version >= 2, using loadModule2NoCrashUtils
Loading library libbarhopper.so
libbarhopper.so library load status: true
Is detector operational: true
Class anywheresoftware.b4a.objects.CameraW$2$1 failed lock verification and will run slower.
Background partial concurrent mark sweep GC freed 19872(1605KB) AllocSpace objects, 2(56KB) LOS objects, 39% free, 18MB/31MB, paused 2.281ms total 137.318ms
A SQLiteConnection object for database '/storage/emulated/0/DroidViewDB/DVDatabase.db' was leaked! Please fix your application to end transactions in progress properly and to close the database when it is no longer needed.
findCamera
0
2
facing: 0, 0
0
Continuous focus mode is not available
AutoFocus error.
Background partial concurrent mark sweep GC freed 8142(577KB) AllocSpace objects, 13(8MB) LOS objects, 40% free, 23MB/38MB, paused 1.044ms total 104.116ms
Background partial concurrent mark sweep GC freed 1305(49KB) AllocSpace objects, 15(16MB) LOS objects, 38% free, 25MB/41MB, paused 1.295ms total 126.102ms
Background partial concurrent mark sweep GC freed 1388(56KB) AllocSpace objects, 15(16MB) LOS objects, 36% free, 27MB/43MB, paused 1.831ms total 132.899ms
Background partial concurrent mark sweep GC freed 1332(55KB) AllocSpace objects, 17(19MB) LOS objects, 39% free, 24MB/40MB, paused 962us total 112.706ms
Background partial concurrent mark sweep GC freed 1195(46KB) AllocSpace objects, 15(16MB) LOS objects, 38% free, 25MB/41MB, paused 1.275ms total 112.225ms

Any help?
 
Top