Article sections

    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”

    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.

    in Databases