如何区分Android中收到的彩信?

时间:2013-03-13 10:03:02

标签: android

任何人都可以帮我解决如何区分Android中收到的彩信吗?因为我在Android中收到MMS的总数是错误的?我使用以下代码来计算。

   Uri mmsInboxUri = Uri.parse("content://mms");                
   Cursor mmsInboxCursor = getContentResolver().query(mmsInboxUri ,new String[]
   {"_id","msg_box","ct_t"}, "msg_box=1 or msg_box=2", null, null);
   int count = mmsInboxCursor.getCount(); 

0 个答案:

没有答案