我问的内容//短信/我不知道是什么的一些字段的含义。他们是 -
I queried "content//sms/" and I don't know what some fields mean. They are -
线程ID 协议 状态 Reply_Path_ present Service_Center我检查他们LogCat中发现的值是这些:
I checked them in LogCat and found the values to be these:
线程ID:1〜6等。 协议:空/ 0 状态:-1 Reply_Path_ present:空/ 0 Service_Center:空请告诉我,这些值的含义。
Please tell me what the meanings of those values are.
您可以使用Cursor.getColumnNames()检索任何内容提供商的列名,如:
You can use Cursor.getColumnNames()
to retrieve the column names of any content provider, e.g.
ContentResolver contentResolver = getContentResolver();
Cursor cursor = contentResolver.query(
Uri.parse("content://sms/inbox"), null, null, null, null);
String[] columnNames = cursor.getColumnNames();
有关内容://短信/收件箱
这会产生_id,thread_id单,地址,人员,日期,协议,阅读,状态,类型,reply_path_ present,主题,正文,service_center,锁定了我的电话。
For content://sms/inbox
this yields _id, thread_id, address, person, date, protocol, read, status, type, reply_path_present, subject, body, service_center, locked on my phone.
您也可以看看的SmsProvider但它不是公共API的一部分。
You can also have a look at the SmsProvider
but it is not part of the public API.