title: Android sqlite - How to manage a Integer value in where clause
body: <p>I've a problem with the query to mananage the sqlite database in android.</p>
  
  <p>this is a sample method : </p>
  
  <pre><code>public Cursor selectID( Integer id){
  // query code for select
  }
  </code></pre>
  
  <p>But all the query method that i see , not allow me to manage an integer parameter, or anything else except a String parameter. 
  Usually i use the rawQuery method:</p>
  
  <p>for example :</p>
  
  <pre><code>db.rawQuery("Select id from dbName where id = ?", new String[] {id});
  </code></pre>
  
  <p>But that, as i said , is not possible with Integer or other parameter ( for example </p>
  
  <pre><code>new Integer[] {id};
  </code></pre>
  
  <p>How i can do to solve my problem?</p>