Guys, I am getting the following Security Exception while trying to Insert/put SMS in Android DataBase ( Inbox ).
ERROR/DatabaseUtils(603): java.lang.SecurityException: Permission Denial: reading com.android.providers.telephony.MmsSmsProvider uri content://mms-sms/threadID?
Any suggestions... :)
After Some Time :-
Yes!!!!!
Hay gusy I got it.

Though I am writing to the database of android, I should also provide read permission.
Below is the code for read permission, should be added in Manifest.xml.
Below is the code to perform insert operation into the Inbox of android phone.
ContentValues values = new ContentValues();
values.put(SMSHelper.ADDRESS, "+919704044004");
values.put(SMSHelper.DATE, "1237080365055");
values.put(SMSHelper.READ, 1);
values.put(SMSHelper.STATUS, -1);
values.put(SMSHelper.TYPE, 2);
values.put(SMSHelper.BODY, "SMS inserting test... Basheer");
Uri inserted = getContentResolver().insert(Uri.parse("content://sms"), values);
Log.d("Inbox","SMS In Inbox...");
Cheers!!!
