How I can show soft keyboard on canvas and write on it in android

view story

http://stackoverflow.com – I try to write on the canvas by th soft keyboard in android my ask is how can to show soft keyboard and handle event it on the canvas my code is public class DrawView extends View { Paint paint = new Paint(); private static final String LOGID = "MxView"; String message = "No key pressed yet."; DrawView(Context context) { super(context); setFocusable(true); } @Override protected void onDraw(Canvas canvas) { canvas.drawText(message, 5, 20, paint); (HowTos)