Skip to content
Titanium SDK

ti.barcode

QR and Barcode Scanner

2.3.4AndroidAug 7, 2014android-2.3.4Not the current release →

Install

A module is a zip you unpack in your project. There is no installer command yet - a ti module install is planned but does not exist today, so the steps below are the ones that work.

  1. 1. Download the release archive

  2. 2. Unpack it at your project root

    cd /path/to/your-project
    unzip ~/Downloads/ti.barcode-android-2.3.4.zip

    The archive already contains the full path, so it lands in place:

    • modules/android/ti.barcode/2.3.4/
  3. 3. Add it to tiapp.xml

    <modules>
      <module platform="android" version="2.3.4">ti.barcode</module>
    </modules>

    The platform attribute is the packager’s name for the platform, which is iphone for iOS - the same word the archive uses in its own path.

  4. 4. Require it from your app

    const mod = require('ti.barcode');

Manifest

Android 2.3.4

Minimum SDK
2.1.3.GA
Module API version
2
GUID
fe2e658e-0eaf-44a6-b6d1-c074d6b986a3
Author
Stephen Tramer & Jeff English
License
Apache License, Version 2.0
Copyright
Copyright (c) 2010-2013 by Appcelerator, Inc.

API reference

This release was published without compiled API documentation - most were. The module’s current reference covers the same API, though it describes a later version.