1. Home
  2. SureFox
  3. SureFox Android
  4. How to use SureFox Kiosk Browser for Android adds barcode scanning capability?

How to use SureFox Kiosk Browser for Android adds barcode scanning capability?

KB ID: 42G2009786
Views: 669
Updated: June 2021

SureFox is a kiosk browser whose primary feature is to block the end-users from accessing any un-allowed websites. 
A new feature has been implemented in Surefox, that lets the web apps read or scan barcode data from third-party apps such as Zxing. You can install the ZXing Barcode Scanner app for Android from the Google PlayStore. This application actually scans the barcode on behalf of your application.

Here is what you need to do:

1.  Download the HTML Sample Fileon your laptop. Extract the file and copy it to the device.
2. Launch SureFox and access SureFox Settings

3. Tap on Allowed Websites, select file:// option and select the HTML Sample File

4. Tap on Browser Preferences and tap on Advanced Settings

5. Under Advanced Settings, enable Allow All Websites

6. Go back to Browser Preferences and disable Block Intent URLs

7. Go back to SureFox Settings screen and make sure Watchdog Service is disabled under SureFox Pro Settings

8. Tap on Done to complete and return to SureFox Home Screen

9. On SureFox Home Screen, tap on HTML Sample File to launch it

11. Tap on the Scan link to launch Zxing Barcode Scanner

12. Once the barcode is scanned, the result is passed to the parameter URL as shown below:

<title>Barcode Scan Test</title>
<h1>Barcode Scan Test</h1>
<br />
<a href="http://zxing.appspot.com/scan?ret=http://example.com?code={CODE}">Scan</a>

Note: If you want to allow only Zxing Barcode Scanner as allowed application, enable Watchdog Service under SureFox Pro Settings and allow Zxing Barcode Scanner as an Allowed Application.

You can learn more about SureFox here.

Related Articles