Page 254 - 완) I MDP 프로젝트 작품 보고서(전체과 1학년)1.6
P. 254
final String text = msg;
handler.post(new Runnable() {
@Override
public void run() {
textView.append(text + "\n");
}
});
}
public void clickgo(View view) {
ConnectThreadgo connectThreadgo = new ConnectThreadgo();
connectThreadgo.start();
}
public void clickstop(View view) {
ConnectThreadstop connectThreadstop = new ConnectThreadstop();
connectThreadstop.start();
}
public void clickback(View view) {
ConnectThreadback connectThreadback = new ConnectThreadback();
connectThreadback.start();
}
public void clickconnect(View view) {
ConnectThread connectThread = new ConnectThread();
connectThread.start();
}
public void clickleft(View view) {
ConnectThreadleft connectThreadleft = new ConnectThreadleft();
connectThreadleft.start();
}
public void clickright(View view) {
ConnectThreadright connectThreadright = new ConnectThreadright();
- 247 -