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.Sms

extends Object
implements BaseColumns Telephony.TextBasedSmsColumns
java.lang.Object
   ↳ android.provider.Telephony.Sms

Class Overview

Contains all text-based SMS messages.

Summary

Nested Classes
class Telephony.Sms.Conversations Contains all sent text-based SMS messages in the SMS app. 
class Telephony.Sms.Draft Contains all sent text-based SMS messages in the SMS app. 
class Telephony.Sms.Inbox Contains all text-based SMS messages in the SMS app inbox. 
class Telephony.Sms.Intents Contains constants for SMS related Intents that are broadcast. 
class Telephony.Sms.Outbox Contains all pending outgoing text-based SMS messages. 
class Telephony.Sms.Sent Contains all sent text-based SMS messages in the SMS app. 
Constants
String DEFAULT_SORT_ORDER The default sort order for this table.
[Expand]
Inherited Constants
From interface android.provider.BaseColumns
From interface android.provider.Telephony.TextBasedSmsColumns
Fields
public static final Uri CONTENT_URI The content:// style URL for this table.
Public Methods
static String getDefaultSmsPackage ( Context context)
Used to determine the currently configured default SMS package.
[Expand]
Inherited Methods
From class java.lang.Object

Constants

public static final String DEFAULT_SORT_ORDER

The default sort order for this table.

Constant Value: "date DESC"

Fields

public static final Uri CONTENT_URI

The content:// style URL for this table.

Public Methods

public static String getDefaultSmsPackage ( Context context)

Used to determine the currently configured default SMS package.

Parameters
context context of the requesting application
Returns
  • package name for the default SMS package or null