Android record exists() in database?
<p>I am looking to the fastest and the correct way to check if a record exists in the database:</p>

<pre><code>public boolean Exists(String _id) {
    Cursor c=db.query(TABLENAME(), new String[] {"1"}, "_ID="+_id, null, null, null, null);
    if (!c.equals(null))
        return c.moveToFirst();
    return false;
}
</code></pre>

<p>Do you see any problem with it?</p>
