# Print output for @column tags ?>
  public
  static
  final
  
  class
  Telephony.Sms
  
    extends Object
  
  
  
  
  
      implements
      
        BaseColumns, 
      
        Telephony.TextBasedSmsColumns
      
  
  
| java.lang.Object | |
| ↳ | android.provider.Telephony.Sms | 
Contains all text-based SMS messages.
| Nested classes | |
|---|---|
| 
        
        
        
        
        class | Telephony.Sms.ConversationsContains a view of SMS conversations (also referred to as threads). | 
| 
        
        
        
        
        class | Telephony.Sms.DraftContains all draft text-based SMS messages in the SMS app. | 
| 
        
        
        
        
        class | Telephony.Sms.InboxContains all text-based SMS messages in the SMS app inbox. | 
| 
        
        
        
        
        class | Telephony.Sms.IntentsContains constants for SMS related Intents that are broadcast. | 
| 
        
        
        
        
        class | Telephony.Sms.OutboxContains all pending outgoing text-based SMS messages. | 
| 
        
        
        
        
        class | Telephony.Sms.SentContains all sent text-based SMS messages in the SMS app. | 
| Constants | |
|---|---|
| String | DEFAULT_SORT_ORDERThe default sort order for this table. | 
| Inherited constants | 
|---|
| Fields | |
|---|---|
| 
    public
    static
    final
    Uri | CONTENT_URIThe  | 
| Public methods | |
|---|---|
| 
        
        
        static
        
        
        String | 
      getDefaultSmsPackage(Context context)
      Used to determine the currently configured default SMS package. | 
| Inherited methods | |
|---|---|
public static final String DEFAULT_SORT_ORDER
The default sort order for this table.
Constant Value: "date DESC"
public static String getDefaultSmsPackage (Context context)
Used to determine the currently configured default SMS package.
 As of Android 11 apps will need specific permission to query other packages. To use
 this method an app must include in their AndroidManifest:
 Telephony.Sms.Intents.SMS_DELIVER_ACTION intent.
 
| Parameters | |
|---|---|
| context | Context: context of the requesting application | 
| Returns | |
|---|---|
| String | package name for the default SMS package or null |