Code example for InputConnection

Methods: finishComposingText

0
            }) 
            .setNegativeButton("¨ú®ø",new DialogInterface.OnClickListener() {
              public void onClick(DialogInterface dialog, int which)
              { 
                /*¨ú®ø¤å¦rªº¿ï¨ú*/ 
                conn.finishComposingText();
                ed.setSelection(0,0);
              } 
            }) 
            .show();
          } 
        } 
        else 
        { 
          Toast.makeText(EX04_32.this,"±z¥¼¿ï¨ú¤å¦r!",Toast.LENGTH_LONG).show();
        } 
      } 
    }); 
  } 
}