title: Android Database Multiple Selection
body: <p>I have this problem in getting my cursor return my query with a selection String.
  Below is the sample structure of the cursor :</p>
  
  <pre><code>String T_NAME = "tableName";
  String T_ID = "idTable";
  String C_FIRST = "first";
  String C_SECOND = "second";
  
  Cursor cursor = database.query(T_NAME, null, C_FIRST + " = ? AND " + C_SECOND + " = ?", new String[] { String.valueOf(firstArr), String.valueOf(secondArr) } , null, null, T_ID);
  </code></pre>
  
  <p>When I check the cursor.getCount() it return 0 but when check the table using SQLite Database Browser and with the SQL command below it return the proper data.</p>
  
  <pre><code>SELECT * FROM tableName WHERE first = 0 AND second = 0
  </code></pre>
  
  <p>What could be the cause of error and how can I resolve it?</p>
  
  <p>Thanks in advance.</p>