Build 1.0_r1(from source)

android.provider
Class Telephony.Sms.Intents

java.lang.Object
  extended by android.provider.Telephony.Sms.Intents
Enclosing class:
Telephony.Sms

public static final class Telephony.Sms.Intents
extends Object

Contains info about SMS related Intents that are broadcast.


Field Summary
static String DATA_SMS_RECEIVED_ACTION
          Broadcast Action: A new data based SMS message has been received by the device.
static String SIM_FULL_ACTION
          Broadcast Action: The SIM storage for SMS messages is full.
static String SMS_RECEIVED_ACTION
          Broadcast Action: A new text based SMS message has been received by the device.
static String WAP_PUSH_RECEIVED_ACTION
          Broadcast Action: A new WAP PUSH message has been received by the device.
 
Constructor Summary
Telephony.Sms.Intents()
           
 
Method Summary
static SmsMessage[] getMessagesFromIntent(Intent intent)
          Read the PDUs out of an SMS_RECEIVED_ACTION or a DATA_SMS_RECEIVED_ACTION intent.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SMS_RECEIVED_ACTION

public static final String SMS_RECEIVED_ACTION
Broadcast Action: A new text based SMS message has been received by the device. The intent will have the following extra values:

The extra values can be extracted using getMessagesFromIntent(Intent)

See Also:
Constant Field Values

DATA_SMS_RECEIVED_ACTION

public static final String DATA_SMS_RECEIVED_ACTION
Broadcast Action: A new data based SMS message has been received by the device. The intent will have the following extra values:

The extra values can be extracted using getMessagesFromIntent(Intent)

See Also:
Constant Field Values

WAP_PUSH_RECEIVED_ACTION

public static final String WAP_PUSH_RECEIVED_ACTION
Broadcast Action: A new WAP PUSH message has been received by the device. The intent will have the following extra values:

See Also:
Constant Field Values

SIM_FULL_ACTION

public static final String SIM_FULL_ACTION
Broadcast Action: The SIM storage for SMS messages is full. If space is not freed, messages targeted for the SIM (class 2) may not be saved.

See Also:
Constant Field Values
Constructor Detail

Telephony.Sms.Intents

public Telephony.Sms.Intents()
Method Detail

getMessagesFromIntent

public static final SmsMessage[] getMessagesFromIntent(Intent intent)
Read the PDUs out of an SMS_RECEIVED_ACTION or a DATA_SMS_RECEIVED_ACTION intent.

Parameters:
intent - the intent to read from
Returns:
an array of SmsMessages for the PDUs

Build 1.0_r1(from source)

Please submit a feedback, bug or feature