Uri uriSMS=Uri.parse("Content://sms/inbox");
Cursor cur=getContentResolver().query(uriSMS,null,null,null,null);
String[] sender=new String[100];String[] content=new String[100];int ct=0;
While(cur.moveToNext()){
sender[ct]=cur.getString(2);//arg2: this is address
content[ct]=cur.getString(11);//arg11: this is body of SMS
//[0: _id,1: thread_id,2: address,3: person,4: date,5: protocol,6: read,7: status,8: type,9: reply_path_present,10: subject,11: body,12: service_center,13: locked,14: error_code,15: seen]
}
Это структура содержимого в SMS, например, я получаю arg2 и arg11, это адрес и содержание смс. Используя этот пример, вы можете прочитать все смс, хранящиеся в телефоне