mEditText01.setOnKeyListener(new EditText.OnKeyListener() { @Override public boolean onKey(View arg0, int arg1, KeyEvent arg2) { // TODO Auto-generated method stub mTextView01.setText(mEditText01.getText()); /* 判断输入的类型是何种,并与系统链接 */ Linkify.addLinks(mTextView01, Linkify.WEB_URLS | Linkify.EMAIL_ADDRESSES | Linkify.PHONE_NUMBERS); return false; } });