Knowledge Base

View Categories

How to Access Offline Files on Android Using CodeREADr

Overview: Access Offline Contents

With CodeREADr, you can access offline content like PDFs, images, and HTML files stored locally on your device’s SD Card. Using the Webify feature, you can configure the app to open these files instantly, eliminating the need to download them from the internet after every scan. This guide explains how to set up and use this feature.

Why Use This Feature?

  • Offline Accessibility: Users can access critical content without an internet connection.
  • Faster Performance: Loading files from local storage is quicker than fetching them online.
  • Support for Multiple File Types: Open PDFs, images, or HTML content effortlessly.

Step-by-Step Instructions

  1. Step 1: Save Files on the SD Card
    • Ensure the file is stored in the same directory across all devices. For instance:
      • File Path Example: /sdcard/Download/manual.pdf
  2. Step 2: Create the Special URL
    • Use the following format to point to the file’s location:
    • codereadr:browser:file:///sdcard/Download/manual.pdf
  3. Step 3: Add the URL to Webify
    • Insert the special URL into your Webify HTML code. This URL will allow users to access the file during a scan. Examples:
      • To open a PDF:
        • codereadr:browser:file:///sdcard/Download/manual.pdf
      • To open an HTML file:
        • codereadr:browser:file:///sdcard/Download/catfood.html
      • To reference an image file in HTML:
        • images/car.png

Example Configuration

Let’s assume you want users to access a product manual stored locally. Follow these steps:

  1. Save the file (manual.pdf) to /sdcard/Download/ on all devices.
    • Format the URL:
      • codereadr:browser:file:///sdcard/Download/manual.pdf
  2. Add this URL to your Webify settings.
  3. Once set up, scanning a barcode linked to this URL will instantly open the manual on the user’s device.

Limitations and Future Updates

Current Limitation

Files must be manually uploaded to the SD Card on each device. Physical access to the devices is required to load the content.

Planned Feature: Remote File Management

In the future, we aim to offer an auto-download feature. Users will be able to download a ZIP file containing the content when they sign into an authorized service. This feature will simplify content distribution and enable remote updates.

Note: This update is not yet prioritized due to limited demand. If you’re interested, please share your use case with our support team to help us prioritize it.

Need More Help?

For detailed instructions on Webify configuration, check our Webify Setup Guide. If you encounter any issues or have unique requirements, reach out to our support team for assistance.

CodeREADr’s SD Card integration provides a seamless solution for offline content access. Implement it today for a faster, more efficient experience.