Sqlite query not working when running on android device
<p>I am using few update queries to update my tables(Sqlite). They are working very well on my emulator. But, when I installed on my phone, they dont return sucess. At the same time,it does not throw any errors also. 
This is my code:</p>

<pre><code>               ContentValues msg_values = new ContentValues();
    msg_values.put("folder_id", 1);
    int i=getContentResolver().update(MBContants.CONTENT_URI_SMS, msg_values,
            "address=" + msg.getAddress(), null);
    if(i&gt;0)
    System.out.println("done..!");

    else
        Log.i("--------------------------------------------","not done");   
</code></pre>

<p>Where, I've created my db and the URI to my table is MBContants.CONTENT_URI_SMS, where MBContants class holds all the URI's.</p>

<p>Please help solve this issue.
Thanks,
Viashnavi</p>
