当我点击屏幕时,大约需要1分钟回复我。 为什么花费太多时间
public boolean onTouchEvent(MotionEvent event) {
int action = event.getAction();
switch (action) {
case MotionEvent.ACTION_DOWN:{
addDelay("your current location is.... you are in FYP lab");
addDelay("please tell me where you want to go");
getInput();
}
case MotionEvent.ACTION_MOVE:
break;
case MotionEvent.ACTION_UP:
break;
}
return false;
}