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