Page 1 of 2
How can I resize the scanner window for BarCode Scanner?
Posted: Fri Aug 30, 2013 5:48 pm
by Deodorant King
The window size of the actual barcode scanner is perfect for the phone but on a 7" or 10" tablet the window size is too big. The size prevents upc codes from being scanned.
Is there a place where I can change the dimensions of the barcode scanner window?
How can I resize the scanner window for BarCode Scanner?
Posted: Fri Aug 30, 2013 6:50 pm
by Anton Artyukh5836028
Hello,
Probably on JS-side and Appery.IO side that's impossible. But you can try to export project to your IDE and modify sources of Barcode Scanner component.
How can I resize the scanner window for BarCode Scanner?
Posted: Tue Sep 17, 2013 3:48 am
by Cio BB
May I know what file I need to modify? Could I have the filename?
How can I resize the scanner window for BarCode Scanner?
Posted: Tue Sep 17, 2013 2:09 pm
by Kateryna Grynko
Hi,
Sorry, we can't say for sure. You would need to try to find it yourself or search for a solution online.
How can I resize the scanner window for BarCode Scanner?
Posted: Fri Apr 10, 2015 4:36 pm
by Miguel Navarro7469744
Is there an answer for this. I have an LG G3 and the window size is too small. I've use other scanners and the size is perfect.
How can I resize the scanner window for BarCode Scanner?
Posted: Fri Apr 10, 2015 5:49 pm
by Miguel Navarro7469744
There looks like a fix for this on github. Will you guys include it?
How can I resize the scanner window for BarCode Scanner?
Posted: Fri Apr 10, 2015 9:38 pm
by Evgene Karachevtsev
Hello Miguel,
We'll forward this info to our development team, but most likely we'll continue to use the existing scanner in our platform.
How can I resize the scanner window for BarCode Scanner?
Posted: Fri Aug 07, 2015 7:36 pm
by adminStsys
We had no luck scanning the VIN barcode that is located in the car in both iphone and Android. Is there an update coming that is going to get the window size increased for it to read the barcode properly. Any update will help us?
Thx
How can I resize the scanner window for BarCode Scanner?
Posted: Sat Aug 08, 2015 1:36 am
by Miguel Navarro7469744
I noticed after I built it and generated a apk that the scanner window was better. I suggest you try this and see if things improve if you're running it within the tester.
How can I resize the scanner window for BarCode Scanner?
Posted: Sat Aug 08, 2015 3:25 pm
by Miguel Navarro7469744
But one thing I did was actually modify the source in the Barcode scanner for android. You can try playing with CameraManager.java. This is what they suggest even on the forums for this particular issue. The underlying problem is that it doesn't appear to use true DIP (device independant pixel) so the scanner window is way off for high resolution or larger tablets.
private static final int MIN_FRAME_WIDTH = 480;
private static final int MIN_FRAME_HEIGHT = 360;
private static final int MAX_FRAME_WIDTH = 960;
private static final int MAX_FRAME_HEIGHT = 720;