B4i Library iBarcode library

Status
Not open for further replies.

ToolboxZX

Member
Licensed User
Longtime User
Hi,
Is there any changes necessary to the example to use it with the latest IDE? With an ipad air I am having a similar experience to another user. The applications crashes when it comes to the line: scanner.Initialize("scanner", Panel1). No errors in the log. Thank you.
 

Erel

B4X founder
Staff member
Licensed User
Longtime User


iBarcode v1.21 released. It allows setting the scan window.

It should be done after the scanner is started:
B4X:
Sub Page1_BarButtonClick (Tag As String)
    Select Tag
        Case "Start"
            scanner.Start
            Sleep(100)
            Dim scanrect As Rect
            scanrect.Initialize(50, 10, 250, 210)
            scanner.ScanRect = scanrect
            btnStop.Enabled = True
            btnStart.Enabled = False
        Case "Stop"
            scanner.Stop
            btnStart.Enabled = True
            btnStop.Enabled = False
    End Select
End Sub

 

Attachments

  • Barcode.zip
    2.8 KB · Views: 75

aeric

Expert
Licensed User
Longtime User
Is this mean outside the rectangle, barcode will not be scan? So I can use opaque panels to cover the transparent area.
 

yiankos1

Well-Known Member
Licensed User
Longtime User
Good morning Erel,

Could you please add the last type:
B4X:
AVMetadataObjectTypeAztecCode

Moreover, my IDE still has 1.20 version (just updated to 7.80 beta)

Thank you for your time.
 
Last edited:

imbault

Well-Known Member
Licensed User
Longtime User
Very good library, @Erel , is it possible to get the photo (for example adding a button bellow the panel) of the scan window?

Thanks a lot

Patrick
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…