com.honeywell.scanintent
Class ScanIntent

java.lang.Object
  extended by com.honeywell.scanintent.ScanIntent

public final class ScanIntent
extends java.lang.Object

A sample code for start ScanTool activity:

 Intent intentScan = new Intent(ScanIntent.SCAN_ACTION);
 intentScan.putExtra("scan_mode", ScanIntent.SCAN_MODE_RESULT_AS_URI);
 this.startActivityForResult(intentScan, SCAN_MODE_RESULT_AS_URI);
 


Field Summary
static java.lang.String EXTRA_RESULT_BARCODE_DATA
          Scan intent item name, set scan result data
static java.lang.String EXTRA_RESULT_BARCODE_FORMAT
          Scan intent item name, set scan barcode format
static java.lang.String EXTRA_SCAN_MODE
          Scan intent item name, set scantool start mode.
static java.lang.String SCAN_ACTION
          Intent action to start scantool.
static int SCAN_MODE_RESULT_AS_URI
          Scantool start mode, start scan and load activity by scan result.
static int SCAN_MODE_SHARE_BY_EMAIL
          Scantool start mode, start scan and send content by EMAIL.
static int SCAN_MODE_SHARE_BY_MMS
          Scantool start mode, start scan and send content by MMS.
static int SCAN_MODE_SHARE_BY_SMS
          Scantool start mode, start scan and send content by SMS.
static int SCAN_MODE_SHOW_NO_RESULT
          Scantool start mode, only start scan.
static int SCAN_MODE_SHOW_RESULT_UI
          Scantool start mode, start scan and load a activity to show result.
static int SCAN_RESULT_FAILED
          Scantool activity result.
static int SCAN_RESULT_SUCCESSED
          Scantool activity result.
 
Constructor Summary
ScanIntent()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SCAN_ACTION

public static final java.lang.String SCAN_ACTION
Intent action to start scantool.

See Also:
Constant Field Values

EXTRA_SCAN_MODE

public static final java.lang.String EXTRA_SCAN_MODE
Scan intent item name, set scantool start mode.

See Also:
Constant Field Values

EXTRA_RESULT_BARCODE_DATA

public static final java.lang.String EXTRA_RESULT_BARCODE_DATA
Scan intent item name, set scan result data

See Also:
Constant Field Values

EXTRA_RESULT_BARCODE_FORMAT

public static final java.lang.String EXTRA_RESULT_BARCODE_FORMAT
Scan intent item name, set scan barcode format

See Also:
Constant Field Values

SCAN_MODE_SHOW_NO_RESULT

public static final int SCAN_MODE_SHOW_NO_RESULT
Scantool start mode, only start scan.

See Also:
Constant Field Values

SCAN_MODE_SHOW_RESULT_UI

public static final int SCAN_MODE_SHOW_RESULT_UI
Scantool start mode, start scan and load a activity to show result.

See Also:
Constant Field Values

SCAN_MODE_SHARE_BY_SMS

public static final int SCAN_MODE_SHARE_BY_SMS
Scantool start mode, start scan and send content by SMS.

See Also:
Constant Field Values

SCAN_MODE_SHARE_BY_MMS

public static final int SCAN_MODE_SHARE_BY_MMS
Scantool start mode, start scan and send content by MMS.

See Also:
Constant Field Values

SCAN_MODE_SHARE_BY_EMAIL

public static final int SCAN_MODE_SHARE_BY_EMAIL
Scantool start mode, start scan and send content by EMAIL.

See Also:
Constant Field Values

SCAN_MODE_RESULT_AS_URI

public static final int SCAN_MODE_RESULT_AS_URI
Scantool start mode, start scan and load activity by scan result.

See Also:
Constant Field Values

SCAN_RESULT_FAILED

public static final int SCAN_RESULT_FAILED
Scantool activity result.

See Also:
Constant Field Values

SCAN_RESULT_SUCCESSED

public static final int SCAN_RESULT_SUCCESSED
Scantool activity result.

See Also:
Constant Field Values
Constructor Detail

ScanIntent

public ScanIntent()