i wrote the simple code
ContentResolver contentResolver = this.getContentResolver();
Uri uriSMSURI = Uri.parse("content://sms/");
// HERE I GET THE EXCEPTION
Cursor cur = getContentResolver().query(uriSMSURI, null, null, null, null);
int count = cur.getCount();
I get an exception about Permission Denial in the third line.
How can i get the Permission ? how can i access the messages ?