Android Question [B4XPages] Barcode Reader - internet required?

Mark Stuart

Active Member
Licensed User
Longtime User
With Erel's BARCODE READER app using the Camera library, I see it has this reference:
#AdditionalJar: com.google.android.gmslay-services-vision

And in the B4XMainPage - CreateDetector function it references what looks like more internet references:

B4X:
builder.InitializeNewInstance("com/google/android/gms/vision/barcode/BarcodeDetector.Builder".Replace("/", "."), Array(ctxt))
Dim barcodeClass As String = "com/google/android/gms/vision/barcode/Barcode".Replace("/", ".")

So I'm wondering if the code is requiring an internet connection while being used?
The "List Permissions" button lists: android.permission.INTERNET

My app solution will not have internet connection while being used to scan barcodes.

Appreciate a response.

Regards,
Mark Stuart
 

Johan Schoeman

Expert
Licensed User
Longtime User
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…