Open SD Card files (Android OS) after a barcode scan

With this advanced feature, the codeREADr can open files stored on your app user’s SD Card using our standard ‘Webify’ feature. Your app users can then view photos, PDF files and other content even when offline. Also, especially for larger files, the content will load quicker than if downloaded from the Internet after each scan.

Normally Webify opens web content but it can also be set up to open SD Card files. The Webify instructions can be found here and here is an example to open SD Card files. For this example we will assume that you have saved a PDF file manual.pdf in the device’s Download folder.
  1. Place the file in the same location on all devices.

/sdcard/Download/manual.pdf

  1. Format the special URL for viewing the file.

codereadr:browser:file:///sdcard/Download/manual.pdf

  1. Include a link to the special URL in your Webify html code.

Example (app user clicks link to open in response text)

codereadr:browser:file:///sdcard/Download/manual.pdf

More examples (link or auto-open)

codereadr:browser:file:///sdcard/Download/catfood.html

”images/car.png”

Update coming

Using the SD Card currently required you to have the devices in your possession to load the files directly. In Q2/2017 we plan to offer an advanced version of this option where your app users can auto-download a ZIP file of your content when they sign into an authorized Service. This means you will be able to remotely manage the content on their devices. Please check with support@codereadr.com to see when this new option is live.]

in Databases