Please note that the contents of this offline web site may be out of date. To access the most recent documentation visit the online version .
Note that links that point to online resources are green in color and will open in a new window.
We would love it if you could give us feedback about this material by filling this form (You have to be online to fill it)
Android APIs
public static final class

Telephony.MmsSms

extends Object
implements BaseColumns
java.lang.Object
   ↳ android.provider.Telephony.MmsSms

Class Overview

Contains all MMS and SMS messages.

Summary

Nested Classes
class Telephony.MmsSms.PendingMessages Contains pending messages info. 
Constants
int ERR_TYPE_GENERIC Error type: generic transient error.
int ERR_TYPE_GENERIC_PERMANENT Error type: permanent error (along with all higher error values).
int ERR_TYPE_MMS_PROTO_PERMANENT Error type: MMS protocol permanent error.
int ERR_TYPE_MMS_PROTO_TRANSIENT Error type: MMS protocol transient error.
int ERR_TYPE_SMS_PROTO_PERMANENT Error type: SMS protocol permanent error.
int ERR_TYPE_SMS_PROTO_TRANSIENT Error type: SMS protocol transient error.
int ERR_TYPE_TRANSPORT_FAILURE Error type: transport failure.
int MMS_PROTO MMS protocol type.
int NO_ERROR Error type: no error.
int SMS_PROTO SMS protocol type.
String TYPE_DISCRIMINATOR_COLUMN The column to distinguish SMS and MMS messages in query results.
[Expand]
Inherited Constants
From interface android.provider.BaseColumns
Fields
public static final Uri CONTENT_CONVERSATIONS_URI The content:// style URL for this table, by conversation.
public static final Uri CONTENT_DRAFT_URI The content:// style URL for draft messages in this table.
public static final Uri CONTENT_FILTER_BYPHONE_URI The content:// style URL for this table, by phone number.
public static final Uri CONTENT_LOCKED_URI The content:// style URL for locked messages in this table.
public static final Uri CONTENT_UNDELIVERED_URI The content:// style URL for undelivered messages in this table.
public static final Uri CONTENT_URI The content:// style URL for this table.
public static final Uri SEARCH_URI Pass in a query parameter called "pattern" which is the text to search for.
[Expand]
Inherited Methods
From class java.lang.Object

Constants

public static final int ERR_TYPE_GENERIC

Error type: generic transient error.

Constant Value: 1 (0x00000001)

public static final int ERR_TYPE_GENERIC_PERMANENT

Error type: permanent error (along with all higher error values).

Constant Value: 10 (0x0000000a)

public static final int ERR_TYPE_MMS_PROTO_PERMANENT

Error type: MMS protocol permanent error.

Constant Value: 12 (0x0000000c)

public static final int ERR_TYPE_MMS_PROTO_TRANSIENT

Error type: MMS protocol transient error.

Constant Value: 3 (0x00000003)

public static final int ERR_TYPE_SMS_PROTO_PERMANENT

Error type: SMS protocol permanent error.

Constant Value: 11 (0x0000000b)

public static final int ERR_TYPE_SMS_PROTO_TRANSIENT

Error type: SMS protocol transient error.

Constant Value: 2 (0x00000002)

public static final int ERR_TYPE_TRANSPORT_FAILURE

Error type: transport failure.

Constant Value: 4 (0x00000004)

public static final int MMS_PROTO

MMS protocol type.

Constant Value: 1 (0x00000001)

public static final int NO_ERROR

Error type: no error.

Constant Value: 0 (0x00000000)

public static final int SMS_PROTO

SMS protocol type.

Constant Value: 0 (0x00000000)

public static final String TYPE_DISCRIMINATOR_COLUMN

The column to distinguish SMS and MMS messages in query results.

Constant Value: "transport_type"

Fields

public static final Uri CONTENT_CONVERSATIONS_URI

The content:// style URL for this table, by conversation.

public static final Uri CONTENT_DRAFT_URI

The content:// style URL for draft messages in this table.

public static final Uri CONTENT_FILTER_BYPHONE_URI

The content:// style URL for this table, by phone number.

public static final Uri CONTENT_LOCKED_URI

The content:// style URL for locked messages in this table.

public static final Uri CONTENT_UNDELIVERED_URI

The content:// style URL for undelivered messages in this table.

public static final Uri CONTENT_URI

The content:// style URL for this table.

public static final Uri SEARCH_URI

Pass in a query parameter called "pattern" which is the text to search for. The sort order is fixed to be: thread_id ASC, date DESC .