public final class SmsManager extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
RESULT_ERROR_GENERIC_FAILURE |
static int |
RESULT_ERROR_NO_SERVICE |
static int |
RESULT_ERROR_NULL_PDU |
static int |
RESULT_ERROR_RADIO_OFF |
static int |
STATUS_ON_ICC_FREE |
static int |
STATUS_ON_ICC_READ |
static int |
STATUS_ON_ICC_SENT |
static int |
STATUS_ON_ICC_UNREAD |
static int |
STATUS_ON_ICC_UNSENT |
| Modifier and Type | Method and Description |
|---|---|
ArrayList<String> |
divideMessage(String text) |
static SmsManager |
getDefault() |
void |
sendDataMessage(String destinationAddress,
String scAddress,
short destinationPort,
byte[] data,
PendingIntent sentIntent,
PendingIntent deliveryIntent) |
void |
sendMultipartTextMessage(String destinationAddress,
String scAddress,
ArrayList<String> parts,
ArrayList<PendingIntent> sentIntents,
ArrayList<PendingIntent> deliveryIntents) |
void |
sendTextMessage(String destinationAddress,
String scAddress,
String text,
PendingIntent sentIntent,
PendingIntent deliveryIntent) |
public static final int STATUS_ON_ICC_FREE
public static final int STATUS_ON_ICC_READ
public static final int STATUS_ON_ICC_UNREAD
public static final int STATUS_ON_ICC_SENT
public static final int STATUS_ON_ICC_UNSENT
public static final int RESULT_ERROR_GENERIC_FAILURE
public static final int RESULT_ERROR_RADIO_OFF
public static final int RESULT_ERROR_NULL_PDU
public static final int RESULT_ERROR_NO_SERVICE
public void sendTextMessage(String destinationAddress, String scAddress, String text, PendingIntent sentIntent, PendingIntent deliveryIntent)
public void sendMultipartTextMessage(String destinationAddress, String scAddress, ArrayList<String> parts, ArrayList<PendingIntent> sentIntents, ArrayList<PendingIntent> deliveryIntents)
public void sendDataMessage(String destinationAddress, String scAddress, short destinationPort, byte[] data, PendingIntent sentIntent, PendingIntent deliveryIntent)
public static SmsManager getDefault()
Copyright © 2008-2013. All Rights Reserved.