Epson TM-T20II-i ePOS-Print XML Users Manual - Page 31

Android, Start Android SDK Manager and install the Android 1.5API3 package.

Page 31 highlights

Chapter 2 Sample Program (XML Print Service) Android Item Description Development environment Eclipse Required item  Android SDK 1.5  Java SE Development Kit 6  ADT (Android Development Tools) Plug-in for Eclipse Sample program file name AndroidProject1.zip Edit the IP address of ePOS-Print supported TM printer to suit the network environment. Source editing  TM-DT:  Wireless LAN: Automatically acquired by DHCP (192.168.192.168 if it cannot be automatically acquired)  Wired LAN: 192.168.192.168  TM-i: Automatically acquired by DHCP 2 (192.168.192.168 if it cannot be automatically acquired)  TM Printer: 192.168.192.168 Environment Setting Procedure 1 Obtain Android SDK and expand it into any folder. 2 Download Java SE Development Kit 6 and install that program. 3 Start Android SDK Manager and install the Android 1.5(API3) package. 4 Start Android AVD Manager and create [Android Virtual Device]. See "Creating Android Virtual Device" on page 32. 5 Install ADT Plug-in in Eclipse. See "Installing ADT Plug-in" on page 32 6 Change the settings of Eclipse. See "Changing the settings of Eclipse" on page 32 7 Configure your computer and ePOS-Print supported TM printer so that they can connect to the network. 8 Uncompress the sample program into any folder. 9 Import the sample program using Eclipse. 31

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146

31
Chapter 2
Sample Program (XML Print Service)
2
Android
Environment Setting Procedure
1
Obtain Android SDK and expand it into any folder.
2
Download Java SE Development Kit 6 and install that program.
3
Start Android SDK Manager and install the Android 1.5(API3) package.
4
Start Android AVD Manager and create [Android Virtual Device].
See "Creating Android Virtual Device" on page 32.
5
Install ADT Plug-in in Eclipse.
See "Installing ADT Plug-in" on page 32
6
Change the settings of Eclipse.
See "Changing the settings of Eclipse" on page 32
7
Configure your computer and ePOS-Print supported TM printer so that they can
connect to the network.
8
Uncompress the sample program into any folder.
9
Import the sample program using Eclipse.
Item
Description
Development environment
Eclipse
Required item
Android SDK 1.5
Java SE Development Kit 6
ADT (Android Development Tools) Plug-in for Eclipse
Sample program file name
AndroidProject1.zip
Source editing
Edit the IP address of ePOS-Print supported TM printer to suit the
network environment.
<Default value>
TM-DT:
Wireless LAN: Automatically acquired by DHCP
(192.168.192.168 if it cannot be automatically acquired)
Wired LAN: 192.168.192.168
TM-i:
Automatically acquired by DHCP
(192.168.192.168 if it cannot be automatically acquired)
TM Printer:
192.168.192.168