8
■
Message Data for the POS Keyboard
.............................................................................
140
<type>onkeypress</type>
................................................................................................................
140
<type>setprefix</type>
.....................................................................................................................
141
<type>onstring</type>
......................................................................................................................
142
<type>setMSRPrefix</type>
..............................................................................................................
143
<type>ondata</type>
......................................................................................................................
144
■
Message Data for the Serial Device
...............................................................................
145
<type>sendcommand</type>
.........................................................................................................
145
<type>oncommandreply</type>
....................................................................................................
146
Device Control Script
................................................................
147
■
Programming
....................................................................................................................
147
Using Device Control Script
...............................................................................................................
147
Configuration of Device Control Script
............................................................................................
148
■
List of Device Control Script API
......................................................................................
150
ClientConnection object
..................................................................................................................
150
DeviceConnection object
................................................................................................................
150
Device Control Script Name object
.................................................................................................
150
■
ClientConnection Object
................................................................................................
151
send
.....................................................................................................................................................
151
■
DeviceConnection Object
..............................................................................................
152
send
.....................................................................................................................................................
152
■
Device Control Script Name Object
..............................................................................
153
onDeviceData event (Input Device That Can Run with a HID Driver)
.........................................
153
onDeviceData event (Serial Communication Device)
.................................................................
153
Any event
............................................................................................................................................
154
Sample Program
........................................................................
155
■
Outline
...............................................................................................................................
155
■
Building Environment for Android
...................................................................................
156
Environment
........................................................................................................................................
156
Flow of environment construction for TM-DT Series
........................................................................
157
Flow of environment construction for TM-i Series
............................................................................
159
Installing Java SE Development Kit
...................................................................................................
161
Setting Up Eclipse
...............................................................................................................................
163
Setting Up Android SDK Manager
....................................................................................................
165
Installing ADT Plugin
............................................................................................................................
170
Importing the Sample Program
........................................................................................................
174
Setting the Barcode Scanner
............................................................................................................
176
■
Building Environment for iOS
...........................................................................................
177
Environment
........................................................................................................................................
177
Flow of environment construction for TM-DT Series
........................................................................
178
Flow of environment construction for TM-i Series
............................................................................
179
Setting the Barcode Scanner
............................................................................................................
180
Setting the Sample Program
.............................................................................................................
181