How to query sqlite database from array in android
<p>I am using the following, where <code>AuthorName</code> column value i want to find on the basis of <code>AuthorID</code>. <code>catid</code> is an array that contains <code>AuthorID</code> </p>

<pre><code>public Cursor Authorname(String[] catid)   {
   myDataBase.rawQuery("SELECT AuthorName FROM AUTHOR_NAME WHERE AuthorID = ?",catid);
}
</code></pre>

<p>but it return <code>IllegalArgumentException</code>. Can anybody help me to short out this. Thanks in advance.</p>
