Code example for InputConnection

Methods: finishComposingTextsetComposingText

0
            }) 
            .setPositiveButton("½T»{",new DialogInterface.OnClickListener(){
              public void onClick(DialogInterface dialog, int which)
              { 
                /*±N¿ï¨úªº¤å¦r¨ú¥N¬°Áp·Q¤å¦r*/ 
                conn.setComposingText(tmpS[choiceIndex],1);
                /*±N©³½u¨ú®ø*/ 
                conn.finishComposingText();
              } 
            }) 
            .setNegativeButton("¨ú®ø",new DialogInterface.OnClickListener() {
              public void onClick(DialogInterface dialog, int which)
              { 
                /*¨ú®ø¤å¦rªº¿ï¨ú*/ 
                conn.finishComposingText();
                ed.setSelection(0,0);
              } 
            }) 
            .show();
          } 
Contextual code suggestions in your IDE  Get Codota for Java