title: Using an Int as the database selection Argument
body: <p>I know this will seem like an obvious question, but i've yet to find an answer, so any help would be appreciated. I want to query a SQL database based on an int but all the examples and tutorials that i have found so far only let you query using String [], as the Args, i have tried to modify these to fit my situation but so far have failed. Here's the code i have so far.</p>
  
  <pre><code>    Cursor c = database.rawQuery("select * from subGoals where _id=?", 
              new Integer [] {getIntent().getIntExtra("goal", 999999)} );
  </code></pre>
  
  <p>Many thanks in advance</p>