title: how to hide the virtual keyboard
body: <p>I don't want to show the virtual keyboard.</p>
  
  <p>I tried the below method but it doesn't make any difference.</p>
  
  <pre><code>InputMethodManager imm =     InputMethodManager)getSystemService(Context.INPUT_METHOD_SERVICE);
  imm.hideSoftInputFromWindow(enter_count.getWindowToken(), 0);
  </code></pre>
  
  <p>enter_count is my edit text
  I have tried reading up on the InputMethod Manager but can't follow it. </p>
  
  <p>I can set the input type of my edit text called enter_count as follows</p>
  
  <pre><code>enter_count.setInputType( InputType.TYPE_NULL );
  </code></pre>
  
  <p>but then I can't specify to only accept numeric input</p>
  
  <p>Can you please give me a reasonable solution to simply not show the virtual keyboard without losing the ability to only accept numeric input on the physical keyboard.</p>