Deodorant King
Posts: 0
Joined: Fri Aug 30, 2013 5:48 pm

How can I resize the scanner window for BarCode Scanner?

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?

Anton Artyukh5836028
Posts: 0
Joined: Wed May 08, 2013 12:57 pm

How can I resize the scanner window for BarCode Scanner?

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.

Cio BB
Posts: 0
Joined: Fri Feb 08, 2013 7:56 am

How can I resize the scanner window for BarCode Scanner?

May I know what file I need to modify? Could I have the filename?

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

How can I resize the scanner window for BarCode Scanner?

Hi,

Sorry, we can't say for sure. You would need to try to find it yourself or search for a solution online.

Miguel Navarro7469744
Posts: 0
Joined: Mon Apr 06, 2015 4:55 pm

How can I resize the scanner window for BarCode Scanner?

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.

Miguel Navarro7469744
Posts: 0
Joined: Mon Apr 06, 2015 4:55 pm

How can I resize the scanner window for BarCode Scanner?

There looks like a fix for this on github. Will you guys include it?

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

How can I resize the scanner window for BarCode Scanner?

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.

adminStsys
Posts: 0
Joined: Wed Jul 29, 2015 9:22 pm

How can I resize the scanner window for BarCode Scanner?

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

Miguel Navarro7469744
Posts: 0
Joined: Mon Apr 06, 2015 4:55 pm

How can I resize the scanner window for BarCode Scanner?

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.

Miguel Navarro7469744
Posts: 0
Joined: Mon Apr 06, 2015 4:55 pm

How can I resize the scanner window for BarCode Scanner?

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;

Return to “Issues”