在下面的代码段中,我正在尝试阅读通话记录并打印他们的通话类型
Cursor cursor = context.getContentResolver().query(Calls.CONTENT_URI, ...);
while (cursor.moveToNext()) {
int callType = cursor.getInt(cursor.getColumnIndex(Calls.TYPE));
Log.d("callType", callType);
}
在某些情况下,我会得到官方文档中未列出的值。有谁知道这些 callTypes 是什么意思?
呼叫类型10
科米奥:
- COMIO S1
OPPO:
- A37fw
- CPH1609
- CPH1701
- CPH1801
- CPH1803
- CPH1823
- CPH1853
- CPH1859
- CPH1881
- CPH1893
- CPH1909
- CPH1911
- CPH1945
- CPH1969
- CPH1989
- RMX1801
- RMX1807
真我:
- RMX1825
- RMX1827
- RMX1833
- RMX1901
- RMX1911
- RMX1992
小米:
- 红米3S
呼叫类型20
OPPO:
- CPH1609
- CPH1701
- CPH1803
- CPH1853
- CPH1859
- CPH1901
- CPH1909
- RMX1801
- RMX1807
真我:
- RMX1825
- RMX1833
- RMX1901
呼叫类型100
真我:
- RMX1827
- RMX1901
呼叫类型1001
松下:
- 松下 P85 NXT