comparison src/com/five_ten_sg/connectbot/service/TerminalBridge.java @ 59:228273d69ca4 tn5250

start tn5250 integration
author Carl Byington <carl@five-ten-sg.com>
date Wed, 11 Jun 2014 15:32:53 -0700
parents 79aaf30947e2
children 9a6335a203b2
comparison
equal deleted inserted replaced
58:79aaf30947e2 59:228273d69ca4
1143 buffer.keyPressed(vt320.KEY_INSERT, ' ', 0); 1143 buffer.keyPressed(vt320.KEY_INSERT, ' ', 0);
1144 else if (result.equals("D")) 1144 else if (result.equals("D"))
1145 buffer.keyPressed(vt320.KEY_DELETE, ' ', 0); 1145 buffer.keyPressed(vt320.KEY_DELETE, ' ', 0);
1146 else if (result.equals("E")) 1146 else if (result.equals("E"))
1147 buffer.keyPressed(vt320.KEY_ENTER, ' ', 0); 1147 buffer.keyPressed(vt320.KEY_ENTER, ' ', 0);
1148 }
1149 } 1148 }
1150 @Override 1149 @Override
1151 public void onItemClick(AdapterView p, View v, int pos, long id) { 1150 public void onItemClick(AdapterView p, View v, int pos, long id) {
1152 final String result = String.valueOf(pickerString.charAt(pos)); 1151 final String result = String.valueOf(pickerString.charAt(pos));
1153 buttonPressed(result); 1152 buttonPressed(result);