|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.honeywell.scanintent.ScanIntent
public final class ScanIntent
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 |
---|
public static final java.lang.String SCAN_ACTION
public static final java.lang.String EXTRA_SCAN_MODE
public static final java.lang.String EXTRA_RESULT_BARCODE_DATA
public static final java.lang.String EXTRA_RESULT_BARCODE_FORMAT
public static final int SCAN_MODE_SHOW_NO_RESULT
public static final int SCAN_MODE_SHOW_RESULT_UI
public static final int SCAN_MODE_SHARE_BY_SMS
public static final int SCAN_MODE_SHARE_BY_MMS
public static final int SCAN_MODE_SHARE_BY_EMAIL
public static final int SCAN_MODE_RESULT_AS_URI
public static final int SCAN_RESULT_FAILED
public static final int SCAN_RESULT_SUCCESSED
Constructor Detail |
---|
public ScanIntent()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |