I have an Android (2.x)
app that read call logs from CallLog.Calls.CONTENT_URI
.
Recently I got an error report that get an unexpected value from TYPE
field. I assume in the source code that the values should always be 1, 2, 3 (CallLog.Calls.INCOMING_TYPE, CallLog.Calls.OUTGOING_TYPE, and CallLog.Calls.MISSING_TYPE repectively)
Unfortunately I don't have information about the actual value I got. My problem is, what are the possible values of the TYPE
field beyond the above three? The Android javadoc explicitly stated "The type of the call (incoming, outgoing or missed)"
There are more types outside of the standard Incoming(1), Outgoing(2) and Missed(3). So far I have encountered 4 (VoiceMail), 5 (Rejected) and 6 (Refused List).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With