Hi,
I downloaded the B4AZXing library and sample and ran it successfully. Now that I am trying to implement this in my application I am getting the error when I click on the button to bring up the Scanner interface (btnScan):
onActivityResult: wi is null
and the scanner interface never shows up.
I have this code:
Any ideas what I need to do to get this to work?
I downloaded the B4AZXing library and sample and ran it successfully. Now that I am trying to implement this in my application I am getting the error when I click on the button to bring up the Scanner interface (btnScan):
onActivityResult: wi is null
and the scanner interface never shows up.
I have this code:
B4X:
Sub Globals
Dim zx As Zxing_B4A
End Sub
Sub btnScan_Click
zx.BeginScan("zxLoad")
End Sub
Sub zxLoad_result(atype As String,Values As String)
Log("type:"&atype&"values:"&Values)
Msgbox("type:"&atype&"values:"&Values,"result")
End Sub
Any ideas what I need to do to get this to work?