How to override Android keyboard
<p>How we can override the Android keyboard in all activities on Android? </p>

<p>I am using it like this </p>

<pre><code>@Override
    public boolean onKey(DialogInterface dialog, int keyCode, KeyEvent event) {
        // TODO Auto-generated method stub
        if (event.getKeyCode() == KeyEvent.KEYCODE_ENTER)
        {
             customizeDialog = mObj.new CustomizeDialog(con);
             customizeDialog.show();
        }           
        return false;
    }
</code></pre>
