mms-sms / conversations在Htc资源管理器中返回无效计数

时间:2013-04-25 06:53:47

标签: android mms

代码在samsung ace,sony ericson x10等其他设备上运行得非常好,但在HTC explorer中,会话计数返回错误计数。感谢您的关注,我的代码如下所述: -

final String[] projection = new String[] { "*" };
Uri uri = Uri.parse("content://mms-sms/conversations/"); // ?simple=true
            Cursor cursorCoversation = mContext.getContentResolver().query(uri,
                    projection, null, null, null);
cursorCoversation.getCount()

0 个答案:

没有答案
相关问题