Chapter 2: Android Programming
Introduction 2-1
MC36 Android SDK Add-on
.................................................................................................................................................2-1
.............................................................................................................................2-1
How to use in Eclipse ...................................................................................................................................2-3
..............................................................................................................................................................
Scanning API ...............................................................................................................................................2-4
com.symbol.scanning.Scanner .....................................................................................................................2-4
com.symbol.scanning.Scanner.ScannerVersion ............................................................................................2-6
com.symbol.scanning.BarcodeManager .......................................................................................................2-6
com.symbol.scanning.ScannerException .....................................................................................................2-7
com.symbol.scanning.Scanner.DataListener ...............................................................................................2-7
com.symbol.scanning.Scanner.StatusListener .............................................................................................2-8
com.symbol.scanning.StatusData ................................................................................................................2-8
com.symbol.scanning.ScanDataCollection ..................................................................................................2-9
com.symbol.scanning.ScanDataCollection.ScanData .................................................................................2-9
com.symbol.scanning.ScannerConfig ........................................................................................................2-10
com.symbol.scanning.ScannerConfig.DecoderParams ..............................................................................2-11
com.symbol.scanning.ScannerConfig.ReaderParams ................................................................................2-27
com.symbol.scanning.ScannerConfig.ReaderParams.ReaderSpecific ........................................................2-27
com.symbol.scanning.ScannerConfig.ReaderParams.ReaderSpecific.ImagerSpecific ...............................2-27
com.symbol.scanning.ScannerConfig.ReaderParams.ReaderSpecific.LaserSpecific ..................................2-28
com.symbol.scanning.ScannerConfig.ScanParams ....................................................................................2-28
com.symbol.scanning.Scanner.ScannerInfo ...............................................................................................2-29
com.symbol.scanning.ProfileManager .......................................................................................................2-30
com.symbol.scanning.ProfileConfig ..........................................................................................................2-30
com.symbol.scanning.ProfileConfig.ActivitySelection ..............................................................................2-32
............................................................................................................................................................
..................................................................................................................................2-1
Prerequisites
SDK Add-on Installation
MC36 APIs 2-4
UK Postal .....................................................................................................................................................1-8
HAN XIN ...................................................................................................................................................1-8
UPC/EAN Params ..................................................................................................................................................1-9
Reader Params .......................................................................................................................................................1-10
Scan Params ..........................................................................................................................................................1-12
Plug-In functions ..................................................................................................................................................1-14
Basic Data Format ......................................................................................................................................1-14
Intent Output .............................................................................................................................................1-14
Keystroke Output .......................................................................................................................................1-15
Configuration Management .................................................................................................................................1-17
Import .......................................................................................................................................................1-17
Export ........................................................................................................................................................1-18
Restore .......................................................................................................................................................1-19
About .........................................................................................................................................................1-19
Configuration File Management ...............................................................................................................1-20
Enterprise Folder .......................................................................................................................................1-20
Auto Import ...............................................................................................................................................1-20
Table of Contents | vii