(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0], j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.data-privacy-src= 'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f); })(window,document,'script','dataLayer','GTM-PF5R8F7');

Knowledge Base

Offline Content

Open SD Card Files (Android OS) with a Scan

With this advanced feature, 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.

Instructions and Examples

  1. Place the file in the same location on all devices. /sdcard/Download/manual.pdf
  2. Format the special URL for viewing the file.codereadr:browser:file:///sdcard/Download/manual.pdf
  3. Include a link to the special URL in your Webify html code.

Response Text Appearance

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

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

”images/car.png”

Note: Using the SD Card currently required you to have the devices in your possession to load the files directly. 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.

This update is not currently prioritized. 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.