如何判断 某一会话下 的短信/彩信 是发送还是接收
Uri uri = Uri.parse("content://mms-sms/conversations/"+thread_id);String[] projection = new String[] { "body", "person", "sub",
"subject", "retr_st", "type", "date" + " as " + "d", "ct_cls", "sub_cs", "_id", "read", "ct_l", "st", "msg_box", "reply_path_present",
"m_cls", "read_status", "ct_t", "status", "retr_txt_cs",
"d_rpt", "error_code", "m_id", "date_sent", "m_type", "v",
"exp", "pri", "service_center", "address", "rr", "rpt_a",
"resp_txt", "locked", "resp_st", "m_size" };
Cursor c = ctx.getContentResolver().query(uri, projection,
null, null, null);
int type =c.getInt(c.getColumnIndex("type"));//1为接收 2为发送
可是当类型为彩信时 ,type返回的是0 ,不知道怎么判断 是否是接收或者是发送?
补充:移动开发 , Android