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. Then, users can view photos, PDF files, and other content even offline. Also, the content will load quicker than as if you downloaded from the internet after each scan.
Normally, the “Webify” feature opens web content. However, you can also set it up to open files locally on an SD Card. You can find the Webify instructions here. Also, 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.
- Place the file in the same location on all devices. /sdcard/Download/manual.pdf
- Format the special URL for viewing the file.codereadr:browser:file:///sdcard/Download/manual.pdf
- 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)
Using the SD Card currently required you to have the devices in your possession to load the files directly. In Q4/2018 we tentatively 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 email@example.com to see when this new option is live.
NOTE: This update will be delayed. There has not been enough demand yet to justify adding this auto-download update. Please let our support team know about your use case if you are interested.