title: How to search a String value in Sqlite?
body: <p>I am working on a project and I have little understanding in sqlite. I am working on android application for searching a name from sqlite local database.
  I want to grap a text (name) from the editText box and then do query in sqlite.
  I found out how to grap a text from the editText box -</p>
  
  <pre><code>EditText txtname = (EditText)findViewById(R.id.name);
  String name      =  txtname.getText().toString();
  </code></pre>
  
  <p>From my research, I found this is how you do query in sqlite -</p>
  
  <pre><code>SELECT * FROM Customers
  WHERE City LIKE '%XXXX%';
  </code></pre>
  
  <p>Since, I don't know what user will search in the editText box. </p>
  
  <p>How can I do query that user entered in the editText box to the sqlite database.</p>
  
  <p>Thanks</p>