| java.lang.Object | ||
| android.provider.CallLog.Calls | BaseColumns Contacts.PeopleColumns | |
Contains the recent calls.
| Value | ||||
|---|---|---|---|---|
| Uri | CONTENT_FILTER_URI | The content:// style URL for filtering this table on phone numbers | ||
| String | CONTENT_ITEM_TYPE | The MIME type of a CONTENT_URI sub-directory of a single call. | "vnd.android.cursor.item/calls" | |
| String | CONTENT_TYPE | The MIME type of CONTENT_URI and CONTENT_FILTER_URI providing a directory of calls. | "vnd.android.cursor.dir/calls" | |
| Uri | CONTENT_URI | The content:// style URL for this table | ||
| String | DATE | The date the call occured, in milliseconds since the epoch
Type: INTEGER (long) |
"date" | |
| String | DEFAULT_SORT_ORDER | The default sort order for this table | "date DESC" | |
| String | DURATION | The duration of the call in seconds
Type: INTEGER (long) |
"duration" | |
| int | INCOMING_TYPE | 1 | 0x00000001 | |
| int | MISSED_TYPE | 3 | 0x00000003 | |
| String | NEW | Weather or not the call has been acknowledged
Type: INTEGER (boolean) |
"new" | |
| String | NUMBER | The phone number as the user entered it. | "number" | |
| String | NUMBER_KEY | The normalized phone number
Type: TEXT |
"number_key" | |
| String | NUMBER_TYPE | The type of the phone number
Type: TEXT |
"number_type" | |
| int | OUTGOING_TYPE | 2 | 0x00000002 | |
| String | PERSON_ID | The ID of the person this contact method is assigned to. | "person" | |
| String | TYPE | The type of the the phone number. | "type" | |
Constants inherited
from interface
android.provider.Contacts.PeopleColumns
Constants inherited
from interface
android.provider.BaseColumns
| CallLog.Calls() |
| static | Uri | addCall(Context context, String number, boolean isPrivateNumber, int callType, long start, int duration) | |||
| Adds a call to the call log. | |||||
Methods inherited
from class
java.lang.Object
Type: INTEGER (long)
Type: INTEGER (long)
Type: INTEGER (boolean)
Type: TEXT
Type: TEXT
Type: TEXT
Type: INTEGER (long)
Type: INTEGER (int)
| context | the context used to get the ContentResolver |
|---|---|
| number | the phone number to be added to the calls db |
| isPrivateNumber | true if the call was marked as private by the network |
| callType | enumerated values for "incoming", "outgoing", or "missed" |
| start | time stamp for the call in milliseconds |
| duration | call duration in seconds |