Android Question Barcode Reader Rectangle position and offset

Discussion in 'Android Questions' started by walterf25, Aug 30, 2019.

  1. walterf25

    walterf25 Well-Known Member Licensed User

    Hi All, I just came across this thread while searching for a good Barcode Reader which can read very small barcode stickers, i found Erel's example using the CameraEx class which seems to work very good for my purpose, however i switched the orientation from landscape to portrait, i also included @Erel's suggestion here to account for that change, however the rectangle seems to be offset as you guys can see in the image below the rectangle appears to the right side of the Barcode label, does anyone know how to fix this, i know i can manipulate it by adding some dip to each side of the rectangle but will this be enough for it to work on every phone?

    I also changed the panel's size and am using a preview size of 640x480, my plan is to only show a small window for the preview, i don't want to use the whole screen for preview.

    Screenshot_20190830-100745.jpg

    Any ideas, thanks everyone in advanced.

    Walter
     
  2. Erel

    Erel Administrator Staff Member Licensed User

    Try the updated example.
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice